[
https://jira.codehaus.org/browse/MNBMODULE-167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=297236#comment-297236
]
Emmanuel CAMUS edited comment on MNBMODULE-167 at 4/26/12 4:34 AM:
-------------------------------------------------------------------
A patch could be to add this in condition line 276-277 of
CreateClusterAppMojo.java :
{quote}
// now figure which one of the jars
is the module jar..
if ( path.endsWith( ".jar" ) &&
!path.contains( "locale/" )
&& !path.contains( "docs/" )
/** MNBMODULE-167 / start patch */ && !path.contains("ext/") /**
end patch / MNBMODULE-167 */)
{quote}
was (Author: ecamus):
A patch could be to add this in condition line 276-277 :
{quote}
// now figure which one of the jars
is the module jar..
if ( path.endsWith( ".jar" ) &&
!path.contains( "locale/" )
&& !path.contains( "docs/" )
/** MNBMODULE-167 / start patch */ && !path.contains("ext/") /**
end patch / MNBMODULE-167 */)
{quote}
> CreateClusterAppMojo : multiple OSGI bundle not included even if one is in
> modules ext directory
> ------------------------------------------------------------------------------------------------
>
> Key: MNBMODULE-167
> URL: https://jira.codehaus.org/browse/MNBMODULE-167
> Project: Maven NetBeans Module Plugin
> Issue Type: Improvement
> Affects Versions: 3.7
> Reporter: Emmanuel CAMUS
> Assignee: Jesse Glick
> Attachments: nbmmodule167appsuite.zip
>
>
> Some NBM modules include dependencies for "OSGI" jar but whitout enabled OSGI
> dependencies (ex : groovy module with groovy-all.jar).
> We want to include for another module the groovy-all.jar as an OSGI
> dependency and use the groovy netbeans module. In the cluster-app goal our
> dependency is not included caused the one in the groovy module (depends on
> the order there are added to app cluster).
> One solution is to ignore jar in ext directory to execute code between lines
> 278 and 289 in the ile CreateClusterAppMojo.java.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.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