jmporterog / maven-replacer-plugin

Automatically exported from code.google.com/p/maven-replacer-plugin
MIT License
0 stars 0 forks source link

Maintain directory hirearchy #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The replacer recurses through a file structure starting at the baseDir and 
outputs the resulting files to the outputDir.  Currently there is not way to 
maintain the file structure at the outputDir; the resulting file structure is 
flattended and all files are outputted to the root of outputDir.  Is it 
possible to add this feature to future release?

Original issue reported on code.google.com by gershman...@gmail.com on 2 Nov 2010 at 6:28

GoogleCodeExporter commented 9 years ago
This issue should be of type Enhancement.

Original comment by gershman...@gmail.com on 2 Nov 2010 at 6:29

GoogleCodeExporter commented 9 years ago
Thanks, I will have a look into this.

I assume this would only affect use cases of <includes>?
Or affect all uses and then have an option to set to flat/preserved? I suspect 
this would be the case.

Original comment by baker.st...@gmail.com on 2 Nov 2010 at 10:49

GoogleCodeExporter commented 9 years ago
Agreed, the second option seems more usable.  I would also venture to say that 
setting the option to 'preserved' would be a reasonable default.  Thanks for 
your effort.

Original comment by gershman...@gmail.com on 3 Nov 2010 at 12:28

GoogleCodeExporter commented 9 years ago
Is there an ETA on the next release that includes this issue?  If not, you can 
add me as a participant to the project and I will contribute.

Original comment by gershman...@gmail.com on 10 Nov 2010 at 6:01

GoogleCodeExporter commented 9 years ago
Hi gershman.michael,

Sorry I did not know this was a priority for you. I was going to just sit on it 
for a while whilst I accumulated more issues/enhancements for the next release.

I will attempt to have it implemented and released tonight.

Steven

Original comment by baker.st...@gmail.com on 10 Nov 2010 at 10:40

GoogleCodeExporter commented 9 years ago
Changes have been made to source. Just need to test and release.
Feel free to try out the source code yourself.
The new parameters are: outputBasedir and preservePath (default's to true).
If you are using outputDir, then you should not have to change to have this 
enhancement in place.

Original comment by baker.st...@gmail.com on 15 Nov 2010 at 4:22

GoogleCodeExporter commented 9 years ago
Released in version 1.3.4. Please test.

Original comment by baker.st...@gmail.com on 15 Nov 2010 at 9:16

GoogleCodeExporter commented 9 years ago
Just issue clean up.

Original comment by baker.st...@gmail.com on 17 Sep 2012 at 12:42