Win a copy of Rust Web Development this week in the Other Languages 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

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: 40913
840
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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic