• 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

Excluding class files in a Jar while copying from one folder to another.

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am trying to copy class files from one folder to another but while copying i want to exclude class files which are present in a particular jar. i tried the following code :

---------------------------------
<unzip src="${APPLICATIONS}/framework.jar" dest="./classes/"/>
<copy todir="${build}">
<fileset dir="${tempBuild}"
includes="**/*.class"
excludes="D:\abc\classes\com\emirates\dacs\logical\**\*.class"
/>
</copy>

------------------------------------

if in excludes i put complete path i.e com/pack.abc.class then it works but not like this. Can someone throw some light on the issue.

Thanks...
reply
    Bookmark Topic Watch Topic
  • New Topic