On Fri, 2005-04-15 at 15:42 +0200, Ceki GÃlcà wrote:
> I don't see what you are trying to say. Do you use ant?
> 
> At 08:26 PM 4/14/2005, you wrote:
> >On Thu, 2005-04-14 at 18:59 +0100, Dave Pawson wrote:
> >
> >
> > > I can't hack the 'type *.log' to make it work well on Linux.
> >
> >
> >Just did.
> >
> >  javac -classpath ../lib/log4j-1.2.9.jar:. $1/$2.java
> >  java -cp ../lib/log4j-1.2.9.jar:. $1.$2
> >
> >for i in *.log
> >  do
> >   echo "............File" $i
> >   cat $i
> >  done
> >
> >rm -f *.log


When I started reading, I didn't see how the ant build.xml could work to
build just one  file?

So, working on windows, I wrote the batch file I sent.

When I got home(linux) I then wrote the above script
which handles chapter two examples, which have *.log output?

I keep modifying the examples as I learn, so I wanted to just compile
and run one java file, as I changed it.

That's why I added the 'show log files' part to the script file.

regards DaveP





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to