dcsimg
nested patternset in fileset ignored in copy or jlink tasks.
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Joel_Hughes
Posted On:   Wednesday, October 31, 2001 09:14 AM

Given a patternset: or Referenced in a fileset, nested in a copy Results in all files from lib.dir being copied to the output.dir. The patternset is ignored. Have also tried Results in error stating that the some.patternset does not define a fileset.    More>>

Given a patternset:

			





or
			





Referenced in a fileset, nested in a copy
			






Results in all files from lib.dir being copied to the output.dir. The patternset is ignored.




Have also tried
			







			




Results in error stating that the some.patternset does not define a fileset.    <<Less

Re: nested patternset in fileset ignored in copy or jlink tasks.

Posted By:   Erik_Hatcher  
Posted On:   Wednesday, October 31, 2001 06:53 PM

Here's an example I tried and it worked (Ant 1.4.1):
















fromdir contained two files, file1.txt and file2.txt. Only file1.txt was copied to todir.

Re: nested patternset in fileset ignored in copy or jlink tasks.

Posted By:   Joel_Hughes  
Posted On:   Wednesday, October 31, 2001 09:30 AM

A Fileset with id must also be created. The fileset id is then referenced in the subsequent fileset operations, not the patternset id.


Given a patternset:






Also create a fileset:






Then reference fileset id from tasks:




About | Sitemap | Contact