[Building Sakai] Sakai Build

Julien Iguchi-Cartigny julien.cartigny at unilim.fr
Wed Sep 15 09:26:55 PDT 2010


Hello,

Check your JAVA_HOME variable, must be set to your java directory

http://wso2.org/project/wsas/java/2.0-beta/docs/setting-java-home.html

Julien.

On 09/15/2010 06:21 PM, Satheesh Puthanpurayil wrote:
> Hello,
> 
> I am new to sakai and setting up a development environment as described in
> http://confluence.sakaiproject.org/display/BOOT/Development+Environment+Setup+Walkthrough
> 
> Trying to setup Sakai 2.7 on Windows Vista and MYSQL.
> 
> Am using the following command to build the application:
> 
> mvn -Dmaven.tomcat.home=c:\opt\tomcat -Dmaven.test.skip=true clean install
> sakai:deploy
> 
> While buiding the application I am getting the following error. Appreciate
> if somebody can help me to resolve this problem. .
> 
> 
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   Sakai Master
> [INFO]   Sakai cafe build Project
> [INFO]   Sakai Kernel Deploy
> [INFO]   Sakai Emailtemplateservice Base POM (emailtemplateservice)
> [INFO]   Sakai Emailtemplateservice API (emailtemplateservice-api)
> [INFO]   Sakai Emailtemplateservice Implementation
> (emailtemplateservice-impl)
> [INFO]   Sakai Emailtemplateservice Components Package
> (emailtemplateservice-pack)
> [INFO]   Sakai Emailtemplateservice Tool (emailtemplateservice-tool)
> [INFO]   Sakai emailtemplate Assembly (emailtemplateservice-assembly)
> [INFO]   Sakai JSF Base POM (jsf)
> [INFO]   Sakai JSF widgets resources (jsf-resource)
> [INFO]   Sakai JSF Assembly (jsf-assembly)
> [INFO]   Sakai Job Scheduler Project (base pom)
> [INFO]   Sakai Job Scheduler API (scheduler-api)
> [INFO]   Sakai Job Scheduler Events Model
> [INFO]   Sakai Job Scheduler Component (scheduler-component-shared)
> [INFO]   Sakai Job Scheduler Component (scheduler-component)
> [INFO]   Sakai JSF Tool Servlet (jsf-tool)
> [INFO]   Sakai JSF Extensions (jsf-app)
> [INFO]   Sakai JSF Widgets - Sun RI (jsf-widgets-sun)
> [INFO]   Sakai JSF Widgets - MyFaces RI (jsf-widgets-myfaces)
> [INFO]   Sakai JSF Widgets (jsf-widgets)
> [INFO]   Sakai JSF widget dependencies for Sun's RI
>         (sakai-depend-jsf-widgets-sun)
> [INFO]   Sakai Job Scheduler Tool (scheduler-tool)
> [INFO]   Sakai Job Scheduler Assembly (scheduler-assembly)
> [INFO]   Sakai Core Deploy
> [INFO]   sakai-famework-shared-deploy
> [INFO]   Sakai Velocity Project
> [INFO]   sakai-velocity-tool-api
> [INFO]   Sakai Courier Project
> [INFO]   sakai-courier-api
> [INFO]   sakai-velocity-tool
> [INFO]   Sakai Access Project
> [INFO]   sakai-access-impl
> [INFO]   access
> [INFO]   web
> [INFO]   Sakai Alias Project
> [INFO]   sakai-alias-tool
> [INFO]   Sakai Message Project
> [INFO]   sakai-message-api
> [INFO]   Sakai Announcements Project
> [INFO]   sakai-announcement-api
> [INFO]   sakai-message-impl
> [INFO]   sakai-announcement-impl
> [INFO]   sakai-announcement-pack
> [INFO]   Sakai AuthZ Project
> [INFO]   sakai-authz-tool
> [INFO]   Sakai Config Project
> [INFO]   configuration-bundles
> [INFO]   localization-bundles
> [INFO]   localization-pack
> [INFO]   Sakai Content Project
> [INFO]   Sakai Content Help
> [INFO]   content-bundle
> [INFO]   content-tool
> [INFO]   content-types
> [INFO]   Sakai Content Types Component Package
> [INFO]   sakai-courier-impl
> [INFO]   sakai-courier-pack
> [INFO]   Sakai Presence Project
> [INFO]   sakai-presence-api
> [INFO]   courier
> [INFO]   sakai-courier-util
> [INFO]   Sakai Help Project
> [INFO]   sakai-help-content
> [INFO]   sakai-help-api
> [INFO]   sakai-comp-shared-help
> [INFO]   sakai-comp-help
> [INFO]   Sakai JSF Tool using Sun's RI (jsf-sun-ri-tool)
> [INFO]   sakai-help-tool
> [INFO]   Sakai JSF Spreadsheet Support (jsf-spreadsheet)
> [INFO]   Sakai JSF Widgets Dependencies for MyFaces
>         (sakai-depend-jsf-widgets-myfaces)
> [INFO]   Sakai JSF Tool Using Sun's RI (jsf-myfaces-tool)
> [INFO]   Sakai Login Project
> [INFO]   sakai-login-api
> [INFO]   authn
> [INFO]   sakai-login-impl
> [INFO]   login-pack
> [INFO]   login-render-engine-impl
> [INFO]   login-render
> [INFO]   sakai-login-tool
> [INFO]   sakai-message-tool
> [INFO]   Sakai Memory Project
> [INFO]   sakai-memory-tool
> [INFO]   Sakai
> [INFO]   sakai-portal-api
> [INFO]   sakai-portal-util
> [INFO]   sakai-portal-render-api
> [INFO]   sakai-portal-impl
> [INFO]   Sakai Portal Webapp
> [INFO]   sakai-portal-impl
> [INFO]   sakai-portal-render-pack
> [INFO]   sakai-portal-render-engine-impl
> [INFO]   portal-render
> [INFO]   sakai-portal-service-impl
> [INFO]   sakai-portal-service-pack
> [INFO]   tool
> [INFO]   Portal Shared deployment descriptor
> [INFO]   Sakai Library Project
> [INFO]   Sakai Library
> [INFO]   Sakai Mock (sakai-mock)
> [INFO]   Sakai Site Project
> [INFO]   Sakai Sites Help
> [INFO]   sakai-site-tool
> [INFO]   sakai-mergedlist-util
> [INFO]   Sakai Site Manage Project
> [INFO]   sakai-site-manage-api
> [INFO]   Sakai Site Info Help
> [INFO]   site-manage-hbm
> [INFO]   site-manage-util
> [INFO]   sakai-site-manage-impl
> [INFO]   sakai-site-manage-pack
> [INFO]   sakai-site-manage-tool
> [INFO]   site-pageorder-helper
> [INFO]   site-manage-group-helper
> [INFO]   site-manage-group-section-role-helper
> [INFO]   sakai-site-manage-group-section-role-helper-pack
> [INFO]   sakai-site-manage-participant-helper
> [INFO]   site-manage-link-helper
> [INFO]   Sakai Site Association API
> [INFO]   Sakai Site Association Hibernate Artifacts
> [INFO]   Sakai Site Association API Implementation
> [INFO]   Sakai Site Association Component
> [INFO]   Sakai Site Association Util
> [INFO]   Sakai Site Assication Tool
> [INFO]   Sakai Tool Project
> [INFO]   sakai-tool-tool-su
> [INFO]   Sakai User Project
> [INFO]   sakai-user-tool
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Sakai Master
> [INFO]    task-segment: [clean, install, sakai:deploy]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing C:\opt\sakaisource\master\pom.xml to
> C:\Users\Administrator\.m2\repository\org\sakaiproject\master\2.8-SNAPSHOT\master-2.8-SNAPSHOT.pom
> [INFO] [sakai:deploy {execution: default-cli}]
> [INFO] No deployment specification -- skipping
> org.sakaiproject:master:pom:2.8-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Sakai cafe build Project
> [INFO]    task-segment: [clean, install, sakai:deploy]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing C:\opt\sakaisource\pom.xml to
> C:\Users\Administrator\.m2\repository\org\sakaiproject\base\2.8-SNAPSHOT\base-2.8-SNAPSHOT.pom
> [INFO] [sakai:deploy {execution: default-cli}]
> [INFO] No deployment specification -- skipping
> org.sakaiproject:base:pom:2.8-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Sakai Kernel Deploy
> [INFO]    task-segment: [clean, install, sakai:deploy]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing C:\opt\sakaisource\kernel-deploy\pom.xml to
> C:\Users\Administrator\.m2\repository\org\sakaiproject\kernel-deploy\2.8-SNAPSHOT\kernel-deploy-2.8-SNAPSHOT.pom
> Downloading:
> http://source.sakaiproject.org/maven2/jdbc/jdbc2_0-stdext/h2.1.8/jdbc2_0-stdext-h2.1.8.pom
> [INFO] Unable to find resource 'jdbc:jdbc2_0-stdext:pom:h2.1.8' in
> repository sakai-maven (http://source.sakaiproject.org/maven2)
> Downloading:
> http://source.sakaiproject.org/maven2-snapshots/jdbc/jdbc2_0-stdext/h2.1.8/jdbc2_0-stdext-h2.1.8.pom
> [INFO] Unable to find resource 'jdbc:jdbc2_0-stdext:pom:h2.1.8' in
> repository sakai-maven2-snapshots (
> http://source.sakaiproject.org/maven2-snapshots)
> Downloading:
> http://repo1.maven.org/maven2/jdbc/jdbc2_0-stdext/h2.1.8/jdbc2_0-stdext-h2.1.8.pom
> [INFO] Unable to find resource 'jdbc:jdbc2_0-stdext:pom:h2.1.8' in
> repository default (http://repo1.maven.org/maven2)
> Downloading:
> http://repo1.maven.org/maven2/jdbc/jdbc2_0-stdext/h2.1.8/jdbc2_0-stdext-h2.1.8.pom
> [INFO] Unable to find resource 'jdbc:jdbc2_0-stdext:pom:h2.1.8' in
> repository central (http://repo1.maven.org/maven2)
> Downloading:
> http://source.sakaiproject.org/maven2/jta/jta/h2.1.8/jta-h2.1.8.pom
> [INFO] Unable to find resource 'jta:jta:pom:h2.1.8' in repository
> sakai-maven (http://source.sakaiproject.org/maven2)
> Downloading:
> http://source.sakaiproject.org/maven2-snapshots/jta/jta/h2.1.8/jta-h2.1.8.pom
> [INFO] Unable to find resource 'jta:jta:pom:h2.1.8' in repository
> sakai-maven2-snapshots (http://source.sakaiproject.org/maven2-snapshots)
> Downloading: http://repo1.maven.org/maven2/jta/jta/h2.1.8/jta-h2.1.8.pom
> [INFO] Unable to find resource 'jta:jta:pom:h2.1.8' in repository default (
> http://repo1.maven.org/maven2)
> Downloading: http://repo1.maven.org/maven2/jta/jta/h2.1.8/jta-h2.1.8.pom
> [INFO] Unable to find resource 'jta:jta:pom:h2.1.8' in repository central (
> http://repo1.maven.org/maven2)
> [INFO] [sakai:deploy {execution: default-cli}]
> [INFO] Deleting c:\opt\tomcat\components\sakai-kernel-component
> [INFO] Deleting c:\opt\tomcat\components\entitybroker-pack
> [INFO] Expanding:
> C:\Users\Administrator\.m2\repository\org\sakaiproject\kernel\deploy\kernel-assembly\1.2.0-SNAPSHOT\kernel-assembly-1.2.0-SNAPSHOT-tomcat-overlay.zip
> into c:\opt\tomcat
> [INFO] Expanding:
> C:\Users\Administrator\.m2\repository\org\sakaiproject\entitybroker\entitybroker-assembly\1.4.0-SNAPSHOT\entitybroker-assembly-1.4.0-SNAPSHOT-tomcat-overlay.zip
> into c:\opt\tomcat
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Sakai Emailtemplateservice Base POM (emailtemplateservice)
> [INFO]    task-segment: [clean, install, sakai:deploy]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing C:\opt\sakaisource\emailtemplateservice\pom.xml to
> C:\Users\Administrator\.m2\repository\org\sakaiproject\emailtemplateservice\emailtemplateservice\0.5-SNAPSHOT\emailtemplateservice-0.5-SNAPSHOT.pom
> [INFO] [sakai:deploy {execution: default-cli}]
> [INFO] No deployment specification -- skipping
> org.sakaiproject.emailtemplateservice:emailtemplateservice:pom:0.5-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Sakai Emailtemplateservice API (emailtemplateservice-api)
> [INFO]    task-segment: [clean, install, sakai:deploy]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] Deleting directory C:\opt\sakaisource\emailtemplateservice\api\target
> [INFO] [resources:resources {execution: default-resources}]
> [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
> resources, i.e. build is platform dependent!
> [INFO] Copying 1 resource
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 6 source files to
> C:\opt\sakaisource\emailtemplateservice\api\target\classes
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> Unable to locate the Javac Compiler in:
>   C:\opt\java\..\lib\tools.jar
> Please ensure you are using JDK 1.4 or above and
> not a JRE (the com.sun.tools.javac.Main class is required).
> In most cases you can change the location of your Java
> installation by setting the JAVA_HOME environment variable.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 11 seconds
> [INFO] Finished at: Wed Sep 15 10:08:48 CDT 2010
> [INFO] Final Memory: 33M/247M
> [INFO]
> ------------------------------------------------------------------------
> 
> 
> 
> 
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> 
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: julien_cartigny.vcf
Type: text/x-vcard
Size: 328 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100915/946c4ccc/attachment.vcf 


More information about the sakai-dev mailing list