lenya/src/webapp/lenya/pubs/docs-new/config/tasks targets.xml,NONE,1.1 tasks.xconf,NONE,1.1
Andreas Hartmann <[email protected]>
| Newsgroups | gmane.comp.cms.wyona.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /repository/lenya/src/webapp/lenya/pubs/docs-new/config/tasks
In directory erbium:/tmp/cvs-serv25966/src/webapp/lenya/pubs/docs-new/config/tasks
Added Files:
targets.xml tasks.xconf
Log Message:
- added task configuration files
- added publishing pipeline
- added publishing menu entry
- changed installation instructions in sitetree
--- NEW FILE: targets.xml ---
<?xml version="1.0" encoding="UTF-8"?>
<!--
Document : ant-test.xml
Created on : 3. April 2003, 18:29
Author : andreas
Description:
Purpose of the document follows.
-->
<project name="Ant Test Project" default="test" basedir=".">
<property name="text" value="Hello World!"/>
<property name="pub.dir" value=""/>
<!-- publishing properties -->
<property name="authoring.dir" value="content/xdocs"/>
<property name="authoring.tree" value="site.xml"/>
<property name="live.dir" value="content/live"/>
<property name="replication.dir" value="content/replication/pending"/>
<property name="export.server" value="http://localhost:8080"/>
<property name="export.dir" value="resources/export/pending"/>
<property name="export.expression" value="/lenya/docs-new"/>
<property name="export.replacement" value=""/>
<property name="export.uris" value=""/>
<property name="publish.sources" value=""/>
<target name="test">
<echo>This is a test of the AntTask: ${text}</echo>
</target>
<target name="publish">
<echo>Copying files ${publish.sources}, ${authoring.tree}</echo>
<echo>from ${authoring.dir}</echo>
<echo>to ${live.dir}</echo>
<copy todir="${pub.dir}/${live.dir}">
<fileset dir="${pub.dir}/${authoring.dir}">
<include name="${publish.sources}"/>
<include name="${authoring.tree}"/>
</fileset>
</copy>
<echo>Export:</echo>
<taskdef name="export" classname="org.apache.lenya.cms.ant.StaticHTMLExporter"/>
<export
path="${export.dir}"
uris="${export.uris}"
expression="${export.expression}"
replacement="${export.replacement}"
server="${export.server}"
/>
</target>
</project>
--- NEW FILE: tasks.xconf ---
<?xml version="1.0"?>
<tasks>
<task id="publish" class="org.apache.lenya.cms.task.AntTask">
<parameter name="target" value="publish"/>
</task>
</tasks>