ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gad Abraham <...@e1c.net>
Subject Re: Updating jar fails
Date Sun, 04 Sep 2005 12:35:28 GMT
Carol Enderlin wrote:
> I tried it out and it worked with added basedir (removed dest from the
> includes line):
> 
> <target name="packAWT" >
>   <copy file="src/applet.jar" todir="dest"/>
>    <sleep seconds="5"/>
>    <touch file="dest/e3/e30.class"/>
>   <jar destfile="dest/applet.jar" basedir="dest"
>         update="true"
>       includes="e3/e30.class" />
> </target>
> 

Thanks Carol!

I've followed your advice and it works.

Now I see that the includes is relative to the basedir, so previously 
ant couldn't find the e30.class because it wasn't looking in the right 
place (although I'd expect it to complain...).

I really appreciate your help!

Cheers,
Gad

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message