• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Ant build file error

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello, I am new to Antbuild in JAVA. I have a small FRACTAL Comanche to work with.

I imported the project to eclipse using Java Project from existing build file.
when right clicking build.xml >runAs> Ant build .

I get the following:

C:\Users\Nesan\workspace\comanche-adl\build.xml:64: srcdir "C:\Users\Nesan\workspace\comanche-adl\src" does not exist!

According to me the build file is in proper location.

You can get the project file from this URL:
http://www.ptidej.net/course/log4430/winter12/resources/plfng_view

choose comanche.rar
JavaXMLBuild.jpg
[Thumbnail for JavaXMLBuild.jpg]
 
Greenhorn
Posts: 4
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Nesan,

I just had a quick look into the screenshot you provided and It appears that build script is looking for an "src" folder to compile the soure files. From the screenshot src looks like a softlink you have setup to point to the location of your source folder. You can do the following:

1. Right click on the project in your eclipse and go to Properties --> Java Build Path --> Source tab and identity the location where the src link is pointing to (actual physical folder where the source files are present)
2. Update your build.xml with this location.

so, if you have <property name="src" value="src"/> change this to <property name="src" value="PHYSICAL LOCATION OF SOURCE FILES"/>

and it should solve this problem.

Thanks,
Diwakar
reply
    Bookmark Topic Watch Topic
  • New Topic