You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by mi...@apache.org on 2004/09/26 13:20:57 UTC
svn commit: rev 47247 - incubator/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/bin
Author: michi
Date: Sun Sep 26 04:20:57 2004
New Revision: 47247
Added:
incubator/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/bin/download_feeds.xml
incubator/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/bin/feeds.properties.sample
Log:
Thanks to Gregor Imboden Lenya receives a Feed downloader which is checking well-formedness
Added: incubator/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/bin/download_feeds.xml
==============================================================================
--- (empty file)
+++ incubator/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/bin/download_feeds.xml Sun Sep 26 04:20:57 2004
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!-- Download Verify XML -->
+<project name="dvx" basedir="." default="download">
+
+ <target name="init" description="Initialize parameters">
+ <dirname property="bin.dir" file="${ant.file}"/>
+ <dirname property="lenya.dir" file="${bin.dir}"/>
+ <dirname property="webapp.dir" file="${lenya.dir}"/>
+ <dirname property="src.dir" file="${webapp.dir}"/>
+ <dirname property="root.dir" file="${src.dir}"/>
+ <property name="classes.dir" value="${root.dir}/build/lenya/tools/anttasks"/>
+
+ <property name="pubs.dir" value="${lenya.dir}/pubs"/>
+ <echo>Pubs Directory ${pubs.dir}</echo>
+
+ <property file="feeds.properties"/>
+ <!-- [URL],[PATH],... -->
+ <!-- NOTE: No whitespace after and before colons -->
+ <property name="feeds" value="http://www.oscom.org/planet-oscom/rss.xml,oscom.xml,http://www.cmswatch.com/RSS/cmswatch.xml,${pubs.dir}/cmswatch.xml"/>
+ </target>
+
+<!--
+ <target name="clean" description="Delete all generated files">
+ <delete dir="classes"/>
+ <delete file="dvx.jar"/>
+ </target>
+-->
+
+ <target name="compile" description="Compile the Task" depends="init">
+ <mkdir dir="${classes.dir}"/>
+ <javac srcdir="${src.dir}/java" includes="org/apache/lenya/cms/ant/DownloadFeeds.java" destdir="${classes.dir}"/>
+ </target>
+
+<!--
+ <target name="jar" description="Generate JAR" depends="compile">
+ <jar destfile="Dvx.jar" basedir="classes"/>
+ </target>
+-->
+
+ <target name="download" description="Download and verify the feeds" depends="compile,init">
+ <taskdef name="dvx" classname="org.apache.lenya.cms.ant.DownloadFeeds" classpath="${classes.dir}"/>
+ <echo>Download Feeds</echo>
+ <dvx rootdir="${pubs.dir}" feeds="${feeds}"/>
+ </target>
+
+</project>
Added: incubator/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/bin/feeds.properties.sample
==============================================================================
--- (empty file)
+++ incubator/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/bin/feeds.properties.sample Sun Sep 26 04:20:57 2004
@@ -0,0 +1,6 @@
+#
+# [Feed-URL],[File-PATH],[Feed-URL],[File-PATH],...
+# NOTE: No whitespace after and before colons!
+#
+#feeds=http://www.oscom.org/planet-oscom/rss.xml,oscom.xml,http://www.cmswatch.com/RSS/cmswatch.xml,cmswatch.xml
+feeds=http://www.cmswatch.com/RSS/cmswatch.xml,cmswatch.xml
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org