You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Alexis Midon (JIRA)" <ji...@apache.org> on 2011/05/25 01:05:47 UTC

[jira] [Created] (BUILDR-584) eclipse plugin should use absolute path

eclipse plugin should use absolute path
---------------------------------------

                 Key: BUILDR-584
                 URL: https://issues.apache.org/jira/browse/BUILDR-584
             Project: Buildr
          Issue Type: Bug
            Reporter: Alexis Midon


When a project depends on non-maven artifacts, the Eclipse plugin create a classpathEntry with a relative path. This is wrong. The path should be absolute.

"Returns the path of this classpath entry. The meaning of the path of a classpath entry depends on its entry kind:
Source code in the current project (CPE_SOURCE) - The path associated with this entry is the ABSOLUTE path to the root folder."

See http://publib.boulder.ibm.com/infocenter/iadthelp/v6r0/index.jsp?topic=/org.eclipse.jdt.doc.isv/reference/api/org/eclipse/jdt/core/class-use/IClasspathEntry.html

Also, for some reasons, the directory dependencies are added as sources. This does not make much sense since they are defined as dependencies.




--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (BUILDR-584) eclipse plugin should use absolute path

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Boisvert resolved BUILDR-584.
----------------------------------

    Resolution: Fixed

Alexis, I came up with a different way to fix this.  Can you try it to make sure it works for you as well?

boisvert@honeybrown:~/git/buildr$ git svn dcommit
	M	CHANGELOG
	M	lib/buildr/ide/eclipse.rb
r1136980 = 46f2960e1b3a67c27c4ecb3cc79f7cf9fca486bf (refs/remotes/origin/trunk)


> eclipse plugin should use absolute path
> ---------------------------------------
>
>                 Key: BUILDR-584
>                 URL: https://issues.apache.org/jira/browse/BUILDR-584
>             Project: Buildr
>          Issue Type: Bug
>            Reporter: Alexis Midon
>         Attachments: BUILDR-584.patch
>
>
> When a project depends on non-maven artifacts, the Eclipse plugin create a classpathEntry with a relative path. This is wrong. The path should be absolute.
> "Returns the path of this classpath entry. The meaning of the path of a classpath entry depends on its entry kind:
> Source code in the current project (CPE_SOURCE) - The path associated with this entry is the ABSOLUTE path to the root folder."
> See http://publib.boulder.ibm.com/infocenter/iadthelp/v6r0/index.jsp?topic=/org.eclipse.jdt.doc.isv/reference/api/org/eclipse/jdt/core/class-use/IClasspathEntry.html
> Also, for some reasons, the directory dependencies are added as sources. This does not make much sense since they are defined as dependencies.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (BUILDR-584) eclipse plugin should use absolute path

Posted by "Alexis Midon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexis Midon updated BUILDR-584:
--------------------------------

    Attachment: BUILDR-584.patch

here is a patch

> eclipse plugin should use absolute path
> ---------------------------------------
>
>                 Key: BUILDR-584
>                 URL: https://issues.apache.org/jira/browse/BUILDR-584
>             Project: Buildr
>          Issue Type: Bug
>            Reporter: Alexis Midon
>         Attachments: BUILDR-584.patch
>
>
> When a project depends on non-maven artifacts, the Eclipse plugin create a classpathEntry with a relative path. This is wrong. The path should be absolute.
> "Returns the path of this classpath entry. The meaning of the path of a classpath entry depends on its entry kind:
> Source code in the current project (CPE_SOURCE) - The path associated with this entry is the ABSOLUTE path to the root folder."
> See http://publib.boulder.ibm.com/infocenter/iadthelp/v6r0/index.jsp?topic=/org.eclipse.jdt.doc.isv/reference/api/org/eclipse/jdt/core/class-use/IClasspathEntry.html
> Also, for some reasons, the directory dependencies are added as sources. This does not make much sense since they are defined as dependencies.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (BUILDR-584) eclipse plugin should use absolute path

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13060391#comment-13060391 ] 

Hudson commented on BUILDR-584:
-------------------------------

Integrated in Buildr-ci-build #235 (See [https://builds.apache.org/job/Buildr-ci-build/235/])
    

> eclipse plugin should use absolute path
> ---------------------------------------
>
>                 Key: BUILDR-584
>                 URL: https://issues.apache.org/jira/browse/BUILDR-584
>             Project: Buildr
>          Issue Type: Bug
>            Reporter: Alexis Midon
>         Attachments: BUILDR-584.patch
>
>
> When a project depends on non-maven artifacts, the Eclipse plugin create a classpathEntry with a relative path. This is wrong. The path should be absolute.
> "Returns the path of this classpath entry. The meaning of the path of a classpath entry depends on its entry kind:
> Source code in the current project (CPE_SOURCE) - The path associated with this entry is the ABSOLUTE path to the root folder."
> See http://publib.boulder.ibm.com/infocenter/iadthelp/v6r0/index.jsp?topic=/org.eclipse.jdt.doc.isv/reference/api/org/eclipse/jdt/core/class-use/IClasspathEntry.html
> Also, for some reasons, the directory dependencies are added as sources. This does not make much sense since they are defined as dependencies.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (BUILDR-584) eclipse plugin should use absolute path

Posted by "Peter Donald (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Donald closed BUILDR-584.
-------------------------------


> eclipse plugin should use absolute path
> ---------------------------------------
>
>                 Key: BUILDR-584
>                 URL: https://issues.apache.org/jira/browse/BUILDR-584
>             Project: Buildr
>          Issue Type: Bug
>            Reporter: Alexis Midon
>         Attachments: BUILDR-584.patch
>
>
> When a project depends on non-maven artifacts, the Eclipse plugin create a classpathEntry with a relative path. This is wrong. The path should be absolute.
> "Returns the path of this classpath entry. The meaning of the path of a classpath entry depends on its entry kind:
> Source code in the current project (CPE_SOURCE) - The path associated with this entry is the ABSOLUTE path to the root folder."
> See http://publib.boulder.ibm.com/infocenter/iadthelp/v6r0/index.jsp?topic=/org.eclipse.jdt.doc.isv/reference/api/org/eclipse/jdt/core/class-use/IClasspathEntry.html
> Also, for some reasons, the directory dependencies are added as sources. This does not make much sense since they are defined as dependencies.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira