6 Replies Latest reply on Oct 12, 2011 7:44 AM by uvijayreddy657

    What does "Build package" do? How to deploy in running engine

    Tobias Wittur Newbie

      Hello,

       

      could someone please explain me what exactly happens when I click "Build package" in guvnor.  I checked the jboss-5.1.0.GA\server\default\deploy folder, hoping to find out more about those links:

       

      URL for package documentation:

      http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/defaultPackage/LATEST/documentation.pdf

      URL for package source:

      http://localhost:8080/drools-guvnor/rest/packages/defaultPackage/source

      URL for package binary:

      http://localhost:8080/drools-guvnor/rest/packages/defaultPackage/binary

      URL for running tests:

      http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/defaultPackage/LATEST/SCENARIOS

      Change Set:

      http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/defaultPackage/LATEST/ChangeSet.xml

      Model:

      http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/defaultPackage/LATEST/MODEL

       

      However, the only thing I find there is the drools-guvnor.war. If I extract this, I still do not find any defaultPackage.pkg or any of the above folders such as rest, packages or defaultPackage. (I deployed the evaluation.bpmn).

       

      Where exactly do the deployed files go?

       

      I am trying to understand how I can deploy a process definition into the running engine.

       

      I guess a java object is generated from the xml file which then becomes executable? So where are the java, xml and bin files ?

       

      Thank you for your help in advance,

       

      Tobias