-
1. Re: First-time
mennen Jan 23, 2006 6:29 AM (in response to mennen)I dont know why it did not what to appear , but i actually pasted some code of my build.xml file..
< target name="build.processes" depends="compile.examples" description="builds the example processes">
< mkdir dir="build/ingenieur/classes" />
< copy todir="build/ingenieur">
< fileset dir="src/process.examples/ingenieur.par" />
</ copy>
< copy todir="build/ingenieur/classes">
< fileset dir="build/classes.examples" includes="org/jbpm/ingenieur/**" />
< /copy>
< zip destfile="build/ingenieur.par">
< fileset dir="build/ingenieur" />
< /zip>
</ target>
(i just had to add spaces for the code to appear, otherwise it 'd be considered html code) -
2. Re: First-time
forjbpm Jan 23, 2006 12:07 PM (in response to mennen)http://www.jboss.com/index.html?module=bb&op=viewtopic&t=71043
foolow this post especially1) Use JBoss 4.0.2
2) Fresh jBPM
3) modify build.properties (gives system paths to jBPM and JBoss)
4) ant tasks from build.xml: compile, build, build.processes
5) ant tasks from build.deploy.xml (create.jbpm.configuration, start.jboss)
That should get you going and using websale. To deploy your own .par
1) At jbpm/src/process.examples/ add a directory <process name>.par
2) Inside there should be your processdefinition.xml, gpd.xml, and processimage.jpg
3) Add any java packages created in GPD to jpbm/src/java.examples
3) modify ant taget build.process in build.xml (at about lines 182-193). This should reflect your <process name>.par, package name, temporary staging directory.
4) Repeat the 5 steps mentioned above
these steps. -
3. Re: First-time
lappi_79 Jan 23, 2006 1:39 PM (in response to mennen)From the steps to deploy pars(posted by forjbpm), do we build each time there is a new process? or is there any other way to deploy too?
When we use jbpm in a web app, do we still have to deploy jbpm.war, or does the library(jbpm.jar) do all the magic?
Does any of these steps change when used in context of tomcat with mysql? -
4. Re: First-time
mennen Jan 24, 2006 3:47 AM (in response to mennen)same questions as lappi_79..
Thanks -
5. Re: First-time
lappi_79 Jan 25, 2006 2:33 PM (in response to mennen)Hi,
One quick question, (when jbpm is used withn a web app) are the pars deployed to the jbpm, build new jbpm.jar and that jar is used in the web app.
Or is it deployed in the web app itself (should the build script for the web app be changed to accomodate new process archives)?
Sorry if this sounds very obvious.
Thanks,
Lavanya