ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter DePasquale" <peter.depasqu...@gmail.com>
Subject Re: Build jar files that contain other jar files
Date Wed, 01 Nov 2006 02:01:19 GMT
I'm not familiar with the "write-copy" rule.  Can you clarify?

Also, I need a jar, not a war or ear.

On 10/31/06, Chun Ji <CJi@pro-unlimited.com> wrote:
>
>
> If you do so, you may violate the write-copy rule.
>
> How about create an "ear" or "war" file, depends on your application. Here
> is the structure of a war file looks like
> "
> WEB-INF/
> WEB-INF/lib/
> WEB-INF/lib/antlr-2.7.5.jar
> WEB-INF/lib/...
> WEB-INF/classes/
> WEB-INF/classes/events/Event.class
> WEB-INF/classes/events/...
> WEB-INF/web.xml
> ".
>
> And you can find the way to create war or ear file in the ANT menu.
>
> -cji
>
> -----Original Message-----
> From: Peter DePasquale [mailto:peter.depasquale@gmail.com]
> Sent: Tuesday, October 31, 2006 5:26 PM
> To: user@ant.apache.org
> Subject: Build jar files that contain other jar files
> Importance: Low
>
>
> Since I can't find this on my own, I thought I'd ask.  I need to include
> two
> 3rd part jar files in my app's jar file.  I am 99% sure I can't just add
> the
> required supporting jars to my release jar (correct?).  Thus, I need to
> unjar my 3rd party jars, and fold their contents into my release jar.  Is
> there an ant task for something like this?  Surely this is a common type
> of
> operation....  Thanks.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>


-- 
Peter J. DePasquale, Ph.D.                      238 Holman Hall
Department of Computer Science        The College of New Jersey
PO Box 7718                                Ewing, NJ 08628-0718
===============================================================
http://www.tcnj.edu/~depasqua                  (p) 609-771-2806
(e) depasqua [at] tcnj [dot] edu                  (f) 609-637-5190

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message