Re: [rules-users] Starting Guvnor in Eclipse

2011-07-12 Thread Justin Case
Thank you, I had to remove completely the "test" directories from the project 
because once in the project I couldn't unselect them anymore from the launch 
configuration. Now the errors are gone, cool :) I just hope I won't need "test" 
back.
With the abysmal startup speed I guess I have to learn to live - I had 
FastCompiledGuvnor also before. It's almost as slow as JBoss 6...

Thanks a lot for the hints,
JC

>
>From: Michael Anstis 
>To: Rules Users List 
>Sent: Mon, July 11, 2011 9:42:12 PM
>Subject: Re: [rules-users] Starting Guvnor in Eclipse
>
>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).
>
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Starting Guvnor in Eclipse

2011-07-11 Thread Michael Anstis
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  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@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Starting Guvnor in Eclipse

2011-07-11 Thread Justin Case
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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users