Re: AW: Feature requests: include ant-contrib, unordered file sets, "cp"-like copy task

2008-12-03 Thread Francis Galiegue
Le mardi 02 décembre 2008, Francis Galiegue a écrit :
[...]
> 
> > 
> > 3.I did not try this, but it seems not too difficult, perhaps I dont know 
> > enough about cp. 
> > What about
> > 
> >  
> >   
> > 
> >   
> > 
> > 
> 
> I'll try that and report.
> 

Nope...

It recopies the whole directory structure. This is not what I want.

Say, I have:

basedir/a/src/java/com/
basedir/a/src/java/org/...
basedir/b/src/java/com/
basedir/b/src/java/foo/...

What I want to have, in the destination directory, is what the cp command I 
gave as an example achieves, ie, in the dstdir:

com/
com/org/...
com/foo/...
com/

What the following ant scriptlet recreates all the tree below the basedir in 
dstdir, as in:

a/src/java/com/
a/src/java/org/...
b/src/java/com/
b/src/java/foo/...

Just like if I entered the following shell command:

(cd basedir && tar cf - */src/java/*)|(cd dstdit && tar xf -)

So, it just looks like ant cannot do what I want here, or maybe it can do it 
in such a convoluted way that I prefer my one-liner ... unless a 
cp-like task is created :p

-- 
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 6 83 87 78 75
Tel : +33 (0) 1 78 94 55 52
[EMAIL PROTECTED]
40 avenue Raymond Poincaré
75116 Paris

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



Re: AW: Feature requests: include ant-contrib, unordered file sets, "cp"-like copy task

2008-12-03 Thread Francis Galiegue
Le mercredi 03 décembre 2008, Francis Galiegue a écrit :
> Le mardi 02 décembre 2008, Francis Galiegue a écrit :
> [...]
> > 
> > > 
> > > 3.I did not try this, but it seems not too difficult, perhaps I dont 
know 
> > > enough about cp. 
> > > What about
> > > 
> > >  
> > >   
> > > 
> > >   
> > > 
> > > 
> > 
> > I'll try that and report.
> > 
> 
> Nope...
> 
> It recopies the whole directory structure. This is not what I want.
> 
> Say, I have:
> 
> basedir/a/src/java/com/
> basedir/a/src/java/org/...
> basedir/b/src/java/com/
> basedir/b/src/java/foo/...
> 
> What I want to have, in the destination directory, is what the cp command I 
> gave as an example achieves, ie, in the dstdir:
> 
> com/
> com/org/...
> com/foo/...
> com/
> 

Sorry, this should have been:

com/
org/...
foo/...
com/

-- 
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 6 83 87 78 75
Tel : +33 (0) 1 78 94 55 52
[EMAIL PROTECTED]
40 avenue Raymond Poincaré
75116 Paris

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



Re: Feature requests: include ant-contrib, unordered file sets, "cp"-like copy task

2008-12-03 Thread Stefan Bodewig
On 2008-12-03, Francis Galiegue <[EMAIL PROTECTED]> wrote:

> Le mardi 02 décembre 2008, Francis Galiegue a écrit :
> [...]


>>> 3.I did not try this, but it seems not too difficult, perhaps I dont know
>>> enough about cp.
>>> What about

>>> 
>>>   
>>> 
>>>   
>>> 


>> I'll try that and report.


> Nope...

> It recopies the whole directory structure. This is not what I want.

> Say, I have:

> basedir/a/src/java/com/
> basedir/a/src/java/org/...
> basedir/b/src/java/com/
> basedir/b/src/java/foo/...

> What I want to have, in the destination directory, is what the cp command I
> gave as an example achieves, ie, in the dstdir:

> com/
> com/org/...
> com/foo/...
> com/

 
   
 
   
   
 

should work (untested).

Stefan

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



How can I figure out what JUnit test case is failing?

2008-12-03 Thread dave.alvarado
Hi,

I'm using Ant 1.6.5 with Eclipse 3.4 (Win XP), JRE 1.5.  I run a particular 
JUnit task that fails, but I can't figure out which test within my JUnit 
TestCase class is failing.  Here's my task ...

  

   
  



  
  
  
  

  

but all that is output to my Eclipse console is

run-delete-add-test:
[junit] Running DeleteAddSubscriberTest
[junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 2.156 sec

BUILD FAILED
C:\Temp\CedarPoint_Service\build-junit-test.xml:105: Test 
DeleteAddSubscriberTest failed


How can I get more detailed information about what is going wrong?  There are 8 
tests within the DeleteAddSubscriberTest class.  
Thanks, - Dave

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



Re: How can I figure out what JUnit test case is failing?

2008-12-03 Thread Mark Salter
[EMAIL PROTECTED] wrote:

> How can I get more detailed information about what is going wrong?
How about checking your 'outfile'?

-- 
Mark

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



AW: How can I figure out what JUnit test case is failing?

2008-12-03 Thread Knuplesch, Juergen
Use the  to get the results in HTML. 


-- 
Jürgen Knupleschwww.icongmbh.de
icon Systemhaus GmbHTel. +49 711 806098-275
Sophienstraße 40
D-70178 Stuttgart   Fax. +49 711 806098-299

Geschäftsführer: Uwe Seltmann
HRB Stuttgart 17655
USt-IdNr.: DE 811944121 
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 3. Dezember 2008 18:31
An: Ant Users List
Betreff: How can I figure out what JUnit test case is failing?

Hi,

I'm using Ant 1.6.5 with Eclipse 3.4 (Win XP), JRE 1.5.  I run a particular 
JUnit task that fails, but I can't figure out which test within my JUnit 
TestCase class is failing.  Here's my task ...

  

   
  



  
  
  
  

  

but all that is output to my Eclipse console is

run-delete-add-test:
[junit] Running DeleteAddSubscriberTest
[junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 2.156 sec

BUILD FAILED
C:\Temp\CedarPoint_Service\build-junit-test.xml:105: Test 
DeleteAddSubscriberTest failed


How can I get more detailed information about what is going wrong?  There are 8 
tests within the DeleteAddSubscriberTest class.  
Thanks, - Dave

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


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



AW: How can I figure out what JUnit test case is failing?

2008-12-03 Thread Knuplesch, Juergen
So what do you want to do?

1.Run a junittest under Eclipse? (There is a good Junit plugin for Eclipse: Use 
it!)
2.Run a junit-test under ANT? (e.g. run a bunch of tests in batchmode): Use 



-- 
Jürgen Knuplesch
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 3. Dezember 2008 18:31
An: Ant Users List
Betreff: How can I figure out what JUnit test case is failing?

Hi,

I'm using Ant 1.6.5 with Eclipse 3.4 (Win XP), JRE 1.5.  I run a particular 
JUnit task that fails, but I can't figure out which test within my JUnit 
TestCase class is failing.  Here's my task ...

  

   
  



  
  
  
  

  

but all that is output to my Eclipse console is

run-delete-add-test:
[junit] Running DeleteAddSubscriberTest
[junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 2.156 sec

BUILD FAILED
C:\Temp\CedarPoint_Service\build-junit-test.xml:105: Test 
DeleteAddSubscriberTest failed


How can I get more detailed information about what is going wrong?  There are 8 
tests within the DeleteAddSubscriberTest class.  
Thanks, - Dave

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


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