Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Unrolling included jars in a new jar file?

Unrolling included jars in a new jar file?

2003-03-27       - By Sean Leblanc
Reply:     1     2     3     4     5     6  

Thanks, somehow I overlooked unjar. I think combining with jar, I can do
what I want.

I don't see genjar in the optional tasks in the manual. I guess I'm not
looking in the right spot.

When you say "it's better to describe the dependencies..." what does this
mean? Is this done using manifest(s)?


TIA,
Sean


-----Original Message-----
From: Keith Hatton [mailto:khatton@(protected)]
Sent: Thursday, March 27, 2003 10:10 AM
To: Ant Users List
Subject: RE: Unrolling included jars in a new jar file?


Yes, you need the <unjar> and <jar> tasks.
Also look at the <genjar> optional task.

But, one of the great things about Ant (IMHO) is that it doesn't duplicate
the behaviour of the jar builder in JBuilder! Our experience is that
JBuilder builds bloatware jars, it's much better to describe the
dependencies properly in the build file.



-----Original Message-----
From: Sean Leblanc [mailto:SeanL@(protected)]
Sent: 27 March 2003 17:03
To: 'user@(protected)'
Subject: Unrolling included jars in a new jar file?


Hi,

I'm trying to duplicate the behavior of the jar builder in Jbuilder. For
included jars, it un-jars the contents of included jars and zips, and puts
the contents in the target jar, along with your own classes. Is there a way
to do this with Ant?


Thanks,
Sean
This e-mail, including attachments, is intended for the person(s) or company
named and may contain confidential and/or legally privileged information.
Unauthorized disclosure, copying or use of this information may be unlawful
and is prohibited. If you are not the intended recipient, please delete this
message and notify the sender.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)
This e-mail, including attachments, is intended for the person(s) or company
named and may contain confidential and/or legally privileged information.
Unauthorized disclosure, copying or use of this information may be unlawful
and is prohibited. If you are not the intended recipient, please delete this
message and notify the sender.


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.