Philippe:

I have the similar issue...the way I chose to handle it (may not be the best
way but it's the easiest for me :-) is to rebuild the ears, versus unpacking
making changes and repacking- less hassle and the time it takes to rebuild
it is minimal. Also, this way I don't have to worry about forgetting
something. The build [execution] flow is compile all classes, jar them up,
create wars then create ears. We have one "main" build file that calls
others to build their piece of the puzzle. We have also enabled the ability
to build one "component" at a time (jar, war, ear). You could accomplish
this by using the target depends attribute or by using the <ant>, <antcall>
tasks or by using a number of 3rd party/external tasks...it's really up to
your imagination/creativity. This list will also be an invaluable
asset...tons of great ideas and great people.

HTH,
-Will

-----Original Message-----
From: Philippe Waltregny [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 04, 2003 10:06 AM
To: [EMAIL PROTECTED]
Subject: Updating JARS then WAR and at least EAR files using Ant


 
Hello,
 
Here's my problem.
 
I've an EAR file which contains a WAR file. This WAR file contains some JAR
files as librairies. I've to update some JAR files, and consequently both
the WAR and the EAR files.
 
How to do each of these updates using Ant?
 
Is it possible to do it without having to explode both the EAR and the WAR
files into a directories structure, then to make changes, then to recreate
both the WAR and the EAR files?
 
Thank you in advance.
 
 
Philippe Waltregny
 mailto:[EMAIL PROTECTED]
 

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

Reply via email to