Sunday, 15 January 2012

java - eclipse removes -javaagent as vm argument -



java - eclipse removes -javaagent as vm argument -

i want edit vm arguments of spring project in eclipse. default vm arguments are:

-xx:maxpermsize=256m -xmx512m

then want add together javaagent arg this:

-xx:maxpermsize=256m -xmx512m -javaagent:${settings.localrepository}\org\springframework\spring-instrument\${org.springframework.version}\spring-instrument-${org.springframework.version}.jar

i added necessary variables. click apply (everything still ok) click ok , closes dialog. when reopen same run configuration, -javaagent arg has dissapeared... , old config of

-xx:maxpermsize=256m -xmx512m

is back. can explain me what's going on? i'm using eclipse version: 4.2.1 maven , spring plugins , configuration gwt project.

gwt version: 2.5

google plugin version: 3.1.3

eclipse version: 4.2.1

maybe downgrading 1 of these help, ideas?

java eclipse spring javaagents google-plugin-eclipse

No comments:

Post a Comment