You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/04/06 20:13:26 UTC
[jira] Commented: (MPECLIPSE-22) JRE classpath not complete
The following comment has been added to this issue:
Author: Steve Peterson
Created: Tue, 6 Apr 2004 2:12 PM
Body:
Here is my workaround for this one. I am tired of waiting for the patch to be applied to the plugin. Add the following lines to your maven.xml.
<postGoal name="eclipse:generate-classpath">
<ant:replace file="${basedir}/.classpath"
summary="yes"
token="<classpathentry kind="var" rootpath="JRE_SRCROOT" path="JRE_LIB" sourcepath="JRE_SRC">"
value="<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">" />
</postGoal>
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPECLIPSE-22&page=comments#action_18273
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPECLIPSE-22
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPECLIPSE-22
Summary: JRE classpath not complete
Type: Bug
Status: Open
Priority: Minor
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-eclipse-plugin
Versions:
1.6
Assignee: Vincent Massol
Reporter: James A. Hillyerd
Created: Mon, 5 Apr 2004 5:10 PM
Updated: Tue, 6 Apr 2004 2:12 PM
Environment: Eclipse 2.1.2, Maven 1.0 RC2, Maven Eclipse Plugin 1.6
Description:
When I create a project inside eclipse, the built-in JRE classpath inclues: rt.jar, sunrsasign.jar, jsse.jar, jce.jar, charsets.jar, dnsns.jar, sunjce_provider.jar, ldapsec.jar, localedata.jar
This all comes from the following .classpath entry AFAIK:
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
The only entry I get when I use maven-eclipse to generate the the .classpath, the only entry I get is rt.jar from:
<classpathentry kind="var" rootpath="JRE_SRCROOT" path="JRE_LIB" sourcepath="JRE_SRC">
Maven's java:compile seems to include the same entries that Eclipse does, so I feel that this is a bug in the eclipse plugin.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org