Currently, a JBoss Rules project is just a Java project with two additional characteristics:
 * The JBoss Rules classpath container is added to the classpath of the project
 * A JBoss Rules builder automatically checks all rules for possible errors
 
In the current version of the IDE (3.0.5) you can only convert existing projects to JBoss rules projects by manually altering the .project and .classpath files as described in the documentation.  The latest version in trunk already contains a shortcut where you can right-click the .project file and select the "Convert to JBoss Rules Project" action.  I will see whether it is possible to add the JBoss Rules classpath container to the list of libraries that can be added.
 
Kris
 
----- Original Message -----
From: Grimshaw, Jeffrey
To: Rules Users List
Sent: Monday, February 05, 2007 7:23 PM
Subject: [rules-users] Adding DROOLS/JBoss Rules to classpath

Hi all.  I'm having some trouble adding the JBoss Rules custom classpath container to an existing project in Eclipse.  I can do it by adding the following line to the project's .classpath file:

<classpathentry kind="con" path="DROOLS/JBoss Rules"/>

Is there another/better way to do this?  I would expect to be able to do it somewhere in Build Path --> Add Libraries…, but I have had no luck.

Thanks,

-- Jeff Grimshaw



_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm for more information.