incubator-depot-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nickcha...@apache.org
Subject svn commit: rev 6967 - in incubator/depot/trunk/ruper/src/sample: . src src/org src/org/apache src/org/apache/depot src/org/apache/depot/ruper src/org/apache/depot/ruper/sample
Date Tue, 02 Mar 2004 08:33:49 GMT
Author: nickchalko
Date: Tue Mar  2 00:33:48 2004
New Revision: 6967

Added:
   incubator/depot/trunk/ruper/src/sample/   (props changed)
   incubator/depot/trunk/ruper/src/sample/build.xml
   incubator/depot/trunk/ruper/src/sample/src/
   incubator/depot/trunk/ruper/src/sample/src/org/
   incubator/depot/trunk/ruper/src/sample/src/org/apache/
   incubator/depot/trunk/ruper/src/sample/src/org/apache/depot/
   incubator/depot/trunk/ruper/src/sample/src/org/apache/depot/ruper/
   incubator/depot/trunk/ruper/src/sample/src/org/apache/depot/ruper/sample/
   incubator/depot/trunk/ruper/src/sample/src/org/apache/depot/ruper/sample/HelloWorld.java
Log:
Added sample project.

Added: incubator/depot/trunk/ruper/src/sample/build.xml
==============================================================================
--- (empty file)
+++ incubator/depot/trunk/ruper/src/sample/build.xml	Tue Mar  2 00:33:48 2004
@@ -0,0 +1,35 @@
+<project default="compile" name="rupersample">
+
+
+    <typedef resource="org/apache/ruper/ant/antlib.xml"/>
+    <repository id="maven" url="http://www.ibiblio.org/maven/" remote="true"/>
+
+
+    <ruperset id="jars">
+        <resource name="log4j"
+                  ext="jar"
+                  version="1"
+                  repository="maven"
+         />
+    </ruperset>
+    <path id="ruper.sample.libs" >
+        <fileset refid="jars.fileset"/>
+    </path>
+
+
+    <target name="compile" >
+        <mkdir dir="build/classes"/>
+        <javac srcdir="src" destdir="build/classes">
+            <classpath refid="ruper.sample.libs">
+            </classpath>
+        </javac>
+
+    </target>
+    <target name="clean" >
+        <delete dir="build">
+            <exclude name="build/ide/*"/>
+        </delete>
+    </target>
+
+
+</project>

Added: incubator/depot/trunk/ruper/src/sample/src/org/apache/depot/ruper/sample/HelloWorld.java
==============================================================================
--- (empty file)
+++ incubator/depot/trunk/ruper/src/sample/src/org/apache/depot/ruper/sample/HelloWorld.java
Tue Mar  2 00:33:48 2004
@@ -0,0 +1,13 @@
+package org.apache.depot.ruper.sample;
+
+import org.apache.log4j.Category;
+
+/**
+ * Classic HelloWorld
+ */
+public class HelloWorld {
+	private final static Category LOG = Category.getInstance(HelloWorld.class);
+	public static void main(String[] args) {
+		System.out.println("Hello World.");
+	}
+}

Mime
View raw message