Thanks for the warning!
I tested this with a path that contains spaces. For some reason I don't have
any problems with the corresponding URLs. Nevertheless I tried to convert
those URLs into URIs and THEN I see the problem of the spaces not being
accepted.
As the URLClassLoader takes URLs, this
the path.
>
> I just learned this the hard way. You may need to convert your URL to a URI.
>
> Good luck!
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Fermion
> Sent: Thursday, October 11, 2007 5:29 AM
> To: rule
convert your URL to a URI.
Good luck!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Fermion
Sent: Thursday, October 11, 2007 5:29 AM
To: rules-users@lists.jboss.org
Subject: Re: [rules-users] Basic questions about rule deployment
Thank you very much
Thank you very much!
I followed your advice and created URLs for my .drl and .dsl files.
Then I created a new URLClassLoader instance with these two URLs.
Finally I assigned this class loader to my packager builder using:
myPackageBuilder.getPackageBuilderConfiguration().setClassLoader(myURLClas
You'll have to provide your own classloader which can read resources
both from your .jar file and from where you keep your .drl files.
See java.net.URLClassLoader for how to do that. (Include two URLs: one
to your .jar, one where you keep the .drl files.) You can pass the
loader to the package bui
Hi,
I've finished my first small application using JBoss Rules. My current
deployment "strategy" is that I want to have a single executable .jar file
containing my application and an external (not included in the .jar) folder
that contains the rules that should be used.
Unfortunately, this seems
I will try to answer the questions as best I can and hopefully someone else
will chime in:
1) Drools use to be the former name of JBoss Rules. I am assuming they did
not see the need to re-package everything once it went under the JBoss
umbrella. This is similar to how Hibernate works.
2) .drl
Hello,
I've been reading about Jboss Drools and I have questions to do.
1. I still don't undertand why in the download section (about jboss rules)
exist Jboss Rules and Drools. What's the difference?
2. When I downloaded the examples, I found files like .drl (drools files,
they allow to write