From f98fea6a9cf6707fdbbe1f0e32e7f3c3b73f6b05 Mon Sep 17 00:00:00 2001 From: Jan Materne Date: Mon, 1 Aug 2005 15:30:27 +0000 Subject: [PATCH] typo, typo and explanation for Log4J git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278480 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/tutorial-HelloWorldWithAnt.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/manual/tutorial-HelloWorldWithAnt.html b/docs/manual/tutorial-HelloWorldWithAnt.html index c78c31a83..56d61af35 100644 --- a/docs/manual/tutorial-HelloWorldWithAnt.html +++ b/docs/manual/tutorial-HelloWorldWithAnt.html @@ -112,7 +112,7 @@ ant compile jar run

Enhance the build file

Ok, the build works - but it is not as nice as it should: many time you are referencing the same directories, main-class and jar-name are hard coded, and while invocation you have to remember the right order of build steps.

-

The first and second point would be adressed with properties, the thirs with a special property - an attribute +

The first and second point would be adressed with properties, the third with a special property - an attribute of the <project>-tag and the fourth problem can be solved using dependencies.

@@ -214,7 +214,7 @@ public class HelloWorld {
 }
 
-

Most of the modifications are "framework overhead" which has to be done once. The red line is our "old System-out" +

Most of the modifications are "framework overhead" which has to be done once. The blue line is our "old System-out" statement.

Don't try to run ant - you will only get lot of compiler errors. Log4J is not inside the classpath so we have to do a little work here. But do not change the CLASSPATH environment variable! This is only for this project and maybe @@ -265,7 +265,7 @@ a jarname and a classpath. So add our class in the red line to the alread

  • [main] the running thread from our application
  • INFO log level of that statement
  • oata.HelloWorld source of that statement -
  • - sorry don't know - some Log4J stuff
  • +
  • - separator
  • Hello World the message
  • For another layout ... have a look inside Log4J's documentation about using other PatternLayout's.