Re: ant junit task...

2007-08-27 Thread Jerome Jar
Hi, Mayur, I think you can make use of the "excludes" attribute of the fileset. Inner classes have at least one "$" marks in the names of their class files. Regards, Jerome. On 8/28/07, mayurs <[EMAIL PROTECTED]> wrote: > > Hi All > > I have this Junit task in my build.xml file, > > >

ant junit task...

2007-08-27 Thread mayurs
Hi All I have this Junit task in my build.xml file, The problem is this wilcard for includes above will run all Junit Test classes that I have , including some inner class. How do I tell Junit ant task, to skip inner classes from a spec

Re: Problem running junit on Solaris 64 bit

2007-08-27 Thread cactuar
Thank you. I am still confused on why I can run my jar file fine with "java -jar" on a command line, but not with JUnit/Ant. Are there two kinds of VM here? The VM the Ant runs with and another VM that I run on command line?? Thank you for your help. -- View this message in context: http://

Re: path & fileset question

2007-08-27 Thread Matt Benson
--- Krzysztof Kucybała <[EMAIL PROTECTED]> wrote: > > > That seems a little strange, but I'll take your > word > > for it as I know nothing about phpunit. The > obvious > > (to me, anyway; sorry) way to get the target > filename > > and the --log whatever that was switch together is > to > > a

Re: Problem running junit on Solaris 64 bit

2007-08-27 Thread Robert Clark
On Monday August 27, 2007, cactuar <[EMAIL PROTECTED]> wrote: > Robert Clark-2 wrote: > > If you are running the JUnit tests inside of Ant, add the "-d64" > > option to the ANT_OPTS env. variable before starting Ant. > > I tried setting the ANT_OPTS env. variable in my environment like > this; ANT_

Re: path & fileset question

2007-08-27 Thread Krzysztof Kucybała
That seems a little strange, but I'll take your word for it as I know nothing about phpunit. The obvious (to me, anyway; sorry) way to get the target filename and the --log whatever that was switch together is to add the switch to your mapper. But somehow I am afraid this may not be the issue.

Re: Problem running junit on Solaris 64 bit

2007-08-27 Thread cactuar
Robert Clark-2 wrote: > > If you are running the JUnit tests inside of Ant, add the "-d64" option to > the ANT_OPTS env. variable before starting Ant. > I tried setting the ANT_OPTS env. variable in my environment like this; ANT_OPTS=-d64; export ANT_OPTS But it did not make a difference. Is

Re: sql ant task

2007-08-27 Thread Ognjen Blagojevic
Hi Temp, :) I trying to execute small script using ant , here is the script ... select 'drop table ', table_name, 'cascade constraints \;' from user_tables Save your script to sql/SCRIPT.sql, and try something like this: --

Re: path & fileset question

2007-08-27 Thread Matt Benson
--- Krzysztof Kucybała <[EMAIL PROTECTED]> wrote: > > > Matt Benson wrote: > > --- Krzysztof KucybaÅ‚a <[EMAIL PROTECTED]> > wrote: > > > >> Hi, > >> > >> I have a big problem. I'm trying to have ant run > >> phpunit and phpunit2 > >> tests. To achieve that I'm using an exec task. It > >>

Re: replaceregex issues

2007-08-27 Thread Vihan Pandey
> > > Thanks a million Gilbert !!! I REALLY appreciate all the effort you have taken in thinking of this and testing it out :-) However i've noticed something strange that the replaceregex task fails in cretain(but not all) cases(if there are a VERY large number of files nested in a deep director

Re: path & fileset question

2007-08-27 Thread Krzysztof Kucybała
Matt Benson wrote: --- Krzysztof Kucybała <[EMAIL PROTECTED]> wrote: Hi, I have a big problem. I'm trying to have ant run phpunit and phpunit2 tests. To achieve that I'm using an exec task. It was running smoothly until I tried to execute multiple files which were not known at design tim

RE: replaceregex issues

2007-08-27 Thread Rebhan, Gilbert
-Original Message- From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] Sent: Monday, August 27, 2007 1:43 PM To: Ant Users List Subject: RE: replaceregex issues /* ok, tested now = works for me with ant 1.6.5 / jdk 1.4.2_08 */ typo, has to be = instead, the reference to the group

RE: replaceregex issues

2007-08-27 Thread Rebhan, Gilbert
-Original Message- From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] Sent: Monday, August 27, 2007 1:19 PM To: Ant Users List Subject: RE: replaceregex issues -Original Message- From: Vihan Pandey [mailto:[EMAIL PROTECTED] Sent: Monday, August 27, 2007 12:00 PM To: Ant Users

RE: replaceregex issues

2007-08-27 Thread Rebhan, Gilbert
Hi, -Original Message- From: Vihan Pandey [mailto:[EMAIL PROTECTED] Sent: Monday, August 27, 2007 12:00 PM To: Ant Users List Subject: replaceregex issues /* ../http://web1.foo.com with http://web1.foo.com ../../http://web1.foo.com with http://web1.foo.com ../../../http://web1.foo.c

replaceregex issues

2007-08-27 Thread Vihan Pandey
Hello, I have a rather strange issue while replacing strings from a set of files. My objective is to replace occurences of : ../http://web1.foo.com with http://web1.foo.com ../../http://web1.foo.com with http://web1.foo.com ../../../http://web1.foo.com with http://web1.foo.com and so on.