What are you trying to achieve?
As each email goes back and forth we appear to be moving from your original
questions to, perhaps, nearer your requirement.
If you upload a XLS decision table to Guvnor and the necessary supporting
POJO model file you should be able to build the package therefrom,
But how do Guvnor do that?
In Guvnor i can upload a POJO and it integrate it into the PKG.
--
View this message in context:
http://drools.46999.n3.nabble.com/Problem-in-adding-a-Class-to-PKG-tp3437199p3440653.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_
On 21 October 2011 12:22, DerLonG wrote:
>
> laune wrote:
> >
> > If you can't import it with a DRL import, it's either misspelled or not
> in
> > the classpath.
> >
> I try to add it with the following code:
>
> PackageBuilder builder = new PackageBuilder();
> Resource rs =
> ResourceFactory.new
laune wrote:
>
> If you can't import it with a DRL import, it's either misspelled or not in
> the classpath.
>
I try to add it with the following code:
PackageBuilder builder = new PackageBuilder();
Resource rs =
ResourceFactory.newClassPathResource("de\\test\\xml\\KundenEntscheidung");
builder
Yes, i have to import the Java class file.
Sorry, I forgot to mention that.
--
View this message in context:
http://drools.46999.n3.nabble.com/Problem-in-adding-a-Class-to-PKG-tp3437199p3437252.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
On 20 October 2011 11:58, DerLonG wrote:
> I imported the class in my DRL with the following lines:
> import de.test.xml.KundenEntscheidung;
> global KundenEntscheidung dieKundenEntscheidung;
>
> But i can't use it in a simple hand coded DRL :( ...
>
If you can't import it with a DRL import, it'
I imported the class in my DRL with the following lines:
import de.test.xml.KundenEntscheidung;
global KundenEntscheidung dieKundenEntscheidung;
But i can't use it in a simple hand coded DRL :( ...
How can i generate the DRL from the class file?
--
View this message in context:
http://drools
Did you import KundenEntscheidung into the spreadsheet?
Can you import and use the class in a simple handcoded DRL?
-W
On 20 October 2011 11:42, DerLonG wrote:
> Hi,
>
> I have a problem when i compile a spreadsheet into a PKG. Hope you can
> help me.
> (Bevor this i used Guvnor to create a PK
Hi,
I have a problem when i compile a spreadsheet into a PKG. Hope you can
help me.
(Bevor this i used Guvnor to create a PKG from Spreadsheet, but i decide to
do this by my own)
The question is, how do I add this class to the package builder?
This is my Programm:
public static void main