> From: Rhino [mailto:[EMAIL PROTECTED]
> 
> <classfileset id="reqdClasses" dir="${bin.dir}">
>   <root classname="mydomain.foo.Foo"/>
> </classfileset>
> 
> When I run it, the jar contains only three class files (and a
manifest):
> 
> mydomain.foo.Foo.class
> mydomain.foo.FooConstants.class
> mydomain.foo.FooPreferences.class
> 
> mydomain.foo.Foo is indeed the main class of the program and it is
indeed
> dependent on mydomain.foo.FooConstants and
mydomain.foo.FooPreferences.
> 
> Unfortunately, none of the classes that *they* depend on are present
in
> the jar. There are quite a few of them, all belonging to packages
starting
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to