« 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_110052 ]

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

My setup is this:

Client [1] (nbm) which depends on Server [2] (nbm).

Server defines a Bean which inherits from Library [2] (normal JAR). Basically you can think of the Server project as a library wrapper.

So perhaps it works in this 1:1 case you mentioned about but it doesn't work for me, maybe because my bean touches a lot of artifacts which are dependencies of Server module.

I'll try to make a simple example with just a bean and a more complex dependency structure.

Maybe I'm doing something wrong on my side, but it does work for normal projects so I assume it's maven-related.

Plus, I just noticed, I can't even open the forms that belong to Server and use that custom bean (declared in Server itself).

Sample graph:

 Client (nbm) --- (dep) -- > Server (nbm)
 Server (nbm) --- (dep) --> Library Wrapper (nbm) -- wraps --> Parent Bean Library (jar).
 Server (nbm) --- (dep) ---> Other JARs.

 The bean basically touches most of the Server's dependencies.

> 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