The work around I was given was to use filesets within the jar task.  Perhaps, 
something akin to this:

    <jar jarfile="${outputdir}/${product}.jar" compress="False" 
        manifest="./resources/META-INF/MANIFEST.MF">

                <fileset dir="${outputdir1}/classes" includes="**/*.class" />
                <fileset dir="${outputdir2}/classes" includes="**/*.class" />
                <fileset dir="${outputdir3}/classes" includes="**/*.class" />
                
        </jar>
Regards,
Jay
-----Original Message-----
From: Karen Schaper [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 02, 2003 3:45 PM
To: Ant Users List
Subject: problem updating jar


Hi All,

I just upgraded to ant1.5.1 and noticed that I cannot update an existing jar
file.  Is there a workaround for this.  I have a shared target that creates
many different jar files and then separate targets "update" the jars.  I
would have a significant amount of work as well as duplicating lots of code
if I were to do this all in one jar routine which someone else had
suggested.

I found this is in the bug list for ant.  Does anyone know if the nightly
builds fix this?

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10755

Thanks,

Karen


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


-----------------------------------------
This email and any attachments are confidential and may be legally privileged.  No 
confidentiality or privilege is waived or lost by any transmission in error.  If you 
are not the intended recipient you are hereby notified that any use, printing, copying 
or disclosure is strictly prohibited.  Please delete this email and any attachments, 
without printing, copying, forwarding or saving them and notify the sender immediately 
by reply e-mail.  The company reserves the right to monitor all e-mail communications 
through its networks.  Unless otherwise stated, any financial results or price data 
contained in this email are indicative only and are subject to change without notice
--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to