Several people have reported this, but I've never been able to
reproduce it. If you can get a stack trace from the hung eclipse
process, then that stack trace would let me debug the problem.
Otherwise I have no idea why this happens.
Getting a stack trace from eclipse is non-trivial on Windows, but easy
on Linux or Mac OS X. If you're using Windows, you can use Google to
find out how to make one.
On Nov 27, 2008, at 2:30 AM, Wing Kuen LEE wrote:
Thanks I'm able to make it works.
Now occasionally Eclipse will become "not responding" when I am using
JessDE. The problem usually occurs when I save the clp file currently
being edited... Any advice is welcome on that.
Ken
Ernest Friedman-Hill wrote:
Normally this happens because the files aren't on the Eclipse
project's "build path". The folder in which you're storing your *.clp
files should be designated as a "source folder", or you can
explicitly
put it on the project's build path. The "Properties" dialog for the
project lets you set the build path.
Note that Java developers using Eclipse face the same requirement;
you
have to store your files the way Eclipse wants you to.
Also note that "triple.clp" should include the line "(provide
triple)", or the require function will report an error.
On Nov 26, 2008, at 2:10 AM, Wing Kuen LEE wrote:
Hello all,
I fail to make (require ) to import the template defined in the
"triple.clp" into a separate file called "rule.clp", both in the
same
directory. The JessID keeps complaining that the rule.clp is full of
errors. The editor is slow to use when the file is considered full
of
errors. But in fact, they run fine in Jess.
It seems that I'm unable to use (require) properly. I put (require
triple) at the beginning of rule.clp. JessDE said it cannot find
triple.
Anyone can advise me how to make it works? There is not much
saying in
"2.2.2. Dependencies among files" on the Jess webpage.
Thanks a lot in advance.
Ken
The content of the template.clp:
(deftemplate triple "Template representing a triple"
(slot predicate (type STRING) (default ""))
(slot subject (type STRING) (default ""))
(slot object (type STRING) (default ""))
)
--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]
'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify
[EMAIL PROTECTED]
--------------------------------------------------------------------
---------------------------------------------------------
Ernest Friedman-Hill
Informatics & Decision Sciences, Sandia National Laboratories
PO Box 969, MS 9012, Livermore, CA 94550
http://www.jessrules.com
--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]
'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify
[EMAIL PROTECTED]
--------------------------------------------------------------------
--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users
[EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
.
--------------------------------------------------------------------
---------------------------------------------------------
Ernest Friedman-Hill
Informatics & Decision Sciences, Sandia National Laboratories
PO Box 969, MS 9012, Livermore, CA 94550
http://www.jessrules.com
--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------