JESS: Jess 7.1p2 with Eclipse 3.5

View: New views
5 Messages — Rating Filter:   Alert me  

JESS: Jess 7.1p2 with Eclipse 3.5

by Hal Hildebrand-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Wondering if there's any known issues with the IDE integration of Jess  
with the latest Eclipse.  Running into an issue where the resources  
and classes are not being found on the class path.  I am using the  
Maven plugin, however classes in the same project as the .clp are not  
being found.


--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users you@...'
in the BODY of a message to majordomo@..., NOT to the list
(use your own address!) List problems? Notify owner-jess-users@....
--------------------------------------------------------------------


Re: JESS: Jess 7.1p2 with Eclipse 3.5

by Ernest Friedman-Hill :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Well, I'm using it with a group here, and it's working OK, except that  
one person *is* having an odd issue where classes that use  
java.util.regex won't resolve properly. We haven't tracked that down  
yet. Otherwise I don't think we've gotten any reports about general  
failures.

You said the "class path". Just to be precise and make sure we're all  
on the same page, it's actually the "Java build path" of a Java  
project that the JessDE will look at. That's what you mean, too, right?


On Aug 31, 2009, at 12:16 PM, Hal Hildebrand wrote:

> Wondering if there's any known issues with the IDE integration of Jess
> with the latest Eclipse.  Running into an issue where the resources
> and classes are not being found on the class path.  I am using the
> Maven plugin, however classes in the same project as the .clp are not
> being found.
>

---------------------------------------------------------
Ernest Friedman-Hill
Informatics & Decision Sciences          Phone: (925) 294-2154
Sandia National Labs
PO Box 969, MS 9012                            ejfried@...
Livermore, CA 94550                             http://www.jessrules.com





--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users you@...'
in the BODY of a message to majordomo@..., NOT to the list
(use your own address!) List problems? Notify owner-jess-users@....
--------------------------------------------------------------------


JESS: function check-syntax ?

by jo-48 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

I am porting a clips script and it uses a function check-syntax which is used to dismiss bad rules for build-rule.

However this function appears not to exist for jess ? Is there an equivalent available ?

Tx
Joe



     


--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users you@...'
in the BODY of a message to majordomo@..., NOT to the list
(use your own address!) List problems? Notify owner-jess-users@....
--------------------------------------------------------------------


Re: JESS: function check-syntax ?

by Ernest Friedman-Hill :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Well, build and eval throw exceptions on failure, and Jess has  
exception handling, So you could just try to define the rule, and  
recover from any resulting exceptions.

If you know the name of the rule you're testing, you could use  
undefrule to remove it on success, if you want; i.e.,

(deffunction check-rule (?text ?name)
     (try
         (build ?text)
         (undefrule ?name)
         (return TRUE)
      catch ?ERROR
         (return FALSE)))



On Sep 1, 2009, at 9:13 AM, jo wrote:

> Hi
>
> I am porting a clips script and it uses a function check-syntax  
> which is used to dismiss bad rules for build-rule.
>
> However this function appears not to exist for jess ? Is there an  
> equivalent available ?
>
> Tx
> Joe
>
>
>
>
>
>
> --------------------------------------------------------------------
> To unsubscribe, send the words 'unsubscribe jess-users  
> you@...'
> in the BODY of a message to majordomo@..., NOT to the list
> (use your own address!) List problems? Notify owner-jess-users@...
> .
> --------------------------------------------------------------------

---------------------------------------------------------
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 you@...'
in the BODY of a message to majordomo@..., NOT to the list
(use your own address!) List problems? Notify owner-jess-users@....
--------------------------------------------------------------------


Re: JESS: Jess 7.1p2 with Eclipse 3.5

by Hal Hildebrand-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Sep 1, 2009, at 5:58 AM, Ernest Friedman-Hill wrote:

> Well, I'm using it with a group here, and it's working OK, except  
> that one person *is* having an odd issue where classes that use  
> java.util.regex won't resolve properly. We haven't tracked that down  
> yet. Otherwise I don't think we've gotten any reports about general  
> failures.
>
> You said the "class path". Just to be precise and make sure we're  
> all on the same page, it's actually the "Java build path" of a Java  
> project that the JessDE will look at. That's what you mean, too,  
> right?

Yes, sorry about that.  What I mean is that I have a project.  In the  
project are .clp files and classes.  The .clp imports one Java class  
as a Jess Function - via load-function - in which the class is in the  
same project.  The error is that the class cannot be found.   The  
class is there.  When I actually build and run tests, which use  
this .clp, things work just find (this is a very old project,  
anyway).  It's just in the editor that things seem to go south.

>
>
> On Aug 31, 2009, at 12:16 PM, Hal Hildebrand wrote:
>
>> Wondering if there's any known issues with the IDE integration of  
>> Jess
>> with the latest Eclipse.  Running into an issue where the resources
>> and classes are not being found on the class path.  I am using the
>> Maven plugin, however classes in the same project as the .clp are not
>> being found.
>>
>
> ---------------------------------------------------------
> Ernest Friedman-Hill
> Informatics & Decision Sciences          Phone: (925) 294-2154
> Sandia National Labs
> PO Box 969, MS 9012                            ejfried@...
> Livermore, CA 94550                             http://www.jessrules.com
>
>
>
>
>
> --------------------------------------------------------------------
> To unsubscribe, send the words 'unsubscribe jess-users  
> you@...'
> in the BODY of a message to majordomo@..., NOT to the list
> (use your own address!) List problems? Notify owner-jess-users@...
> .
> --------------------------------------------------------------------
>



--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users you@...'
in the BODY of a message to majordomo@..., NOT to the list
(use your own address!) List problems? Notify owner-jess-users@....
--------------------------------------------------------------------