I just found out that my ant task that was working with jbpm-3.4.1 will not
work any more with jbpm-3.2.1
| <target name="deploy.par" depends="create.par">
| <taskdef name="deploypar"
| classname="org.jbpm.ant.DeployProcessTask">
| <classpath refid="compile.classpath" />
| <classpath refid="hibernate"/>
| <classpath path="./lib/commons-collections-3.2.jar" />
| <classpath
path="${jboss.root.dir}/server/default/lib/cglib.jar" />
| <classpath
path="${jboss.root.dir}/server/default/lib/antlr-2.7.6.jar" />
| </taskdef>
| <deploypar process="jpdl/deployment/test.par"
| cfg="jpdl/deployment/hibernate.cfg.xml" />
| </target>
|
I get the following error message:
| BUILD FAILED
| .../build.xml:161: deploypar doesn't support the "cfg" attribute
|
The 'cfg' attribute is not valid any more...
I found out that there's an attribute 'jbpmCfg' now, instead.
But configuring the deploypar target with 'jbpmCfg' attribute pointing to my
'hibernate.cfg.xml' doesn't work. Either pointing it to my jbpm.cfg.xml and
configuring the path to my hibernate.cfg.xml within the jbpm.cfg.xml file
doesn't work.
It always results in
| couldn't deploy process archives : hibernate.cfg.xml not found
|
Documentation in user guide is not up to date, i.e. still described with 'cfg'
attribute setting.
Anybody knows how to set up my paths correctly?
Anybody got a working ant task example with jbpm 3.2.x?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120129#4120129
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4120129
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user