Rob, One more note: The snapshot changes the behavior slightly. With the snapshot, only resources ending in ".vm" are pushed through velocity. Thus, your xsd and other files would not be filtered. If you name them foo.xsd.vm, that would create the foo.xsd at process time with the values filtered by velocity.
Dan On Friday 23 March 2007 11:28, Daniel Kulp wrote: > Rob, > > I just pushed a new snapshot (1.0-alpha-5) that fixes this. > > > Dan > > On Friday 23 March 2007 11:05, Duda, Rob wrote: > > I had posted the attached message to the user list yesterday but > > decided to look at the source code myself to see if I could find a > > clue to the problem myself. Well I did. > > > > I might be helpful to the people that might want to use this plug-in > > that you mention in the documentation that if uses the following > > filter: > > > > List resources = FileUtils.getFileNames( > > resourcesDirectory, "**/*.txt,**/*.vm", "**/.svn/**", false ); > > > > Why is a big mystery to me. Shouldn't this be configurable? It > > shouldn't be hard to get a list of includes from the configuration > > or use **/* if none is provided. (Which of course is what someone > > would expect is happening if they don't look at the source code.) > > > > This plug-in would provide a clever way to use Maven to manage and > > distribute WSDL and XSD for such projects. Restricting it just the > > needs of Apache makes it almost unusable beyond the initial need. > > > > Thanks, > > > > Rob -- J. Daniel Kulp Principal Engineer IONA P: 781-902-8727 C: 508-380-7194 [EMAIL PROTECTED] http://www.dankulp.com/blog --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]