1 Reply Latest reply on Dec 27, 2007 3:34 PM by maxandersen

    packaging-convert incomplete?

    gghart

      I ran the packaging-convert script that was helpfully provided to upgrade old projects to the project archives framework (very slick - greatly appreciate that being provided !!).

      I did notice that in every project it converted, it skipped one of the lines from my packaging-build.xml files, and I'm not sure what to make of it.

      All of the packaging-build.xml looked like this:

      <?xml version="1.0" encoding="UTF-8"?>
      <project default="_packaging_generation_" name="Packaging Generator">
      <target name="_packaging_generation_" depends="N10004"/>
      <target name="N10004" description="tools_website.war">
      <jar destfile="tools_website.war">
      <zipfileset dir="src/WEB-INF" prefix="WEB-INF">
      <include name="web.xml"/>
      </zipfileset>
      <zipfileset dir="src/WEB-INF" prefix="WEB-INF">
      <include name="jboss-web.xml"/>
      </zipfileset>
      <zipfileset dir="src/WEB-INF/lib" prefix="WEB-INF/lib">
      <include name="*.jar"/>
      </zipfileset>
      <zipfileset dir="bin" prefix="WEB-INF/classes" includes="**/*.class"/>
      <zipfileset dir="src/WebFiles" prefix="" includes="**/*.*"/>
      </jar>
      </target>
      </project>


      The line it skipped in every project was 4 off the bottom:
      ..
      <zipfileset dir="src/WebFiles" prefix="" includes="**/*.*"/>
      ..

      Any thoughts?