Re: JUnit and classpath
by J Michael Dean
Thanks. When I do that, there is no reference to org.objectweb.asm,
nor is there even any reference to any asm library. The information is
about 800 lines long and it clearly shows classes loading from my
"minimal core Drools" plugin; when I add the entire Drools
distribution to the classpath I get a similar dump with loading from
the complete Drools distribution. I am attaching a text file with
this information but I am guessing it will get stripped away by the
server. I very much appreciate your help with this.
I
On Jan 2, 2008, at 5:04 AM, rules-users-request(a)lists.jboss.org wrote:
>
> Message: 8
> Date: Wed, 2 Jan 2008 10:00:46 -0200
> From: "Edson Tirelli" <tirelli(a)post.com>
> Subject: Re: [rules-users] Re: rules-users Digest, Vol 13, Issue 48
> To: "Rules Users List" <rules-users(a)lists.jboss.org>
> Message-ID:
> <e6dd5ba30801020400h2f0a16eyec3ba476c1b36f66(a)mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Mike,
>
> I don't remember right now the exact flag to dump classpath, but
> adding
> "-verbose:class" as a VM parameter on your launch configuration
> shall do the
> trick. Just look for "org.objectweb.asm" package's Classes being
> loaded and
> you will know where they are being loaded from. You will easily be
> able to
> see if there is any other asm library clashing with the mvel
> required ones.
>
> []s
> Edson
>
> 2007/12/31, J Michael Dean <mdean77(a)comcast.net>:
>>
>> Sorry - am using Eclipse in OSX and have no clue how to ask it to
>> dump its
>> classpath.I can print out the .classpath file but this is clearly not
>> really relevant.
>>
>> Mike,
>>
>> This looks like a classpath problem indeed. Did you tried asking
>> the JVM
>> to dump its classpath so that you can know for sure what jars are
>> included
>> and if any of them embeds a non-compatible ASM version ?
>>
>> []s
>> Edson
>>
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users(a)lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>>
>
>
18 years
how to get value form rule
by Rahul Upadhyay
Hi
I have written a struts application, I write rule through BRMS (using
guided editor ) . here in then (RHS) part It always create new object of my
class and then set the value and I want to set the value in my object so
that can be visiable.
My rule file is following below
rule "password"
dialect "mvel"
when
A1RegistrationForm( passwd1 == ( passwd2 ) )
then
A1RegistrationForm fact0 = new A1RegistrationForm();
fact0.setMessage( "password is matched" );
insert( fact0 );
end
...........................................
I want to setMessage in myobject which is declared in my struts
application, instead of fact0 object in then part.
Please reply
Thanks in advance
--
View this message in context: http://www.nabble.com/how-to-get-value-form-rule-tp14575238p14575238.html
Sent from the drools - user mailing list archive at Nabble.com.
18 years
Re: rules-users Digest, Vol 13, Issue 48
by J Michael Dean
Sorry - am using Eclipse in OSX and have no clue how to ask it to dump
its classpath.
I can print out the .classpath file but this is clearly not really
relevant.
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="tests"/>
<classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con"
path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="con"
path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Thanks for your reply. I am looking forward to solving this issue.
- Mike
> I can print out
>
> Message: 1
> Date: Mon, 31 Dec 2007 09:58:06 -0200
> From: "Edson Tirelli" <tirelli(a)post.com>
> Subject: Re: [rules-users] JUnit testing problem
> To: "Rules Users List" <rules-users(a)lists.jboss.org>
> Message-ID:
> <e6dd5ba30712310358y555bf067laaf1c8b5a0acda7c(a)mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Mike,
>
> This looks like a classpath problem indeed. Did you tried asking
> the JVM
> to dump its classpath so that you can know for sure what jars are
> included
> and if any of them embeds a non-compatible ASM version ?
>
> []s
> Edson
>
18 years