« Return to Thread: [jira] Created: (MEVENIDE-563) Maven project doesn't work with Palette Manager

[jira] Commented: (MEVENIDE-563) Maven project doesn't work with Palette Manager

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View in Thread


    [ http://jira.codehaus.org/browse/MEVENIDE-563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_110061 ]

Emilian Bold commented on MEVENIDE-563:
---------------------------------------

Ok, my bad. I *can* use the Bean if using a proper Library for the Palette Manager with all the needed JARs.

The problem was a bit more subtle. From long ago, when I first migrated to Mevenide, I had some compile problems. So I've added as a dependency something like this: compile dependency for the nbm library wrapper and provided dependency for the jar I was wrapping with the library wrapper.

Well, it seems that the "provided" scope overrided the "compile" scope from the wrapper (which has a dependency on it).

So, the Palette Manager won't find the JAR due to this. Interesting.

Sorry for the spam, this was most unexpected.

> Maven project doesn't work with Palette Manager
> -----------------------------------------------
>
>                 Key: MEVENIDE-563
>                 URL: http://jira.codehaus.org/browse/MEVENIDE-563
>             Project: mevenide
>          Issue Type: Bug
>          Components: mevenide2-netbeans
>    Affects Versions: NB_2.2
>         Environment: Java 5, OSX, NetBeans 5.5.1, latest Mevenide from the update center
>            Reporter: Emilian Bold
>            Assignee: Milos Kleint
>             Fix For: NB_FUTURE
>
>
> The NetBeans form editor allows users to register their own components.
> But Maven2 projects can't be used at all. Opening a JavaBean and selecting Tools->Add to Palette... gives an error that it can't be used.
> Normally the Palette Manager should be able to use either the classes from targer/ or the JARs from the local maven repo.
> From the little code I've read in the Palette Manager classes, it uses the project's classloader. Perhaps this is what's missing (or maybe it's more subtle than that...)

--
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

       

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

    http://xircles.codehaus.org/manage_email

 « Return to Thread: [jira] Created: (MEVENIDE-563) Maven project doesn't work with Palette Manager