commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1130955 - in /commons/sandbox/digester3/trunk/src/examples/edsl: ./ atom/ atom/pom.xml atom/readme.txt atom/src/ atom/src/main/ atom/src/main/java/ atom/xmlcontent.xml
Date Fri, 03 Jun 2011 09:21:25 GMT
Author: simonetripodi
Date: Fri Jun  3 09:21:25 2011
New Revision: 1130955

URL: http://svn.apache.org/viewvc?rev=1130955&view=rev
Log:
added yet another sample archetype to show EDSL usage

Added:
    commons/sandbox/digester3/trunk/src/examples/edsl/
    commons/sandbox/digester3/trunk/src/examples/edsl/atom/
    commons/sandbox/digester3/trunk/src/examples/edsl/atom/pom.xml   (with props)
    commons/sandbox/digester3/trunk/src/examples/edsl/atom/readme.txt   (with props)
    commons/sandbox/digester3/trunk/src/examples/edsl/atom/src/
    commons/sandbox/digester3/trunk/src/examples/edsl/atom/src/main/
    commons/sandbox/digester3/trunk/src/examples/edsl/atom/src/main/java/
    commons/sandbox/digester3/trunk/src/examples/edsl/atom/xmlcontent.xml   (with props)

Added: commons/sandbox/digester3/trunk/src/examples/edsl/atom/pom.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/examples/edsl/atom/pom.xml?rev=1130955&view=auto
==============================================================================
--- commons/sandbox/digester3/trunk/src/examples/edsl/atom/pom.xml (added)
+++ commons/sandbox/digester3/trunk/src/examples/edsl/atom/pom.xml Fri Jun  3 09:21:25 2011
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <parent>
+    <groupId>org.apache.commons</groupId>
+    <artifactId>commons-digester3-samples</artifactId>
+    <version>3.0-SNAPSHOT</version>
+    <relativePath>../</relativePath>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>commons-digester3-samples-edsl</artifactId>
+  <packaging>jar</packaging>
+  <name>Apache Commons Digester :: Examples :: EDSL</name>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>exec-maven-plugin</artifactId>
+        <configuration>
+          <mainClass>org.apache.commons.digester3.edsl.Main</mainClass>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Propchange: commons/sandbox/digester3/trunk/src/examples/edsl/atom/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: commons/sandbox/digester3/trunk/src/examples/edsl/atom/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: commons/sandbox/digester3/trunk/src/examples/edsl/atom/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: commons/sandbox/digester3/trunk/src/examples/edsl/atom/readme.txt
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/examples/edsl/atom/readme.txt?rev=1130955&view=auto
==============================================================================
--- commons/sandbox/digester3/trunk/src/examples/edsl/atom/readme.txt (added)
+++ commons/sandbox/digester3/trunk/src/examples/edsl/atom/readme.txt Fri Jun  3 09:21:25
2011
@@ -0,0 +1,32 @@
+#########################################################################
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#  
+#      http://www.apache.org/licenses/LICENSE-2.0
+#  
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#########################################################################
+
+This directory contains the example code for parsing ATOM newsfeeds.
+
+A packaged distribution can be created by using Apache Maven:
+
+* to compile:
+  mvn compile
+
+* to build the jar artifact
+  mvn package
+
+* to run:
+  mvn verify
+
+Alternatively, you can set up your CLASSPATH appropriately, and
+run the example directly.

Propchange: commons/sandbox/digester3/trunk/src/examples/edsl/atom/readme.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: commons/sandbox/digester3/trunk/src/examples/edsl/atom/readme.txt
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: commons/sandbox/digester3/trunk/src/examples/edsl/atom/readme.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: commons/sandbox/digester3/trunk/src/examples/edsl/atom/xmlcontent.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/examples/edsl/atom/xmlcontent.xml?rev=1130955&view=auto
==============================================================================
--- commons/sandbox/digester3/trunk/src/examples/edsl/atom/xmlcontent.xml (added)
+++ commons/sandbox/digester3/trunk/src/examples/edsl/atom/xmlcontent.xml Fri Jun  3 09:21:25
2011
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+<!--
+    ATOM feed kindly borrowed from Apache Abdera
+    (see http://svn.apache.org/repos/asf/abdera/java/trunk/parser/src/test/resources/xmlcontent.xml)
+-->
+<feed xmlns="http://www.w3.org/2005/Atom">
+
+  <title>Example Feed</title>
+  <link href="http://example.org/"/>
+  <updated>2003-12-13T18:30:02Z</updated>
+  <author>
+    <name>John Doe</name>
+  </author>
+  <id>urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6</id>
+
+  <entry>
+    <title>Atom-Powered Robots Run Amok</title>
+    <link href="http://example.org/2003/12/13/atom03"/>
+    <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
+    <updated>2003-12-13T18:30:02Z</updated>
+    <content type="application/xml"><a xmlns="http://example.org"><b><c>test</c></b></a></content>
+  </entry>
+
+</feed>

Propchange: commons/sandbox/digester3/trunk/src/examples/edsl/atom/xmlcontent.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: commons/sandbox/digester3/trunk/src/examples/edsl/atom/xmlcontent.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: commons/sandbox/digester3/trunk/src/examples/edsl/atom/xmlcontent.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message