cancel
Showing results for 
Search instead for 
Did you mean: 

Build Failed

sunitha
Champ in-the-making
Champ in-the-making
Hi ..
I having the problem in alfresco.could you give any solutions..
when i compile my build.xml with ant build option it giving a message like below..

BUILD FAILED
D:\1bpms-demo\alfresco_scratch\alfresco\HEAD\root\projects.xml:25: The following error occurred while executing this line:
D:\1bpms-demo\alfresco_scratch\alfresco\HEAD\root\macros.xml:68: The following error occurred while executing this line:
D:\1bpms-demo\alfresco_scratch\alfresco\HEAD\root\macros.xml:41: Compile failed; see the compiler error output for details.

please provide me solution..

Thanks..
5 REPLIES 5

afaust
Legendary Innovator
Legendary Innovator
Hello,

without any details to the compile errors in your error output, we'll not be able to help you.

Regards
Axel

sunitha
Champ in-the-making
Champ in-the-making
Hi…
thank you for your reply ..
i will paste my error details…
Please give any solutions regarding to the problem…….

sunitha
Champ in-the-making
Champ in-the-making
Buildfile: D:\1bpms-demo\alfresco_scratch\alfresco\HEAD\root\build.xml
init:
     [echo] user.home = C:\Users\Eligo1
     [echo] version.number = 4.2.d
clean-core:
   [delete] Deleting directory D:\1bpms-demo\alfresco_scratch\alfresco\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:\1bpms-demo\alfresco_scratch\alfresco\HEAD\root\projects\core\build\classes

BUILD FAILED
D:\1bpms-demo\alfresco_scratch\alfresco\HEAD\root\projects.xml:23: The following error occurred while executing this line:

                   <compile-java projectdir="${dir.project.core}" />—-error showing in projects.xml file at this line


D:\1bpms-demo\alfresco_scratch\alfresco\HEAD\root\macros.xml:68: The following error occurred while executing this line:


               <compile-java-javac srcdir="@{projectdir}/${dir.name.source}/${dir.name.java}" classesdir="@{projectdir}/${dir.name.build}/${dir.name.classes}" compileExcludes="@{compileExcludes}">—-error showing in macros.xml file at this line.

D:\1bpms-demo\alfresco_scratch\alfresco\HEAD\root\macros.xml:41: srcdir attribute must be set!


   <javac destdir="@{classesdir}" fork="true"
                memoryMaximumSize="${mem.size.max}" deprecation="${javac.deprecation}"
                debug="${javac.debug}"  target="${javac.target}" source="${javac.source}" encoding="${javac.encoding}"
                excludes="@{compileExcludes}" includeAntRuntime="false"/>—-error occured in the macros.xml file at this line.

Total time: 1 second

sunitha
Champ in-the-making
Champ in-the-making
Buildfile: D:\1bpms-demo\alfresco_scratch\alfresco\HEAD\root\build.xml
init:
     [echo] user.home = C:\Users\Eligo1
     [echo] version.number = 4.2.d
clean-core:
   [delete] Deleting directory D:\1bpms-demo\alfresco_scratch\alfresco\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:\1bpms-demo\alfresco_scratch\alfresco\HEAD\root\projects\core\build\classes

BUILD FAILED
D:\1bpms-demo\alfresco_scratch\alfresco\HEAD\root\projects.xml:23: The following error occurred while executing this line:

                   <compile-java projectdir="${dir.project.core}" />—-error showing in projects.xml file at this line


D:\1bpms-demo\alfresco_scratch\alfresco\HEAD\root\macros.xml:68: The following error occurred while executing this line:


               <compile-java-javac srcdir="@{projectdir}/${dir.name.source}/${dir.name.java}" classesdir="@{projectdir}/${dir.name.build}/${dir.name.classes}" compileExcludes="@{compileExcludes}">—-error showing in macros.xml file at this line.

D:\1bpms-demo\alfresco_scratch\alfresco\HEAD\root\macros.xml:41: srcdir attribute must be set!


   <javac destdir="@{classesdir}" fork="true"
                memoryMaximumSize="${mem.size.max}" deprecation="${javac.deprecation}"
                debug="${javac.debug}"  target="${javac.target}" source="${javac.source}" encoding="${javac.encoding}"
                excludes="@{compileExcludes}" includeAntRuntime="false"/>—-error occured in the macros.xml file at this line.

Total time: 1 second