Doug Chestnut wrote:

[...]

The migration target in the original email didn't work for me. I changed it to point to my tomcat webapp directory but it made a new content directory in the pubs dir (instead of the publication). This works for me:

  <target name="migrate-extensions">
    <property name="publication" value=""/>
    <move todir="${tomcat.webapps.dir}/lenya/pubs/${publication}">
      <fileset dir="${tomcat.webapps.dir}/lenya/pubs/${publication}">
        <include name="content/**"/>
        <exclude name="content/*/site.xml"/>
        <exclude name="content/*/sitetree.xml"/>
      </fileset>
      <compositemapper>
        <mapper type="glob" from="*.xml" to="*"/>
        <mapper type="glob" from="*.xml.meta" to="*.meta"/>
      </compositemapper>
    </move>
  </target>

OK, thanks for contributing this!

-- Andreas


--
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                     [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to