[jboss-jira] [JBoss JIRA] Commented: (JBRULES-2850) The class org.drools.DroolsTestCase exists twice (same full name): once in drools-core and once in drools-compiler. Yet it differs.

Geoffrey De Smet (JIRA) jira-events at lists.jboss.org
Sun Dec 26 15:31:17 EST 2010


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

Geoffrey De Smet commented on JBRULES-2850:
-------------------------------------------

There was not test-jar dependency from drools-compiler to drools-core, which explains the weirdness (it was probably a workaround).


    <dependency>
      <groupId>org.drools</groupId>
      <artifactId>drools-core</artifactId>
      <type>test-jar</type>
    </dependency>

> The class org.drools.DroolsTestCase exists twice (same full name): once in drools-core and once in drools-compiler. Yet it differs.
> -----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBRULES-2850
>                 URL: https://issues.jboss.org/browse/JBRULES-2850
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Geoffrey De Smet
>            Assignee: Geoffrey De Smet
>            Priority: Optional
>             Fix For: 5.2.0.M2
>
>
> Same class name, same package. So only one is actually loaded by the JRE (the same class name cannot exist twice).
> It looks like the drools-compiler has less and can be deleted.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list