Does Maven Mojo have Equivalent to ant's DirSet? -


i'm uplifting ant plugin maven plugin , ant plugin used dirset , see maven has fileset.

  • can use fileset gather directories?
  • should create own dirset class either reviewing ant's patternset - dirset code , implementing similar solution using maven's patternset , or fileset?
  • is there better way gather directories includes , excludes?

thanks help

peter

found on maven's file management examples page.

filesetmanager filesetmanager = new filesetmanager(); string[] includedfiles = filesetmanager.getincludedfiles( fileset ); string[] includeddir = filesetmanager.getincludeddirectories( fileset ); string[] excludedfiles = filesetmanager.getexcludedfiles( fileset ); string[] excludeddir = filesetmanager.getexcludeddirectories( fileset ); filesetmanager.delete( fileset ); 

Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -