AnsweredAssumed Answered

Can't build sample files

Question asked by simon on Apr 4, 2006
Latest reply on Apr 5, 2006 by gavinc

I'm trying to install a development environment over here but have some problems while running the Ant build script.

I added all the sample projects and imported the projects in the Eclipse workspace. Afterwards I followed the "link build.xml file" method as descibed in Development Environment. I have the Java JDK 1.5 installed and the compliance level is set to 5.0.

When I right click the build.xml file an choose Ant build I get the following error:
    [mkdir] Created dir: Z:\Winnt\Desktop\Alfresco\projects\core\build\classes
    [javac] Compiling 53 source files to Z:\Winnt\Desktop\Alfresco\projects\core\build\classes

Z:\Winnt\Desktop\Alfresco\common\build.xml:42: The following error occurred while executing this line:
Z:\Winnt\Desktop\Alfresco\common\common.xml:24: Error running javac.exe compiler

Line 24 in common.xml looks like this:

<javac destdir="${dir.classes}" fork="true" deprecation="on" debug="on" target="1.5" source="1.5">

What am I missing here? Any ideas? It seems that Ant is running properly but the Java compiler is complaining, don't know why…