How to unreference a property that refers to a patternset?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   LEONID_ILYEVSKY
Posted On:   Thursday, December 26, 2002 03:21 PM

In file "a.xml" I define a patternset and a property that refers to it, named "ms". Then I call "ant" task on "b.xml": Here is the second file, "b.xml": Here is what I get when I run the "a.xml": all: test: ms is patternSet{ includes: [*.xml] excludes: [] } b.xml [8] Reference patternSet{ includes: [*.xml] excludes: [] } not found. BUILD FAILED How I should properly construct a fileset with that pattern?    More>>

In file "a.xml" I define a patternset and a property that refers to it, named "ms". Then I call "ant" task on "b.xml":


			













Here is the second file, "b.xml":


			














Here is what I get when I run the "a.xml":


			
all:
test:
ms is patternSet{ includes: [*.xml] excludes: [] }
b.xml [8] Reference patternSet{ includes: [*.xml] excludes: [] } not found.
BUILD FAILED





How I should properly construct a fileset with that pattern?    <<Less

Re: How to unreference a property that refers to a patternset?

Posted By:   Erik_Hatcher  
Posted On:   Thursday, December 26, 2002 06:34 PM

If you do not want properties passed to a child build with , set inheritAll="false". By default its true. Keep in mind that properties are immutable and you cannot change their value or unset them once set, but a child build can be invoked without passing the parent build properties through.
About | Sitemap | Contact