cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Joseph <pjos...@gmail.com>
Subject Cocoon 2.1.11 build.xml question
Date Mon, 02 Mar 2009 12:58:34 GMT
Hi there,

In one of my blocks, the build.xml has the target "jdo" described 
below--my problem is that it won't execute the target i.e. the first 
line is not satisfied.  What exactly does the first line mean?

That jdo.jar is present in the class path? As best I can make out it is 
in the "optional lib" directory and so should be ok as I reference that 
in the class path.  Also, I have NOT excluded the samples...

Any advice would be appreciated.

thx.
Paul

  <target name="jdo" if="jdo.present" 
unless="unless.exclude.webapp.samples" depends="prepare, compile">
    <property name="build.blocks.ojb.samples.package" 
value="${build.blocks.ojb.samples}/org/apache/cocoon/ojb/samples/bean"/>
    <!-- Run the JDO Enhancer -->
    <echo>Running JDO Enhancer ...</echo>
    <java fork="yes" failonerror="no" classname="${jdoEnhancer}" 
classpathref="ojb.classpath">
      <arg line="-f -v -d ${build.blocks.ojb.samples} 
${build.blocks.ojb.samples}/package.jdo 
${build.blocks.ojb.samples.package}/*.class"/>
    </java>
  </target>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message