If you wanted to have the jar built up, you'd need to run the "dist"
target (looking at your build file).

In my experience, this should be the default target, if your users want
to do anything less, they can run the individual targets.

 

-----Original Message-----
From: Tom Corcoran [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 20, 2006 12:58 PM
To: Ant Users List
Subject: RE: Build successful but nothing produced

Reading the archives, I've learned that the "Could not load a dependent
class " will not actually break your build; they are just there to
signal that some of the optional tasks will not work due to some of
their required libraries not being available on the classpath.

All my java files in "src" are processed and it reports that myfile.java
omitted as myfile.class is up to date, etc.

At the end it says :
BUILD SUCCESSFUL
Total time: 0 seconds

And there is no jar produced. Any thoughts?

Is there a more complete resource for the project tag than
http://ant.apache.org/manual/using.html
that does not mentioned setting a compile default.

Where can I readup about wring the Now property to a file?

Thanks a lot. Tom.

-----Original Message-----
From: EJ Ciramella [mailto:[EMAIL PROTECTED] 
Sent: 20 October 2006 17:35
To: Ant Users List
Subject: RE: Build successful but nothing produced

If you want to just type ant, set up a default in your project tag. 

-----Original Message-----
From: Tom Corcoran [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 20, 2006 12:31 PM
To: Ant Users List
Subject: RE: Build successful but nothing produced

Thanks a lot. I was just doing an ant. Using the compile attribute now
gives me :

Could not load a dependent class
(com/sun/media/jai/codec/FileSeekableStream) for type image
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type
sshexec
Could not load a dependent class (com/jcraft/jsch/UserInfo) for type scp
Could not load a dependent class (jdepend/xmlui/JDepend) for type
jdepend
Could not load a dependent class (junit/framework/Test) for type junit

That's probably a faq, will continue playing.

Thanks, Tom. 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to