[JBoss Eclipse IDE (users)] - Re: JBossIDE causing Eclipse to pause and do alot of disk IO
by mazz@jboss.com
I believe I'm still seeing this, albeit not at startup.
I'm still getting very long hang times in Eclipse and when I look at the thread dumps, I am seeing:
"Worker-17" prio=6 tid=0x3a205b20 nid=0x5d0 runnable [0x3b43f000..0x3b43fa68]
| at java.util.zip.ZipFile.open(Native Method)
| at java.util.zip.ZipFile.<init>(ZipFile.java:203)
| at java.util.jar.JarFile.<init>(JarFile.java:132)
| at java.util.jar.JarFile.<init>(JarFile.java:97)
| at org.jboss.ide.eclipse.as.core.module.factory.ArchiveModuleFactory.sup
| ports(ArchiveModuleFactory.java:65)
| at org.jboss.ide.eclipse.as.core.module.factory.ArchiveModuleFactory.acc
| eptAddition(ArchiveModuleFactory.java:33)
| at org.jboss.ide.eclipse.as.core.module.factory.JBossModuleFactory$1.vis
| it(JBossModuleFactory.java:88)
So, I'm assuming this thread is the cause of my issue. This issue is devestating to the usability of Eclipse. Can you guys add a setting within JBoss IDE somewhere that I can turn off this scanning of the files? Even if it means turning off some feature - I'm willing to lose a piece of capability within JBoss IDE if I can workaround this issue.
Note that I'm using JBoss IDE 2.0.0.beta1
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977234#3977234
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977234
19 years, 7 months
[Beginners Corner] - Example Code
by Anea
Hello there,
i´m a beginner on rules and BREs and still trying to understand the Drools examples.
In my attempt to implement my own example adapted from the "golf" example I encountered a problem.
Here is my example:
There are 3 Girls, each has a name, a lastname, a fad and gets some pocket-money.
The task is, to find a solution for following facts and rules:
girl-names: Marion, Susi, Uschi
lastnames: Müller, Bauer, Weber
fads: records, sweets, dresses
money: 6?, 7?, 8?
1) Marion loves Sweets. She gets less money than the Girl with the lastname Weber.
2) Susi gets 7?.
3) Uschi doesn´t spent her money on records. Uschi and the girl with the lastname Bauer get another amount than 6?.
the information about the girls works exactly like the "Golf" example.
g1:Girl($marionsName:name=="Marion", .... )
g2:Girl($susisName:name=="Susi", .... )
g3:Girl($uschisName:name=="Uschi", .... )
My Problem is, how to bring the information in "that the girl with the lastname Bauer gets another amount than 6?".
my first idea was to add something like
Girl(lastname == "Bauer", money!=6)
but this does not want to do, what I want it to.
As far, as I understand it, this only selects the matching facts from the working memory. How can I tell the system, that I don´t want to find new Girls, but only add some additional information to the girls, which are already found?
Is there something like a "union" function in Drools?
Thanks for your help.
P.S. excuse the errors in my english, I´m german ;)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977222#3977222
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977222
19 years, 7 months