[jboss-jira] [JBoss JIRA] (JBRULES-3647) drools-compiler generated manifest should have a optional package import to org.jboss.weld.environment.se.discovery.url

Cristiano Gavião (JIRA) jira-events at lists.jboss.org
Wed Oct 3 09:46:03 EDT 2012


    [ https://issues.jboss.org/browse/JBRULES-3647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12723677#comment-12723677 ] 

Cristiano Gavião edited comment on JBRULES-3647 at 10/3/12 9:45 AM:
--------------------------------------------------------------------

add an explicit import for org.jboss.weld packages seems to be resolved the problem.
{code}
 <Import-Package>!org.drools.*,
              <!-- java compilers are optional: only need one at most -->
              org.codehaus.janino.*;resolution:=optional,org.eclipse.jdt.*;resolution:=optional,org.jboss.weld.*;resolution:=optional,
              *
</Import-Package> 
{code}
                
      was (Author: cvgaviao):
    add an explicit import for org.jboss.weld packages seems to be resolved the problem.

 <Import-Package>!org.drools.*,
              <!-- java compilers are optional: only need one at most -->
              org.codehaus.janino.*;resolution:=optional,org.eclipse.jdt.*;resolution:=optional,org.jboss.weld.*;resolution:=optional,
              *
</Import-Package> 
                  
> drools-compiler generated manifest should have a optional package import to org.jboss.weld.environment.se.discovery.url
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBRULES-3647
>                 URL: https://issues.jboss.org/browse/JBRULES-3647
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-compiler
>    Affects Versions: 5.5.0.Beta1
>            Reporter: Cristiano Gavião
>            Assignee: Mark Proctor
>            Priority: Critical
>              Labels: osgi
>
> As stated by Mark Proctor in the drools list, the Weld dependency is not mandatory. So, the org.drools.compiler manifest should have the Import-Package to org.jboss.weld.environment.se.discovery.url as optional or not declared at all.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jboss-jira mailing list