AnsweredAssumed Answered

Share 4 won't compile (custom)

Question asked by jriker1 on Oct 17, 2011
Latest reply on Oct 18, 2011 by jriker1
I downloaded Share 4 the version listed in the release notes and can't get it to compile.  In my customizations I have to modify some java files inside a jar so extract that jar, compile and rebuild the jar.  Do this all the time in prior versions.  Now I get the below:

[unjar] Expanding: C:\Users\yarbrsr\workspace\Alfresco-4a-30857\projects\3rd-party\src\spring-webscripts-1.0.0-sources.jar into C:\Users\yarbrsr\workspace\Alfresco-4a-30857\projects\3rd-party\src\tmp
    [javac] Compiling 1 source file to C:\Users\yarbrsr\workspace\Alfresco-4a-30857\projects\3rd-party\src\tmp\org\springframework\extensions\webscripts\connector

BUILD FAILED
C:\Users\yarbrsr\workspace\Alfresco-4a-30857\build.xml:47: Error running javac.exe compiler

Total time: 18 seconds

This is the calling command:

<javac srcdir="${dir.project.3rdparty.src}/tmp"
                      destdir="/${dir.project.3rdparty.src}/tmp/org/springframework/extensions/webscripts/connector"
                      fork="true"
                      includes="**/User.java"
                      memoryMaximumSize="${mem.size.max}"
                      deprecation="${javac.deprecation}"
                      debug="${javac.debug}"
                      target="${javac.target}"
                      source="${javac.source}"
                      encoding="${javac.encoding}"
                      classpathref="classpath.compile" />

There is also a command right after it:

     <mkdir dir="${dir.project.3rdparty.lib}/tmp"/>

In the "Problems" tab I get:

${dir.project.3rdparty.lib} not found.   build.xml   /Alfresco-4a-30857   line 12

Thoughts?

Thanks

JR

Outcomes