Eclipse.classpath in SVN: JRE collision

I'm going to give Eclipse .classpathand .projectin the SVN, following the good advice that I have received here on of SO .

The problem is that some JRE definitions are unique to the developer's machine, for example:

<classpathentry kind="con" path="..JRE_CONTAINER/org..../Jeffs JRE"/>

If this line is fixed, it does not work on other machines that do not Jeffs JRE.

Any idea of ​​a workaround? Can JRE definitions also be used?

+1
source share
2 answers

I have never seen adding specific IDE configuration files as good practice, but this is another problem.

If you want to follow this path, you must use variables.

Java >

, , .

( Maven, )

+1

a > Java > > JRE, : JRE JRE. .classpath :

<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>

enter image description here

+5

All Articles