Re: [mevenide-user] debugging sources when all project are built with "attach-sources"

"Milos Kleint" <[email protected]> Wed, 9 Apr 2008 09:13:22 +0200
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.user
Message-ID <[email protected]>
On Wed, Apr 9, 2008 at 9:00 AM, Mick Semb Wever <[email protected]> wrote:
> All our projects are built with "attach-sources" which results in every
>  jar in our local repository paired with a matching -sources.jar
>
>  Mevenide, i presume, gets into some confusion when then debugging as all
>  these -sources.jar appear in the debugging sources list _before_ the
>  corresponding project sources. This gives headaches with the file in the
>  editor being read-only and will breakpoints not always working.
>
>  Is this a familiar problem? Could someone point to the part of the code
>  responsible for this behaviour?
>  any help would be appreciated.

probably a bug.
org.codehaus.mevenide.netbeans.debug.JPDAStart could be a starting point.
However it will probably boil down to what
SourceForBinaryQuery.findSourceRoots(url) api call returns, and how
the implementations of SourceForBinaryQueryImplementation  are ordered
in the META-INF/services

Milos

>  ~mck
>
>  --
>  "Be kind. For everyone you meet is fighting a hard battle." Plato
>  | semb.wever.org | sesat.no | sesam.no |
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email