JAXB Implementation project has been contributed to Eclipse Foundation. This repository is for legacy review only. Please refer to the Eclipse EE4J Metro project for the very latest
The simple-regenerator plugin version 1.0 preserves code between the following
markers:
//-simple-preserve
....
//-simple-preserve
However, sometimes you cannot use these exact markers. IDEs like Eclipse
sometimes wreck the markers when changing the layout of your code. Also, using
these exact markers makes the plugin fail with a mysterious error meesage if
you mistakenly do something like this:
//-simple-preserve
====== SUGGESTED FIX =======
In the PluginImpl class, line 43, change the pattern to
"\r?\n
p
{Space}*//
p{Space}
*-simple-preserve
p
{Space}
*\r?
n"
It still requires the markers to be on lines of their own, but makes the plugin
a little more forgiving of whitespace.
Hello,
The simple-regenerator plugin version 1.0 preserves code between the following markers:
//-simple-preserve .... //-simple-preserve
However, sometimes you cannot use these exact markers. IDEs like Eclipse sometimes wreck the markers when changing the layout of your code. Also, using these exact markers makes the plugin fail with a mysterious error meesage if you mistakenly do something like this:
//-simple-preserve
====== SUGGESTED FIX ======= In the PluginImpl class, line 43, change the pattern to
"\r?\n p
{Space}*// p{Space}
*-simple-preserve p
{Space}
*\r? n"
It still requires the markers to be on lines of their own, but makes the plugin a little more forgiving of whitespace.
Thanks in advance,
Ben.
Environment
Operating System: All Platform: All
Affected Versions
[current]