cancel
Showing results for 
Search instead for 
Did you mean: 

Share 4 won't compile (custom)

jriker1
Champ in-the-making
Champ in-the-making
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
1 REPLY 1

jriker1
Champ in-the-making
Champ in-the-making
Figured it out.  Had to remove the fork command for some reason.  Using Ant 1.8.2.

JR