ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <>
Subject RE: Problem with classfileset
Date Fri, 28 Jan 2005 22:06:58 GMT
> From: Rhino []
> <classfileset id="reqdClasses" dir="${bin.dir}">
>   <root classname=""/>
> </classfileset>
> When I run it, the jar contains only three class files (and a
> is indeed the main class of the program and it is
> dependent on and
> Unfortunately, none of the classes that *they* depend on are present
> the jar. There are quite a few of them, all belonging to packages
> with mydomain.common.

But are the missing dependent classes in ${bin.dir}?
And are they in the correct directory, i.e. mydomain.common.Foo
can be found in ${bin.dir}/mydomain/common/Foo.class?

Alternatively, you could use a <rootfileset> like the doc shows
to force including the missing classes, but my guess is that the classes
are not in ${bin.dir} for now. --DD

PS: I myself used <genjar> a long time ago to do what you're trying to
do, but I don't know if that task/project still exists.

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

View raw message