Home

The following error occurred while executing this line

You are here

3 posts / 0 new
Last post
The following error occurred while executing this line

This is the output in the console
----------------------------------------------------------
Buildfile: D:\Development\ALFRESCO_SVN\HEAD\root\build.xml
init:
[echo] user.home = C:\Users\Gia
[echo] version.number = 4.2.d
clean-core:
[delete] Deleting directory D:\Development\ALFRESCO_SVN\HEAD\root\projects\core\build\classes
clean-datamodel:
clean-jlan:
clean-mbeans:
clean-deployment:
clean-repository:
clean-wdrdeployment:
clean-remoteapi:
clean-jndi:
clean-catalinavirtual:
clean-webframeworkcommons:
clean-webclient:
clean-system-build-test:
clean-webclient-projects:
clean-slingshot:
clean-slingshot-projects:
clean-webeditor-plugin:
clean-webeditor:
clean-webeditor-customersite-sample:
clean-webeditor-projects:
clean-webserviceclient:
clean-solr:
clean-file-transfer-receiver:
clean-projects:
clean-spp:
clean-wcmquickstart:
clean-wcmquickstart-share:
clean-wcmquickstart-clientapi:
clean-wcmquickstart-webapp:
clean-modules:
clean-webclient-tomcat-deploy:
clean-application-tomcat-deploy:
clean-virtual-tomcat-deploy:
clean-tomcat-deployments:
clean:
compile-core:
[mkdir] Created dir: D:\Development\ALFRESCO_SVN\HEAD\root\projects\core\build\classes
[javac] Compiling 174 source files to D:\Development\ALFRESCO_SVN\HEAD\root\projects\core\build\classes

BUILD FAILED
D:\Development\ALFRESCO_SVN\HEAD\root\projects.xml:25: The following error occurred while executing this line:
D:\Development\ALFRESCO_SVN\HEAD\root\macros.xml:68: The following error occurred while executing this line:
D:\Development\ALFRESCO_SVN\HEAD\root\macros.xml:41: Error running javac.exe compiler

Total time: 2 seconds
----------------------------------------------------------
This is in projects.xml

23: <target name="compile-core"
24: depends="init">
25: <compile-java projectdir="${dir.project.core}" />
26: </target>
----------------------------------------------------------
This is in <strong>macros.xml</strong>

38: <javac destdir="@{classesdir}" fork="true"
39: memoryMaximumSize="${mem.size.max}" deprecation="${javac.deprecation}"
40: debug="${javac.debug}" target="${javac.target}" source="${javac.source}" encoding="${javac.encoding}"
41: excludes="@{compileExcludes}" includeAntRuntime="false">
42: <compilerarg value="@${compile-java-classpath-file}"/>
43: <src path="@{srcdir}" />
44: <addSourcePath2 />

AND

67: <sequential>
68: <compile-java-javac srcdir="@{projectdir}/${dir.name.source}/${dir.name.java}" classesdir="@{projectdir}/${dir.name.build}/${dir.name.classes}" compileExcludes="@{compileExcludes}">
69: <addPath2>
70: <addPath />
71: </addPath2>
72: </compile-java-javac>
73: </sequential>
----------------------------------------------------------
What seems to be the problem?

4.2.b

berenoune was here

The following error occurred while executing this line

Hi Berenoune,
Are you using Eclipse for build ?
Can you try to build it from command prompt /console window ?
Please post the compiler output here.

Thanks,
Murali
If this post was helpful, please click Yes on the Post Rating !
My Blog: www.codingfreaks.net
Community: www.meetup.com/Alfresco-Bangalore-Community
Working for : www.quanticate.com

Cannot find javahl, svnkit nor command line svn client

I downloaded a different JDK version and it proceeds building until this error: http://forums.alfresco.com/forum/installation-upgrades-configuration-integration/configuration/build-failed-02052013-1515

berenoune was here