[jbosstools-issues] [JBoss JIRA] (JBIDE-14990) Enable Source Lookup for PDE projects

Fred Bricon (JIRA) jira-events at lists.jboss.org
Tue Jun 25 04:48:21 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-14990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12784150#comment-12784150 ] 

Fred Bricon edited comment on JBIDE-14990 at 6/25/13 4:48 AM:
--------------------------------------------------------------

BTW my patch also fixes bad source attachments for maven projects. If no attachment is found on a maven project, source lookup is ignored to let m2e do its thing. If there's already an attachment and the file exists, m2e will ignore it, even if the attachment is invalid. That's where we step in and make it work.
                
      was (Author: fbricon):
    BTW my patch also fixes bad source attachments for maven projects. If no attachement is found on a maven project, source lookup is ignored to let m2e do its thing.
                  
> Enable Source Lookup for PDE projects
> -------------------------------------
>
>                 Key: JBIDE-14990
>                 URL: https://issues.jboss.org/browse/JBIDE-14990
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: maven
>    Affects Versions: 4.1.0.Beta2
>            Reporter: Fred Bricon
>            Assignee: Fred Bricon
>              Labels: new_and_noteworthy
>             Fix For: 4.1.0.CR1
>
>
> * Import org.jboss.tools.maven.sourcelookup.core
> * open a class from maven-core-3.0.4.jar in the Plugin dependencies
> * source lookup should kick in but it doesn't
> PDE actually assign the sourcePath to maven-core-3.0.4.jar itself.
> Source lookup only checks a sourcePath file is set and exists. It should also check the attached source actually contains a matching source file.
> I have some stuff ready locally. Will publish tomorrow.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list