ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Cuilla" <chris.cui...@cuilla.com>
Subject Re: junit task with formatter
Date Mon, 15 Jan 2001 01:01:31 GMT
I think I found it...

The project I am working on exists in a path that contains a comma (THAT's the
problem...not the spaces).

This is a problem for the "createAndStoreFormatter()" method (lines 338-348 in
JUnitTestRunner.java), since it it trying to parse the line, expecting a comma
separated list.

I do not know this code very intimately, so I'm not sure exactly why the code
needs to do this. If I did, I's try to fix this myself. For now, a work around
appears to be...don't put projects in directory paths that contain commas.

Later,

Chris


----- Original Message -----
From: "St├ęphane Bailliez" <sbailliez@imediation.com>
To: <ant-user@jakarta.apache.org>
Cc: <chris.cuilla@cuilla.com>
Sent: Sunday, January 14, 2001 5:19 PM
Subject: Re: junit task with formatter


> I understand that your problem first appeared with the formatter of junit
> but this should be related to a more general launcher problem, this is why
> I'm asking for a Javadoc task test.
>
> I'm sorry but I don't have win98 right now nor a unix box, so I cannot try
> the behavior on these platforms which I believe will be identical.
>
> If you don't have time this is no big deal I will try to do it tomorrow.
>
> Thanks.
>
> ----- Original Message -----
> From: "Chris Cuilla" <chris.cuilla@cuilla.com>
> To: <ant-user@jakarta.apache.org>
> Sent: Monday, January 15, 2001 1:04 AM
> Subject: Re: junit task with formatter
>
>
> > > > > > It seems that the junit formatter does not like project
> directories
> > > > > > that contain spaces. Can anyone confirm this?
> > > > >
> > > > > Are you executing Ant under Unix ?
> > > >
> > > > I am using Windows 98
> > >
> > > Okay, I think I know where the problem is. Could you give me your ant
> > > version (1.2 ?) and additionaly, if you have time, try to run a javadoc
> task
> > > with a doctitle or a windowtitle with space in it.
> > > Run ant with -verbose and copy/paste the command line that was invoked.
> I
> > > believe it should fail parsing the command line.
> > >
> > > Thanks for your time.
> >
> > I am running Ant 1.2.
> >
> > Since you are asking for a "javadoc" task vs. a "junit" task, I simply
> want make
> > sure we're on the same page. The problem I am having is with the
> "formatter"
> > option under a "junit" task.
> >
> > Assuming you understand this, and the instructions you've given will help,
> I'll
> > do it.
> >
> > Chris
> >
>
>


Mime
View raw message