ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Kelley" <>
Subject RE: Efficient method to build JARs
Date Wed, 11 Dec 2002 16:24:21 GMT
I don't need any tool to guess which classes I am loading dynamically.
I want to define a fileset of these classes (so include all the classes
in folderX as my root classes) and then have the tool load all of their
dependencies (very similar to what ClassFileSet does, but I need it to
actually work, and I need to do something about all my required classes
in JAR files).  We are using quite a few required libraries and our JAR
file will be downloaded to clients, so size does matter.

-----Original Message-----
From: Dominique Devienne [] 
Sent: Wednesday, December 11, 2002 9:15 AM
To: 'Ant Users List'
Subject: RE: Efficient method to build JARs

I fail to see how any tool could *guess* which classes you'll
load from your code, except if you have a very controlled way of
the list of such classes (their names I guess). Packaging more classes
needed is better than not finding them at runtime once deployed.

Or I'm missing something altogether. --DD

-----Original Message-----
From: Aaron Kelley [] 
Sent: Wednesday, December 11, 2002 10:10 AM
Subject: Efficient method to build JARs

Is there an efficient way to build JARs (so it loads all the
dependencies and not every class file)?  I see that there is a
ClassFileSet, but it cannot pull required classes from JAR files.  Also,
I could not really get it to work and there seems to be a lack of
documentation for it.  Secondly, I looked at GenJar, but this package
requires you to actually list individual classes that form the root of
your dependencies.  My problem with this package is that I would have to
list all of my classes since we are dynamically loading many of classes
in out projects.  This is not an option since I will be using it for
automated building of large and changing projects.  I would love to hear
any other options I may have.

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message