lenya/src/webapp/lenya/pubs/docs-new/config/tasks targets.xml,1.1,1.2
Edith Chevrier <[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-serv18234/src/webapp/lenya/pubs/docs-new/config/tasks
Modified Files:
targets.xml
Log Message:
Classpath
Index: targets.xml
===================================================================
RCS file: /repository/lenya/src/webapp/lenya/pubs/docs-new/config/tasks/targets.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** targets.xml 6 May 2003 18:24:28 -0000 1.1
--- targets.xml 7 May 2003 17:35:38 -0000 1.2
***************
*** 23,31 ****
<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">
--- 23,32 ----
<property name="export.server" value="http://localhost:8080"/>
<property name="export.dir" value="resources/export/pending"/>
! <property name="export.expression" value="/lenya/default"/>
<property name="export.replacement" value=""/>
<property name="export.uris" value=""/>
<property name="publish.sources" value=""/>
+ <property name="servlet.context" value=""/>
<target name="test">
***************
*** 34,37 ****
--- 35,39 ----
<target name="publish">
+ <echo>-${servlet.context}-</echo>
<echo>Copying files ${publish.sources}, ${authoring.tree}</echo>
<echo>from ${authoring.dir}</echo>
***************
*** 45,50 ****
</copy>
<echo>Export:</echo>
- <taskdef name="export" classname="org.apache.lenya.cms.ant.StaticHTMLExporter"/>
<export
path="${export.dir}"
--- 47,57 ----
</copy>
+ <taskdef name="export" classname="org.apache.lenya.cms.ant.StaticHTMLExporter">
+ <classpath>
+ <pathelement location="${servlet.context}/WEB-INF/classes">
+ </pathelement>
+ </classpath>
+ </taskdef>
<echo>Export:</echo>
<export
path="${export.dir}"
***************
*** 57,59 ****
</target>
! </project>
\ No newline at end of file
--- 64,66 ----
</target>
! </project>