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

Mark Proctor mproctor at codehaus.org
Wed Sep 5 21:26:07 EDT 2007


drools-4.0.1-bin.zip contains all the deps you could need - to run this 
example all I did was dump them all in the lib dir, and remove some just 
so the zip wasn't too big.

We fully document all dependencies here:
http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/README_DEPENDENCIES.txt

Mark
Garry Brother wrote:
> Ok, so why not make this information (dependencies required to build 
> outside Eclipse)
> available as part of the examples download?  I mean, how many times do 
> you want to
> answer this same question?
>
> Garry
>
>
> ------------------------------------------------------------------------
> > Date: Wed, 5 Sep 2007 23:57:54 +0100
> > From: mproctor at codehaus.org
> > To: rules-users at lists.jboss.org
> > Subject: Re: [rules-users] Still can't create a standalone application
> >
> > sigh.... I've zipped up droools-examples eclipse project with a
> > populated lib directory and a dos .bat file. Should be enough to get 
> you
> > over the basics of java classpath configuration:
> > 
> http://wiki.jboss.org/wiki/PageInfo.jsp?page=JBossRules%2Fdrools-examples-401-runfib.zip
> >
> > Mark
> > MarkA wrote:
> > > I'm close to giving up!
> > >
> > > No matter what I do I get the noclassdeffound error. I can't get 
> anything
> > > that uses Drools to work outside of eclipse.
> > > I've now tried using javac and I still get errors, the first is:
> > > 
> ----------------------------------------------------------------------------------------------------------------
> > >
> > > [javac] [search path for source files:
> > > [/Users/mark/Documents/eclipse/drools-test-mini/src]]
> > > [javac] [search path for class files: [... (lots of paths removed) ...
> > > /Users/mark/Documents/eclipse/drools-test-mini/JAR
> > > ...]]
> > > ...
> > > [javac]
> > > 
> /Users/mark/Documents/eclipse/drools-test-mini/src/com/mda/dt/DroolsTest.java:6:
> > > package org.drools does not exist
> > > [javac] import org.drools.RuleBase;
> > > [javac] ^
> > >
> > > 
> ----------------------------------------------------------------------------------------------------------------
> > >
> > > But the directory 
> '/Users/mark/Documents/eclipse/drools-test-mini/JAR' has
> > > the following:
> > >
> > > antlr-runtime-3.0.jar drools-compiler-4.0.1.jar
> > > mvel14-1.2rc4rv908.jar xpp3_min-1.1.3.4.O.jar
> > > core-3.2.3.v_686_R32x.jar drools-core-4.0.1.jar
> > > xercesImpl-2.4.0.jar xstream-1.2.2.jar
> > > drools-ant-4.0.1.jar jxl-2.4.2.jar
> > > xml-apis-1.0.b2.jar
> > >
> > > The org.drools.RuleBase is in the drools-core jar file so what is 
> it that I
> > > am doing wrong?
> > >
> > >
> > >
> > >
> >
> > _______________________________________________
> > rules-users mailing list
> > rules-users at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/rules-users
>
> ------------------------------------------------------------------------
> Discover the new Windows Vista Learn more! 
> <http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE>
> ------------------------------------------------------------------------
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070906/7e945c95/attachment.html 


More information about the rules-users mailing list