dcsimg
Property wont work within fileset "includes" pattern...
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   James_Matthews
Posted On:   Thursday, September 8, 2005 12:35 PM

Hi, I am trying to create a JAR with ant, and amongst other things include in that a directory called docs. I would like both the directory and its contents included, not just the contents. I can get this to work, but when using a property it doesn't! Within my jar task will work just fine. However, will not do anything! Doc is defined as: Does anyone have any ideas? Many thanks.    More>>

Hi,


I am trying to create a JAR with ant, and amongst other things include in that a directory called docs. I would like both the directory and its contents included, not just the contents.


I can get this to work, but when using a property it doesn't!


Within my jar task

			




will work just fine. However,

			




will not do anything! Doc is defined as:

			



Does anyone have any ideas? Many thanks.

   <<Less

Re: Property wont work within fileset "includes" pattern...

Posted By:   Anonymous  
Posted On:   Friday, September 9, 2005 06:36 AM

You specify the property with the location attribute, so it will map to the system path to your docs directory. To use it inside the include that is already restricted to the basedir, you should use "value" in the property definition.
About | Sitemap | Contact