[Sakai Jira] Created: (SAKIII-4367) Build error when using -Psakai-release

Kent Fitzgerald (JIRA) sakai-ui-dev-tracking at collab.sakaiproject.org
Mon Nov 28 06:28:55 PST 2011

Build error when using -Psakai-release

                 Key: SAKIII-4367
                 URL: https://jira.sakaiproject.org/browse/SAKIII-4367
             Project: Sakai 3 UI Dev
          Issue Type: Bug
          Components: Core UI development
    Affects Versions: Sprint 115, 1.1.0
         Environment: qa20-us.sakaiproject.org
            Reporter: Kent Fitzgerald
            Priority: Blocker
             Fix For: 1.1.0

I am getting a build error on qa20-us.sakaiproject.org when building with mvn clean install -Psakai-release. 

It started Friday evening. Prior to that, the same build command worked fine. I can build successfully using mvn clean install (without the release profile)

I originally got errors on two environments, but my local environment is no longer giving errors and builds successfully. Bert reported he got a different error when executing:
-P redeploy build

     [echo] Not unpacking MathJax Font images, Math formulas on FireFox versions prior to 3.5 will not be supported!
   [delete] Deleting: /home/sakai/src/3akai-ux/target/processed-resources/dev/lib/MathJax/fonts/HTML-CSS/TeX/png.zip
   [delete] Deleting: /home/sakai/src/3akai-ux/target/processed-resources/dev/lib/MathJax/config/local/imageFonts.js

   [delete] Deleting directory /home/sakai/src/3akai-ux/tools/hashfiles/HashAndRefreshFiles/classes
    [mkdir] Created dir: /home/sakai/src/3akai-ux/tools/hashfiles/HashAndRefreshFiles/classes
    [javac] /home/sakai/src/3akai-ux/build.xml:257: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 1 source file to /home/sakai/src/3akai-ux/tools/hashfiles/HashAndRefreshFiles/classes
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: The following error occurred while executing this line:
/home/sakai/src/3akai-ux/build.xml:257: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "/usr/lib/jvm/java-6-sun-"

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7 minutes 6 seconds
[INFO] Finished at: Mon Nov 28 14:18:16 UTC 2011
[INFO] Final Memory: 16M/179M
[INFO] ------------------------------------------------------------------------

Is there a new dependency? I'll try cleaning out my local .m2 repo and building fresh as well. 

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the sakai-ui-dev-tracking mailing list