I have had a look for you in the doc of Genjar on SourceForge,
http://genjar.sourceforge.net/manual.html#classfilter
it looks like you can use this type of construct
<classfilter>
  <exclude name="org.apache." />  <!-- exclude the entire apache package
space -->
  <include name="org.apache.tools.ant.types." /> <!-- but include Ant
types -->
</classfilter>

----- Original Message -----
From: "Brian Quirk" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 29, 2003 6:53 PM
Subject: Quick GenJar Question


> Hi,
>
> I'd like to Jar all the classes (and dependent classes) in a package
> without listing each class via the <class> element:
>
> <genjar jarfile="Bar.jar">
>           <class name="com.foo.bar.class1"/>
>           <class name="com.foo.bar.class2"/>
>           <class name="com.foo.bar.class3"/>
> </genjar>
>
>
> Does anyone if its possible to replace the collective <class> elements
with
> something that would pull in the entire package?
>
> Thanks,
> Brian
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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

Reply via email to