Re: running junit from ant

2006-01-17 Thread Lothar Krenzien
You're right. I didn't realised the difference. Now it works as it should ;) Thanks, Lothar > > On Mon, 16 Jan 2006, Lothar Krenzien <[EMAIL PROTECTED]> wrote: > > > > > > > >

Re: running junit from ant

2006-01-16 Thread Lothar Krenzien
> > > I can't believe it because the test target depends on the compile > > target and I included the output dir (where the compiler stores the > > classes) in my classpath. In the debug output I can see that the > > classes are really included. > > > > [junit] '-classpath' ... > > W:\de

Re: running junit from ant

2006-01-13 Thread Lothar Krenzien
'formatter=org.apache.tools.ant.taskdefs.optional.junit.PlainJUnitResultFormatter,W:\application\webapp\deploy\TEST-TestImportAlarm.txt' 'propsfile=W:\application\webapp\junit931262155.properties' But maybe I will try it again when I have some more time. Thanks for all your patie

Re: running junit from ant

2006-01-12 Thread Lothar Krenzien
test but a test suite. Is it a problem that I created the Testclasses with Eclipse ? Or that I use Log4J ? Thanks Lothar "Ant Users List" schrieb am 12.01.06 06:21:11: > > On Wed, 11 Jan 2006, Lothar Krenzien <[EMAIL PROTECTED]> wrote: > > > of course I'v

Re: running junit from ant

2006-01-11 Thread Lothar Krenzien
t Users List" schrieb am 11.01.06 06:04:45: > > On Tue, 10 Jan 2006, Lothar Krenzien <[EMAIL PROTECTED]> wrote: > > > When I run a JUnit test suite from ant I would like to see at least > > the result of the tests. At the moment only errors are logged. > > T

running external batch from ant

2006-01-10 Thread Lothar Krenzien
Hi there, I would like to run an external batch file from ant. Of course no problem. But I notified that ant don't proceed until the batch execution finished. Is it possible to start the batch, let the output window open and proceed with ant ? Thanks, Lothar

Re: passing the name of a property file as parameter

2005-11-09 Thread Lothar Krenzien
I've red some tutorials before where the command was used. But I always found out the command line option you said and now it works ;). As I understood both commands should be the same - or not ? "Ant Users List" schrieb am 09.11.05 19:26:51: > > On Wed, 09 Nov 2005 1

Re: passing the name of a property file as parameter

2005-11-09 Thread Lothar Krenzien
Hi Jeffrey, I forgott to say that was my first attemp. But I just realized that I made another mistake. So it works now. But now I can't access the values in the properties file. -- deploy.bat ant -Dproperties.file=properties.win -- properties.win tomcat.dir=D:\prog\jakarta-tomcat-5.5.4 -

passing the name of a property file as parameter

2005-11-09 Thread Lothar Krenzien
Hi, I have an Ant script which should use a property file. But I want to pass the name of the file as an argument from a script. I've red the FAQ but can't get it working :( Here's an example of what I want to do: --windows.bat ant deploy -Dproperty.file=properties.win --linux.bat ant deploy

problems creating war file

2005-11-08 Thread Lothar Krenzien
Hi there, I'm trying to create a war file using the Ant war-task. The creted file seems to be ok but all the files under WEB-INF/classes and WEB-INF/lib exists twice or even 3-times (with the same name in the same dir). Of course I can skip the duplicate files but it confuse me ;) My app look