[jboss-user] [jBPM] - Re: how to read the package from guvnor in java

Maciej Swiderski do-not-reply at jboss.com
Wed Aug 8 12:11:11 EDT 2012


Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: how to read the package from guvnor in java"

To view the discussion, visit: https://community.jboss.org/message/752665#752665

--------------------------------------------------------------
you should use a change set file


<change-set xmlns='http://drools.org/drools-5.0/change-set'
            xmlns:xs='http://www.w3.org/2001/XMLSchema-instance'
            xs:schemaLocation='http://drools.org/drools-5.0/change-set http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-api/src/main/resources/change-set-1.0.0.xsd' >
    <add>
        <resource source='http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/defaultPackage/LATEST' type='PKG' />
    </add>
</change-set>


and the use 


kagent.applyChangeSet( ResourceFactory.newClasspathResource(PATH_TO_CHANGESET_FILE ) );



HTH
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/752665#752665]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120808/3bfd417e/attachment.html 


More information about the jboss-user mailing list