Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

Class path error

Van Dessel Ivan

2008-05-13


Author LoginPost Reply
To run my project correctly I run "java package.Driver_1" after I run
command "source" on a script file that exports two directories of jar
files. How do I implement the exporting of library jars into my build
file for ant to make a jar file so that I can just run it. I have been adding
attribute="Class-Path" refid="path/.jar path/.jar" into the Manifest but it still
is giving me errors by running the jar like this "java -jar jarfile" ?

Ivan Van Dessel
Systems Engineer
Advanced Acoustic Concepts
900 Technology Blvd., Suite C
Bozeman, MT 59718
(Phone) 406.582.8133
(Fax) 406.582.0151

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.