Facet uses JRE name. The JRE name may not be available on others computers. [message #227321] |
Tue, 27 January 2009 12:50 |
Eclipse User |
|
|
|
MYPROJECTROOT/.settings/org.eclipse.jst.common.project.facet .core.prefs
contains:
#Mon Jan 26 17:05:44 CET 2009
classpath.helper/org.eclipse.jdt.launching.JRE_CONTAINER\:\: org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType\:\ :java-6-sun-1.6.0.07/owners=jst.java\:6.0
eclipse.preferences.version=1
In "Window / Preferences / Java / Installed JREs" I have the JRE Name
"java-6-sun-1.6.0.07" as seen in the above file. But it's not likely that
every other developers JRE will be named the same.
What is the best thing I can do before I check in my project (including
classpath , .project and .settings/* ) to make it as easy as possible for
someone else to check out and run it? What happens if someone checks it
out but the named JRE does not exist? (i.e. how much will Eclipse help
out?)
Should I write some instructions that the developer should rename or
duplicate their JRE for Java 6 from Sun. And give them a name to use. So
that they can do it before checking out the project.
Some advice would be much appreciated!
Best regards, Kent
|
|
|
Re: Facet uses JRE name. The JRE name may not be available on others computers. [message #227329 is a reply to message #227321] |
Tue, 27 January 2009 14:52 |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
On 1/27/2009 7:50 AM, Kent Larsson wrote:
>
> MYPROJECTROOT/.settings/org.eclipse.jst.common.project.facet .core.prefs
> contains:
>
> #Mon Jan 26 17:05:44 CET 2009
> classpath.helper/org.eclipse.jdt.launching.JRE_CONTAINER\:\: org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType\:\ :java-6-sun-1.6.0.07/owners=jst.java\:6.0
>
> eclipse.preferences.version=1
>
>
> In "Window / Preferences / Java / Installed JREs" I have the JRE Name
> "java-6-sun-1.6.0.07" as seen in the above file. But it's not likely
> that every other developers JRE will be named the same.
>
> What is the best thing I can do before I check in my project (including
> classpath , .project and .settings/* ) to make it as easy as possible
> for someone else to check out and run it? What happens if someone checks
> it out but the named JRE does not exist? (i.e. how much will Eclipse
> help out?)
>
> Should I write some instructions that the developer should rename or
> duplicate their JRE for Java 6 from Sun. And give them a name to use. So
> that they can do it before checking out the project.
Can't you just select an Execution Environment instead of a particular
JRE? I don't know what WTP does with it, but that is how I always
configure "plain old" Java projects to avoid this problem.
Hope this helps,
Eric
|
|
|
|
Powered by
FUDForum. Page generated in 0.03992 seconds