Issue
For example, Here I just want to comment this whenever I do not need this argument. I don't want to erase this. So, Is there any way to comment/uncomment the VM arguments in eclipse?
Solution
I do not believe there is a way to do that.
However, for -D options you could use the following work-around:
change
-Dlog4j.debug=trueto-DXXlog4j.debug=trueor similar
A system property whose name is not recognized by anything should simply be ignored.
(Hypothetically, an application could iterate all of the properties and do something with them all ... beyond simply printing / displaying them. But that is pretty contrived / perverse.)
Unfortunately this approach won't work for other options. In general, unrecognized JVM command line options will cause errors.
Answered By - Stephen C

0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.