Win a copy of React Cookbook: Recipes for Mastering the React Framework this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

BUILD FAILED while running apache ANT build.xml file

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I am new to ANT. I am trying to generate .EAR file but I am getting the following error.

main@Main1:~/Downloads/tagnos/workspace/tals_multi_dashboard/src/etc/build$ ant buildEar
Buildfile: /home/Main1/Downloads/tagnos/workspace/tals_multi_dashboard/src/etc/build/build.xml

common:
[echo] BuildName: Tagnosys
[echo] BuildHome: /home/Main1/Downloads/tagnos/workspace/tals_multi_dashboard
[echo] SourceHome: /home/Main1/Downloads/tagnos/workspace/tals_multi_dashboard/src
[echo] BuildFile: /home/Main1/Downloads/tagnos/workspace/tals_multi_dashboard/src/etc/build/build.xml
[echo] BuildJVM: 1.7

clean:
[delete] Deleting directory /home/mainstay1/Downloads/tagnos/workspace/tals.mdb.out/tmp
[delete] Deleting directory /home/Main1/Downloads/tagnos/workspace/tals.mdb.out/install

init:
[echo] Build Tagnosys-1.0 (${subversion})
[mkdir] Created dir: /home/Main1/Downloads/tagnos/workspace/tals.mdb.out/tmp
[mkdir] Created dir: /home/Main1/Downloads/tagnos/workspace/tals.mdb.out/install
[mkdir] Created dir: /home/Main1/Downloads/tagnos/workspace/tals.mdb.out/tmp/classes
[mkdir] Created dir: /home/Main1/Downloads/tagnos/workspace/tals.mdb.out/tmp/ear

javacompile:
[javac] /home/Main1/Downloads/tagnos/workspace/tals_multi_dashboard/src/etc/build/build.xml:108: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 488 source files to /home/Main1/Downloads/tagnos/workspace/tals.mdb.out/tmp/classes

BUILD FAILED
/home/Main1/Downloads/tagnos/workspace/tals_multi_dashboard/src/etc/build/build.xml:108: /tagnos/3rdparty does not exist.

Total time: 0 seconds
main@Main1:~/Downloads/tagnos/workspace/tals_multi_dashboard/src/etc/build$



and this is build.xml file








My file structure is

tagnos -> 3rdparty
-> bin
-> workspace -> tals_multi_dashboard -> src -> etc -> build -> build.xml file

Can anyone help me to resolve this problem. I am using ANT 1.9.3

Thanks
 
author & internet detective
Posts: 40722
827
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is tagnos at the root of your file system? This code implies that it is:


If that isn't the case, try removing the "/" to make it a relative path.
 
Arjuna Naran
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, tagnos is the root
 
Make yourself as serene as a flower, as a tree. And on wednesdays, as serene as this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic