[
http://jira.codehaus.org/browse/MEVENIDE-563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_110051 ]
Milos Kleint commented on MEVENIDE-563:
---------------------------------------
Yes, you need to have the bean on the classpath of the project.
In j2se projects it means having it as library of the project, in maven projects it means declaring a dependency on the artifact defining the bean.
I'm not sure I follow where the problem is. I'm not using the palette myself much but I just tried to register a Panel instance from repository jar of Project A in the palette, in project B which depends on A, I opened another panel from project B and adde dthe panel from palette without problems.
> 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