Re: [rules-users] Still can't create a standalone application

2007-09-10 Thread MarkA
Okay, it's working now. The following zip file has everything in it except for the Drools jars - the txt file in the lib directory tells you which ones to put in there - it was too big to include them. http://www.nabble.com/file/p12595148/Basic%2BDrools.zip Basic+Drools.zip I had a few

Re: [rules-users] Still can't create a standalone application

2007-09-06 Thread MarkA
with the wizard in eclipse so I'm not sure what has happened! Anyway, I will persevere and post the results in case anyone else needs pointers. Thanks all. Mark. Mark Proctor wrote: MarkA wrote: Okay, many thanks for this. Firstly, I apologise if I am asking these questions in the wrong place, I don't

Re: [rules-users] NoClassDefFoundError for

2007-08-25 Thread MarkA
I've been trying all day and still can't get it to work. Is anyone able to produce a simple example, .java, .drl and whatever jars are required in a single directory, then zip it up so all I need to do is unzip it, then run it with 'java xxx.java -cp . ' That way I can look at the files to try

Re: [rules-users] NoClassDefFoundError for

2007-08-24 Thread MarkA
Using the simple files (based on the examples) I cannot get it to run outside of eclispe. Can anyone suggest any solution? Below is the command I am using at the moment (though I have tried lots of permutations, including putting every jar I can find in the JAR directory and running the code

Re: [rules-users] NoClassDefFoundError for

2007-08-24 Thread MarkA
Yeah, as I said in the post I have tried all that. I started with the 4 jars from the drools-bin archive (v4.0.0). Then added the 10 from the lib directory in there. None of that worked. Then I tried adding every jar I could fine - no luck. Then I tried just the v4.0.1 versions (just the 14

Re: [rules-users] NoClassDefFoundError for

2007-08-24 Thread MarkA
I should also say I followed the document too. My first try was: drools-core, mvel14-1.2beta27. then: drools-core, drools-compiler, antlr3-runtime-3.0, eclipse-jdt-core-3.2.3.v_686_R32x. I tried plenty of other combinations too but no joy. -- View this message in context:

Re: [rules-users] Logic Problems drools

2007-08-20 Thread MarkA
/?page_id=122 MarkA wrote: Are there examples online somewhere then? I just want a few more examples to examine really. That and find out how to run a drools app outside of eclipse without the noclassdefound error. I'll keep a look out on the list. Mark Proctor wrote: Ellen runs a little

Re: [rules-users] Logic Problems drools

2007-08-20 Thread MarkA
) Hope this works. Thanks, Manjax23 MarkA wrote: Hi, I downloaded the two examples. If I try to run the jar one I get the classdefnotfound error: java -jar SonsAgesPuzzle.jar Exception in thread main java.lang.NoClassDefFoundError: org/drools/WorkingMemory Any

[rules-users] Logic Problems drools

2007-08-18 Thread MarkA
I am a big fan of the logic problem puzzles (the ones with the grids) and would like to play with drools to solve a few - just for a laugh and to see if it can be done. I found a pretty simple one: Mrs. Robinson's 4th grade class took a field trip to the local zoo.

Re: [rules-users] NoClassDefFoundError for

2007-08-18 Thread MarkA
I'm getting this too. I use eclipse (3.2.2) and Drools 4. I created a very simple program from one of the examples. Basically a .java file and a .drl file. It works fine in the IDE but if I try it from the command line (DOS or MAC OSX) from either the java, the class or a jar, then they all