[jboss-jira] [JBoss JIRA] Updated: (JBRULES-1905) Cannot declare type from outside the current package

Radim Marek (JIRA) jira-events at lists.jboss.org
Sun Dec 28 20:26:54 EST 2008


     [ https://jira.jboss.org/jira/browse/JBRULES-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radim Marek updated JBRULES-1905:
---------------------------------

    Attachment: bugreport.tar.gz


AppTest.java

testDeclareWithSamePackage works (similar to existing unit tests)
testDeclareWithDifferentPackage fails

> Cannot declare type from outside the current package
> ----------------------------------------------------
>
>                 Key: JBRULES-1905
>                 URL: https://jira.jboss.org/jira/browse/JBRULES-1905
>             Project: JBoss Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Radim Marek
>            Assignee: Mark Proctor
>             Fix For:  5.0.0.M4
>
>         Attachments: bugreport.tar.gz
>
>
> Type Declaration 
> declare StockTick
>   @role( event )
> end
> works only when the DRL package is the same as StockTick package (works for current tests as both is within org.drools). I'm going to attached maven project which shows the problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list