I tried what’s documented at the wiki page, in Eclipse, Run -> Run, choose

Guvnor (the other choice was Guvnor.mac).  It gave me this error:

 

The archive: /drools-guvnor/target/drools-guvnor/WEB-INF/lib/mvel2-2.0.9-SNAPSHOT.jar which is referenced by the classpath, does not exist.

 

Looking in the source tree, I found this instead:

 

drools-guvnor/target/drools-guvnor/WEB-INF/lib/mvel2-2.0.10.jar

 

(I’m working with drools-5.0-src.zip downloaded from

http://www.jboss.org/drools/downloads.html)

 

Can anyone tell me where this is configured?  File search in

Eclipse didn’t turn it up.

 


From: rules-dev-bounces@lists.jboss.org [mailto:rules-dev-bounces@lists.jboss.org] On Behalf Of Mulcahy, Lawrence
Sent: Monday, October 12, 2009 11:06 AM
To: 'Rules Dev List'
Subject: Re: [rules-dev] Guvnor in hosted mode

 

OK, there is some documentation at

http://www.jboss.org/community/wiki/RulesRepositoryBuildInstructions

that seems to touch on this… I need to configure the location of GWT

in build.properties, and apparently the version that was used is

1.5.2 (that’s what’s in my build.properties now).

 


From: rules-dev-bounces@lists.jboss.org [mailto:rules-dev-bounces@lists.jboss.org] On Behalf Of Mulcahy, Lawrence
Sent: Monday, October 12, 2009 10:53 AM
To: 'Rules Dev List'
Subject: Re: [rules-dev] Guvnor in hosted mode

 

The Ant target gwt-shell in drools-guvnor/build.xml sounded promising,

but when I tried to run it, it got this error

 

Could not load definitions from resource de/samaflost/gwttasks/antlib.xml. It could not be found.

 

That is coming from this taskdef:

 

            <taskdef uri="antlib:de.samaflost.gwttasks"

                          resource="de/samaflost/gwttasks/antlib.xml"

                          classpath="../lib/gwttasks.jar"/>

 

Relative to drools-guvnor, there is no ../lib.

 

I searched for gwttasks.jar in the Drools source and in the

GWT (1.7.1) distribution but didn’t find it.

 

Jboss.org is having another bad web day.  There’s probably something

about this in the wiki or documentation but it’s all inaccessible right now.

 


From: rules-dev-bounces@lists.jboss.org [mailto:rules-dev-bounces@lists.jboss.org] On Behalf Of Mulcahy, Lawrence
Sent: Monday, October 12, 2009 8:47 AM
To: 'Rules Dev List'
Subject: Re: [rules-dev] Guvnor in hosted mode

 

Thanks Michael.  How can I do this?  Or is it documented somewhere?

If there’s a ‘how to work with the Drools code’ document somewhere

that would be really cool.  We are thinking about doing a custom rule

editor for an internal application.

 


From: rules-dev-bounces@lists.jboss.org [mailto:rules-dev-bounces@lists.jboss.org] On Behalf Of Michael Neale
Sent: Saturday, October 10, 2009 5:17 AM
To: Rules Dev List
Cc: rules-dev@lists.jboss.org
Subject: Re: [rules-dev] Guvnor in hosted mode

 

It is the right list - and yes it can. All development happens in gwt hosted mode. 

 

I put in some special code to let it work with hosted mode tomcat etc for quick turnaround. 

 

If you use eclipse, you need to keep the launch config deps up to date - with idea it is automatic. 


Sent from my phone. 


On 10/10/2009, at 6:12 AM, "Mulcahy, Lawrence" <larry.mulcahy@qwest.com> wrote:

Hope this is the right list for this question… A typical GWT application

can be brought up in ‘hosted’ mode for development with the command

 

ant hosted

 

Is there a way to do this for Drools Guvnor?

 

Thanks,

Larry

_______________________________________________
rules-dev mailing list
rules-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev