Nicola Ken Barozzi wrote:

The better hacky solution: in the package target add a new 'blocks build' target that just runs the xconftool:

  <!-- like the old package target -->
  <target name="full-package" depends="package, blocks"/>

...

  <!-- package the core (new) -->
  <target name="package-core" depends="compile-core">
    <mkdir dir="${build.blocks}"/>

    <xslt in="${gump.descriptor}"
          out="${build.temp}/blocks-build.xml"
          processor="trax"
          style="${tools}/src/blocks-build.xsl"/>

    <ant antfile="${build.temp}/blocks-build.xml"
         inheritAll="true"
         inheritRefs="false"
         target="xconf"/>
     <!--   ^^^^^^^^^^^^^^^^ -->

<!-- here run xconf for deprecated stuff (TODO)-->

    <jar jarfile="${build}/${name}.jar" manifest="${java}/Manifest.mf">
      <fileset dir="${build.dest}"/>
    </jar>
  </target>

Ok, I'll do this last one (which was the one I was going to do myself) and look on how to solve this from inside Cocoon.


Stefano.



Reply via email to