Closed GoogleCodeExporter closed 9 years ago
Hi doraz,
Thanks for reporting this. I will look into this soon.
I'm not sure about "The ignoreMissingFile flag should also apply to the
tokenValueMap file as well." - I'll have to think on that one.
I will also look into making more examples for the tokenValueMap.
Thanks again,
Steven
Original comment by baker.st...@gmail.com
on 14 Jul 2011 at 11:55
Hi Steven,
I found a work-around for this problem by adding
"${project.build.directory}/../" before the path to my tokenValueMap. If you
don't think the "ignoreMissingFile" element should be used for the
tokenValueMap, maybe consider a new parameter.
My situation is that we are using this to customize a configuration for our
application. If a developer wants to use the default configuration, the file
defined in tokenValueMap is empty. It would be better if the file did not
have to exist, but the entry can still exist in the pom. This can be a
future feature, but I thought I would bring it up at this time.
Thanks again,
Steve
Original comment by doraz1...@gmail.com
on 15 Jul 2011 at 3:06
[deleted comment]
[deleted comment]
I have completed the code change for the tokenValueMap file missing the base
dir prefix. This will be ready in the next release: 1.3.9.
If you're keen to try it earlier, you can check-out and build this plugin from
the source. (See InstallationGuide for more details).
However, this version does not have the ignoring of missing tokenValueMap
files. You could always modify the source (see ReplacerMojo.java around where
ignore missing file is implemented).
I think I will end up adding another parameter for this function rather than
re-use the ignoreMissingFile parameter as that would be a existing
functionality change. Adding a new parameter would be better for people
upgrading without having to change their configuration. However, I am sure you
understand why I would be hesitant in adding new parameters due to the now
significant amount of exist parameters. (You just have to look at the
UsageGuide page).
I shall implement this change in a separate Issue.
Original comment by baker.st...@gmail.com
on 19 Jul 2011 at 6:15
Just issue clean up.
Original comment by baker.st...@gmail.com
on 17 Sep 2012 at 12:44
Original issue reported on code.google.com by
doraz1...@gmail.com
on 14 Jul 2011 at 7:25