Hi Ylan!

Thanks a lot for your reply!

On Mon, 21 Jan 2002, Ylan Segal wrote:

> [...]
> I do not think <depend> will do that, but it is not clear to me what do you
> want it to acomplish. What it does now is delete classes that depend on
> classes that are out-of-date and thus will be recompiled. How would that
> work in a jar? where would the source code for the classes in the jar be?

What I want to do is building a JAR file of our app. The Java source code
contains import statements that are referring to classes (like JDBC
drivers, XML parsers, etc.) that are contained in JARs. What I wanted to
know is whether Ant's <depend> task is able to "look" into the different
JARs included in my CLASSPATH and copies ONLY THE NEEDED classes to the
resulting JAR file (instead of indifferently copying all classes and
creating a bloated resulting JAR). The size of the resulting JAR is of
importance to me since it contains several applets and because most of our
customers access the Internet via a modem. Sorry in case I was not
clarifying this properly in the beginning.

Greetings,

        Holger



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

Reply via email to