[ 
https://jira.codehaus.org/browse/MECLIPSE-143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov closed MECLIPSE-143.
-----------------------------------

    Resolution: Won't Fix

Please refer to 
https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014
 if you're wondering why this issue was closed out.

Assignee, if you think you can fix this bug anytime soon, please reopen and 
proceed appropriately.

> eclipse:eclipse adds sourcepath or javadocpath to .classpath but not both
> -------------------------------------------------------------------------
>
>                 Key: MECLIPSE-143
>                 URL: https://jira.codehaus.org/browse/MECLIPSE-143
>             Project: Maven Eclipse Plugin
>          Issue Type: Bug
>          Components: Core : Dependencies resolution and build path 
> (.classpath)
>         Environment: Windows XP
> Maven 2.0.4
> maven-eclipse-plugin 2.2
>            Reporter: Edin Pezerovic
>            Assignee: Kenney Westerhof
>
> issuing a mvn eclipse:eclipse generates the .classpath file with either 
> <attributes> tag within classpathentry or a sourcepath-attribute for the 
> classpathentry, but never both. 
> I think, the "else" in the code below is the bug and should be removed. (File 
> EclipseClasspathWriter, Method addDependency)
> ......
>         if ( sourcepath != null )
>         {
>             writer.addAttribute( ATTR_SOURCEPATH, sourcepath );
>         }
>         ELSE if ( javadocpath != null )
>         {
>             writer.startElement( "attributes" ); //$NON-NLS-1$
>             writer.startElement( "attribute" ); //$NON-NLS-1$
>             writer.addAttribute( "value", "jar:file:/" + javadocpath + "!/" 
> ); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
>             writer.addAttribute( "name", "javadoc_location" ); //$NON-NLS-1$ 
> //$NON-NLS-2$
>             writer.endElement();
>             writer.endElement();
>         }
> .....



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to