ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <jakarta-...@ehatchersolutions.com>
Subject Re: Filesets within Filesets
Date Fri, 13 Dec 2002 00:35:08 GMT
No, there is not.... the reason is because a FileSet must be rooted at a 
particular directory.

This is a bit of a bummer, I agree.  I think of a file "set" as any ol' 
set of files, not just ones under a root directory.  This is one area 
where I'd like to see/effect improvement in the future.

	Erik


Nau, Michael wrote:
> Is there a way to make a fileset of filesets?
> 
> For example:
> 
> <fileset id="foo.jar.classes" dir="${build.out.dir}">
>    <include name="com/foo/**/*.class"/>
>    <exclude name="**/test/*"/>
> </fileset>
>     <fileset id="foo.jar" dir="${dev.src.dir}">
>   <fileset refid="foo.jar.classes" />
>   <include name="com/foo/xslt/*"/>
>   <include name="com/foo/*.properties"/>
> </fileset>  This seems like a common thing. Here's what I want to do in English:
> 
> 1. Compile all the .java files in the ${dev.src.dir} to {build.out.dir}
> 2. Jar the .class files from the ${build.out.dir} and all the xslt and
> properties files into a foo.jar.
> 
> Thanks,
> Mike.
> 
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
> 
> 
> 


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


Mime
View raw message