[jbosstools-issues] [JBoss JIRA] Commented: (JBDS-483) Installer need to setup seam, drools, jbpm runtimes

Kris Verlaenen (JIRA) jira-events at lists.jboss.org
Wed Nov 12 07:30:37 EST 2008


    [ https://jira.jboss.org/jira/browse/JBDS-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12438068#action_12438068 ] 

Kris Verlaenen commented on JBDS-483:
-------------------------------------

For Drools, there are two things you might want to do (and both can simply be called using a utility class):

 - If you don't have a Drools runtime set up, you could create a new one on the file system using DroolsRuntimeManager.createDefaultRuntime(path).  This simply creates a runtime on the file system, nothing more.    However, the SOA-P probably wants to provide their own set of jars.  In that case, simply copying all the required jars to a directory on the file system is sufficient (at this point) to be able to use them as a Drools runtime.

 - You need to register the known runtimes, using DroolsRuntimeManager.setDroolsRuntimes(DroolsRuntime[] runtimes).  This will register the runtimes in the eclipse preferences. A DroolsRuntime is just a combination of a unique name and a path. One of the runtimes should also be marked as default.

To verify that it worked, simply create a new Drools project.  The Drools classpath container should show up in that project and point to the jars (on your file system) from the default runtime.

Max, is that the info you need?

Kris 

> Installer need to setup seam, drools, jbpm runtimes 
> ----------------------------------------------------
>
>                 Key: JBDS-483
>                 URL: https://jira.jboss.org/jira/browse/JBDS-483
>             Project: Developer Studio
>          Issue Type: Task
>          Components: installer
>    Affects Versions: 2.0.0.beta1
>            Reporter: Max Rydahl Andersen
>            Priority: Blocker
>             Fix For: 2.0.0.cr1
>
>
> Currently it seems only the AS part of the additional runtimes are setup.
> That is only the right behavior when you choose an AS installation.
> For EAP and SOA-P additonal setup needs to be done.
> Seam:
> if it is a EAP or SOA-P it should setup seam and seamfp in seam settings (remember to give it unique names)
> jBPM:
> This is only for SOA-P; SOA-P has a jbpm runtime that needs to be configured out of the box too.
> Drools:
> This is only for SOA-P; Drools have recently added runtime support, we should investigate how that is going to be setup

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list