• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Explaination is needed

 
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi.
I have some questions about some tags in ant.

what does the previous tags mean ??

what does the previous tags mean ?
what is meaning of statemets like : "**/*Client*.class" ?
I don't understand them..
thanks.
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
They are pattern matching strings using wildcards John Todd. "**/*UserManagement*.class" means to match .class files which contain the pattern "UserManagement" searching all sub directories. So:

/folder1/folder2/UserManagementImpl.class
/folder1/ClientUserManagementHandler.class
/folder1/folder2/folder3/DoSomethingWithUserManagementNow.class

would all be either matched by the tag:

<patternset id="App-Client">
<include name="**/*UserManagement*.class"/>
</patternset>

Where as:

/folder1/folder2/UserBasicManagement.class
/folder1/UserManagement.xml

would not.

A patternset is a convenience tag in Ant to create such patterns (useful for classpaths, deploy listings, etc.) and refer to them later by id.
[ May 14, 2004: Message edited by: Paul Sturrock ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic