Note that there are some explanatory texts on larger screens.

plurals
  1. POManual steps involved when installing grails drools plugin
    primarykey
    data
    text
    <p>I was wondering if anybody else had experienced problems when installing the drools plugin for grails, becuase I had to do several manual steps to get this working and I thought that it would just install and work straight away.</p> <p>To get this working I had to do the following steps:</p> <p>Step 1 - Install drools plugin</p> <pre><code>grails install-plugin drools </code></pre> <p>Step 2 - Try running app</p> <pre><code>grails run-app </code></pre> <p>(A SAXParser exception prevented my app from starting up)</p> <p>Step 3 - Remove Jar file to fix SAXParser Exception</p> <pre><code>.grails\1.2.2\projects\&lt;your-project&gt;\plugins\drools-0.3\lib </code></pre> <p>remove file - <code>xml-apis-1.0.b2.jar</code></p> <p>Step 4 - copy jar files from .grails folder to your own app folder</p> <p>copy from </p> <pre><code>.grails\1.2.2\projects\&lt;your-project&gt;\plugins\drools-0.3\lib </code></pre> <p>to wherever the lib folder in your workspace is</p> <p>Step 5 add jars to build path in Spring STS</p> <p>Step 6 copy drools classes from .grails folder to appropriate folder in your own app</p> <pre><code>.grails\1.2.2\projects\&lt;your-project&gt;\plugins\drools-0.3\grails-app\domain\DroolsRule.groovy .grails\1.2.2\projects\&lt;your-project&gt;\plugins\drools-0.3\grails-app\services\DroolsService.groovy </code></pre> <p>(remember and change the package in these 2 files to match your own applications package structure)</p> <p>I am interested to see if other people have had similar problems because it took a while to figure out how to do this. Surely there should be an easier way of getting it to work than this ?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload