[jboss-user] [JBoss jBPM] - Re: jbpmschema fails to build for CVS HEAD

jliptak do-not-reply at jboss.com
Mon Jul 17 09:34:00 EDT 2006


I edited the build.xml file in jpdl/db to add the following:
    <taskdef resource="org/jbpm/ant/jbpm.ant.tasks.properties"
  |              classpathref="schema.task.classpath" />
  |     <property name="echocp" refid="schema.task.classpath" />
  |     <echo message="classpath = ${echocp}" />

This causes the output of the build to be:
install:
  |      [echo] classpath = C:\projects\hibernate\jBPM\jbpm.3\jpdl\db\src\main\confi
  | g;C:\projects\hibernate\jBPM\jbpm.3\jpdl\jar\src\main\config;C:\Documents and Se
  | ttings\jliptak\jbpm\repository\antlr\2.7.6rc1\lib\antlr-2.7.6rc1.jar;C:\Document
  | s and Settings\jliptak\jbpm\repository\apache-collections\3.1\lib\commons-collec
  | tions.jar;C:\Documents and Settings\jliptak\jbpm\repository\apache-fileupload\1.
  | 0\lib\commons-fileupload.jar;C:\Documents and Settings\jliptak\jbpm\repository\a
  | pache-log4j\1.2.8\lib\log4j.jar;C:\Documents and Settings\jliptak\jbpm\repositor
  | y\apache-logging\1.0.4\lib\commons-logging.jar;C:\Documents and Settings\jliptak
  | \jbpm\repository\apache-myfaces\1.1.1\lib\jstl.jar;C:\Documents and Settings\jli
  | ptak\jbpm\repository\apache-myfaces\1.1.1\lib\myfaces-api.jar;C:\Documents and S
  | ettings\jliptak\jbpm\repository\apache-myfaces\1.1.1\lib\myfaces-impl.jar;C:\Doc
  | uments and Settings\jliptak\jbpm\repository\asm\1.5.3\lib\asm-attrs.jar;C:\Docum
  | ents and Settings\jliptak\jbpm\repository\asm\1.5.3\lib\asm.jar;C:\Documents and
  |  Settings\jliptak\jbpm\repository\beanshell\1.3.0\lib\bsh.jar;C:\Documents and S
  | ettings\jliptak\jbpm\repository\cglib\2.1.3\lib\cglib.jar;C:\Documents and Setti
  | ngs\jliptak\jbpm\repository\dom4j\1.6\lib\dom4j.jar;C:\Documents and Settings\jl
  | iptak\jbpm\repository\dumbster\1.6\lib\dumbster.jar;C:\Documents and Settings\jl
  | iptak\jbpm\repository\ehcache\1.1\lib\ehcache.jar;C:\Documents and Settings\jlip
  | tak\jbpm\repository\facelets\1.1.1\lib\jsf-facelets.jar;C:\Documents and Setting
  | s\jliptak\jbpm\repository\hibernate\3.1\lib\hibernate3.jar;C:\Documents and Sett
  | ings\jliptak\jbpm\repository\hsqldb\1.8.0.2\lib\hsqldb.jar;C:\Documents and Sett
  | ings\jliptak\jbpm\repository\jackrabbit\1.0\lib\jackrabbit-core-1.0.jar;C:\Docum
  | ents and Settings\jliptak\jbpm\repository\jaxen\1.1beta6\lib\jaxen.jar;C:\Docume
  | nts and Settings\jliptak\jbpm\repository\jbossas\core-libs\4.0.3.SP1\lib\jboss-c
  | ommon.jar;C:\Documents and Settings\jliptak\jbpm\repository\jbossas\core-libs\4.
  | 0.3.SP1\lib\jboss-j2ee.jar;C:\Documents and Settings\jliptak\jbpm\repository\jbo
  | ssas\core-libs\4.0.3.SP1\lib\jboss-jmx.jar;C:\Documents and Settings\jliptak\jbp
  | m\repository\jbossas\core-libs\4.0.3.SP1\lib\jboss-system.jar;C:\Documents and S
  | ettings\jliptak\jbpm\repository\jcr\1.0\lib\jcr-1.0.jar;C:\Documents and Setting
  | s\jliptak\jbpm\repository\junit\3.8.1\lib\junit.jar;C:\Documents and Settings\jl
  | iptak\jbpm\repository\maven2\ant\ant\1.6.5\ant-1.6.5.jar;C:\Documents and Settin
  | gs\jliptak\jbpm\repository\sun-jaf\1.0.2\lib\activation.jar;C:\Documents and Set
  | tings\jliptak\jbpm\repository\sun-javamail\1.3.1\lib\mail.jar;C:\Documents and S
  | ettings\jliptak\jbpm\repository\sun-servlet\2.4\lib\servlet-api.jar;C:\Documents
  |  and Settings\jliptak\jbpm\repository\jbpm\jpdl\3.2.Alpha1-SNAPSHOT\lib\jbpm-jpd
  | l.jar;C:\Documents and Settings\jliptak\jbpm\repository\jbpm\identity\3.2.Alpha1
  | -SNAPSHOT\lib\jbpm-identity.jar
  | [jbpmschema] using jbpm configuration jbpm/db2.jbpm.cfg.xml
  | 
  | BUILD FAILED
  | C:\projects\hibernate\jBPM\jbpm.3\build\build.xml:36: The following error occurr
  | ed while executing this line:
  | java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

So the classpath sent into the taskdef is just fine containing everything that is needed.  I'm using Apache Ant version 1.6.5 compiled on June 2 2005

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958456



More information about the jboss-user mailing list