[ 
http://jira.codehaus.org/browse/MECLIPSE-344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_115894
 ] 

Richard van Nieuwenhoven commented on MECLIPSE-344:
---------------------------------------------------

a small fix for my patch that will give the class path container lookup partly 
back to eclipse.

---------ReadWorkspaceLocations---------------
//add constant
private static final String CLASSPATHENTRY_STANDARD = 
CLASSPATHENTRY_DEFAULT+"/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/";
---------ReadWorkspaceLocations---------------
//change the method to add defaults known by eclipse
public static HashMap readAvailableJREs( String workspaceLocation, Log logger )
    {
        HashMap jreMap = new HashMap();
        jreMap.put( "1.2", CLASSPATHENTRY_STANDARD+"J2SE-1.2" );
        jreMap.put( "1.3", CLASSPATHENTRY_STANDARD+"J2SE-1.3" );
        jreMap.put( "1.4", CLASSPATHENTRY_STANDARD+"J2SE-1.4" );
        jreMap.put( "1.5", CLASSPATHENTRY_STANDARD+"J2SE-1.5" );
        jreMap.put( "5", jreMap.get("1.5") );
        jreMap.put( "1.6", CLASSPATHENTRY_STANDARD+"JavaSE-1.6" );
        jreMap.put( "6", jreMap.get("1.6") );
---------EclipsePluginTest---------------
// changed test result in testProject38and39()
doTestProject38and39( "project-38", workspace15, "J2SE-1.3" ,null);
-----------------------------------------

> connecting existing workspace artifact-projects
> -----------------------------------------------
>
>                 Key: MECLIPSE-344
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-344
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: New Feature
>          Components: Dependencies resolution and build path
>            Reporter: Richard van Nieuwenhoven
>            Assignee: Arnaud Heritier
>         Attachments: MECLIPSE-344.patch, MECLIPSE-344.tgz, 
> workspace-new-files.tgz, workspace.patch, workspace_with_limit.patch
>
>
> This patch enables you to specify your workspace, and all dependent artefacts 
>  that are available in your eclipse-workspace will be attached  as project 
> references even if they are not in the reactor.
> the property can be set with -DworkspaceToConnect=.....
> I did not have the time to create Test cases but, i maybe someone can help 
> with that!
> The patch is based on the MECLIPSE-333 branch.
> as usual the new files are in the extra tgz.

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to