[rules-users] Starting Guvnor in Eclipse

Michael Anstis michael.anstis at gmail.com
Mon Jul 11 15:42:12 EDT 2011


If I am not mistaken you have created a launch configuration in Eclipse for
Guvnor (nothing wrong there, I do the same).

What you need to do is manually delete all references to "test" resources in
the launch configuration classpath.

The apparant "lock-up" is GWT compliling JScript from the Java code. It can
be made quicker by:-

* Ensuring no test resources are on the lanch configuration (which will also
remove the errors)

* Using the "FastCompiledGuvnor" module (which only compiles for en_US and
Firefox - gecko1_8).


On 11 July 2011 15:10, Justin Case <send_lotsa_spam_here at yahoo.com> wrote:

> Hi all,
> any Eclipse users around here?
> I have followed the instructions here:
>
> https://github.com/droolsjbpm/droolsjbpm-build-bootstrap/blob/master/README.md
> for Eclipse Helios+EGit+m2eclipse.
> I downloaded 5.2.0.Final from https://github.com/droolsjbpm/guvnor.git,
> imported
> all Maven projects it could find in the directory (except guvnor-docs which
> misses something and I didn't care).
>
> The Guvnor application will start in development mode, but:
> - Firefox is causing often 100% CPU with it (might be the development mode)
> - Eclipse Development Mode view shows LOTS of errors like this:
>    [ERROR] [org.drools.guvnor.Guvnor] - Errors in
>
> 'file:/C:/PocDev/GitHome/git/guvnor/droolsjbpm-ide-common/src/test/java/org/drools/ide/common/client/modeldriven/SuggestionCompletionEngineTest.java'
>
>        [ERROR] [org.drools.guvnor.Guvnor] - Line 47: No source code is
> available for type
> org.drools.ide.common.server.rules.SuggestionCompletionLoader; did you
> forget to
> inherit a required module?
>        [ERROR] [org.drools.guvnor.Guvnor] - Line 49: No source code is
> available for type java.util.jar.JarInputStream; did you forget to inherit
> a
> required module?
>
> Again, one can work also like this but seeing hundreds of errors is not
> helping
> at all when I try to tinker with something somewhere. Plus there's the 100%
> CPU
> thing... where and what should I inherit more than Maven is configured
> already
> to inherit?
>
> Tinkering around:
> - I set all other projects as dependencies
> - I set to export all sources from all projects (but there it bitches also
> about
> missing java.util sources, who cares about these?)...
> - added all these sources to the run configuration
> nothing changed, I still have the above errors from both system libraries
> AND
> project dependencies.
>
> Or do I experience the problem mentioned in this message?
>
> http://markmail.org/message/h52xvo4j52msambe#query:+page:1+mid:lg4mlgiof4giuiaq+state:results
>
>
> Thanks for any hints,
> JC
>
> _______________________________________________
> 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/20110711/3b1984b4/attachment.html 


More information about the rules-users mailing list