On Sunday 12 December 2004 19:59, Karl wrote:
> Required task:
> I need to add an uncompressed file to an existing jar file at build
> time. (I'm adding a copyright file that has to be easily
> accessible/readable).
>
> Question:
> Is there a way to do this using a jar task directly? I haven't been
> successful in finding a way to do this so I've resorted to using an exec
> call using jar to perform this action.

Hi Karl, 

Perhaps you can use something like this:

<jar destfile="${lib}/test.jar" update="yes">
  <fileset dir="${build}" includes="copyright.txt"/>
</jar>


Regards, 

-- 
Rohnny Moland

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

Reply via email to