[rules-users] drl file importing problem intoGuvnor5.2

domingo sprabakkar at gmail.com
Thu Dec 22 17:48:25 EST 2011


Hi,
Thanks for your attention!!!..

I have a simple rule as follows ...

import com.sample.Message;
 
dialect "java" 
 
rule "Hello World"
    when
        eval(true)
    then
        System.out.println( "Ok I know!!!!!" );
end

when I import into Guvnor, Guvnor automatically change the file into as
follows and fails to compile...
package com.sample 
 
import com.sample.Message; 
dialect "java" 
  
  
  
 
  
rule 'Hello World' 
dialect 'mvel' 
when 
	eval(true) 
then 
 	System.out.println( "Ok I know!!!!!" ); 
  
end 


My question is ...how come this Guvnor5.2 overriding my dialect?this
behavior of Guvnor is little disturbing...
can any one tell me whats going on in Guvnor5.2.....

-----
with kind regards,

--
View this message in context: http://drools.46999.n3.nabble.com/drl-file-importing-problem-intoGuvnor5-2-tp3607697p3607697.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list