ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <levylamb...@tiscali-dsl.de>
Subject Re: Quick GenJar Question
Date Wed, 29 Jan 2003 18:06:48 GMT
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" <brian.quirk@ams.com>
To: <ant-user@jakarta.apache.org>
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: ant-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: ant-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: ant-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ant-user-help@jakarta.apache.org


Mime
View raw message