You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@depot.apache.org by Nick Chalko <ni...@chalko.com> on 2004/04/20 20:31:54 UTC

Re: svn commit: rev 10130 - incubator/depot/trunk/update/src/sample/src/org/apache/depot/update/sample

Change the build.xml also.
ajack@apache.org wrote:

>Author: ajack
>Date: Tue Apr 20 13:05:30 2004
>New Revision: 10130
>
>Modified:
>   incubator/depot/trunk/update/src/sample/src/org/apache/depot/update/sample/HelloWorld.java
>Log:
>converted log4j to regexp.
>
>
>Modified: incubator/depot/trunk/update/src/sample/src/org/apache/depot/update/sample/HelloWorld.java
>==============================================================================
>--- incubator/depot/trunk/update/src/sample/src/org/apache/depot/update/sample/HelloWorld.java	(original)
>+++ incubator/depot/trunk/update/src/sample/src/org/apache/depot/update/sample/HelloWorld.java	Tue Apr 20 13:05:30 2004
>@@ -16,14 +16,18 @@
>  */
> package org.apache.depot.update.sample;
> 
>-import org.apache.log4j.Category;
>+import org.apache.regexp.RE;
> 
> /**
>  * 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.");
>+	private  static RE re = null;
>+	
>+	
>+	public static void main(String[] args) throws Exception {
>+		re = new RE("*");
>+		
>+		System.out.println("Hello World. " + re.toString());
> 	}
> }
>  
>