• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

build.xml:32:error in apache-ant 1.5.4 while running ant patch command

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to install VanetMobiSim software which requires jdk and apache-ant.
i am using windows 7 64 bit.

i have installed jdk1.7.0_45 and apache-ant 1.5.4. and set their system enviornment variables as:

ANT_HOME = C:\Java\jdk1.7.0_45\ant\apache-ant-1.5.4
JAVA_HOME= C:\Java\jdk1.7.0_45

PATH= %ANT_HOME%\bin;%JAVA_HOME%\bin;C:\WINDOWS;C:\WINDOWS\system32;C:\Java\jdk1.7.0_45\ant\apache ant1.5.4\bin;C:\Java\jdk1.7.0_45\bin;C:\Java\jdk1.7.0_45\vanetmobisim\jar;C:\Java\jdk1.7.0_45\vanetmobisim\src;


but when i run following on command prompt,

C:\vanetmobisim>ant



 
Rancher
Posts: 989
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't need to add your src directory to the PATH and your jar files should be on the classpath not the PATH but what was the full error message that you got?
 
khushi khushit
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks E Armitage

but when i run C:\vanetmobisim>ant

i get following error:
Build file: build.xml

init:
compile: [javac]: note: Some input files use unchecked or unsafe operations.
jars:

BUILD FAILED
file: C:/vanetmobisim/builed.xml:56: Manifest file: C:\vanetmobisim\src\canumobisim\vanetmobisim.mf does not exists.

Also can you mention how to define CLASSPATH ?
 
Willie Smits can speak 40 languages. This tiny ad can speak only one:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!