hi,

I am new to ant as well as to jbpm.
i am using jboss 4.2.2GA with Mysql 5.0.45.

While deploying process archive using ant script i am getting following error:

"couldn't deploy process archives : hibernate.cfg.xml not found".

My build.xml file is


  | <?xml version="1.0" encoding="UTF-8"?>
  | <project name="DeployTest" default="deploy.par" basedir="." >
  |     <property name="librarydir" value="${basedir}/lib" />
  |     <path id="libraries" >
  |             <fileset dir="${librarydir}" >
  |                     <include name="*.jar" />
  |                     </fileset>
  |     </path>
  |     
  |     <target name="deploy.par" >
  |             <taskdef name="deploypar" 
classname="org.jbpm.ant.DeployProcessTask">
  |                     <classpath refid="libraries" />
  |             </taskdef>  
  |             <deploypar process="build/Test.par" 
jbpmcfg="${basedir}/bin/jbpm.cfg.xml" />
  |     </target>
  | </project>
  | 

Where *.jars refer to all required jar files. I am not getting where to specify 
path of hibernate.cfg.xml file. 

Syntax in user guide is outdated. Earlier using cfg attribute we can specify 
our hibernate.cfg.xml file, but now its replaced with jbpmcfg. 

Please reply, since its very very urgent for me.

any suggestions welcomed.

Regards,

vishal

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108880#4108880

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108880
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to