[rules-users] Build package 'default' Guvnor

Kris Verlaenen kris.verlaenen at cs.kuleuven.be
Mon Nov 2 19:21:15 EST 2009


Your process builds fine if it's part of the "defaultPackage" package,
but not if it's in the "default" package? That doesn't make sense ;)

Is there anything else in the defaultPackage (rules, model files, ...)?

Kris

Quoting Eugenio Abello <eugenio.abello at gmail.com>:

> thanks for your help,
> 
> So this error occurs when you are trying to build the "default"
> package
> in Guvnor?
> 
> Yes.
> 
> 
> The process you are adding to Guvnor, which one is that? Could you
> share
> that with us?
> 
> is a simple hello world
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <process xmlns="http://drools.org/drools-5.0/process"
>          xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
>         
>
xs:schemaLocation="http://drools.org/drools-5.0/processdrools-processes-5.0.xsd"
>          type="RuleFlow" name="ruleflow" id="com.sample.ruleflow"
> package-name="com.sample" >
> 
>   <header>
>   </header>
> 
>   <nodes>
>     <start id="1" name="Start" x="16" y="16" width="48" height="48"
> />
>     <actionNode id="2" name="Hello" x="96" y="16" width="80"
> height="48" >
>         <action type="expression" dialect="mvel"
> >System.out.println("Hello
> World");</action>
>     </actionNode>
>     <end id="3" name="End" x="226" y="14" width="48" height="48" />
>   </nodes>
> 
>   <connections>
>     <connection from="1" to="2" />
>     <connection from="2" to="3" />
>   </connections>
> 
> </process>
> 
> 
> Another antecedent.  When add hellow_world.rf to Guvnor to
> 'defaultPackage'
> and build this packet, everything works properly. 'defaultPackage'
> has
> already been created. 'defualt' I define it.
> 
> Thx
> eugenio
> 




Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm



More information about the rules-users mailing list