Hi,

I try <ant antfile="xxx" dir="mydir" target="jar">
So this will only be done if there is a need to rebuild. That means that ant 
will check if the jar is
out of date?

//Mikael

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: den 30 november 2004 15:24
To: [EMAIL PROTECTED]
Subject: AW: build dependent projects


Simply let Ant build the two jars. It should only work if the JARs needs to 
be updated.

Jan

> -----Urspr�ngliche Nachricht-----
> Von: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED]
> Gesendet am: Dienstag, 30. November 2004 15:20
> An: [EMAIL PROTECTED]
> Betreff: build dependent projects
> 
> Hi!
> 
>  In order to build a specific java project I use proj1.jar 
> and proj2.jar in classpath.
> 
> But these projects could be uncompiled at the time we are 
> building our project.
> 
> I am thinking of doing the following:
> 
> * check if the dependant jars exists.
> * If jars does not exist, then we compile the source and 
> create a jar of the class files.
> * If jar exist then check if it is up-to-date ( is it 
> possible to do that??).
> 
> Is there another way to do this?
> 
> Regards,
> 
> //Mikael
> 
> ---------------------------------------------------------------------
> 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