Ant compilation error (RMI class def not found)

2008-10-07 Thread defrit
Hello, when running my build.xml with ant i get the following error message: wtkpreverify] Preverifying C:\workspace\Midlets\test.jar [wtkpreverify] Error preverifying class clients.stubs.WebService [wtkpreverify] java/lang/NoClassDefFoundError: java/rmi/Remote [wtkpreverify] Error preferif

Using ANT for JSF validation

2008-10-07 Thread dave.alvarado
Hi, Is there a way I can configure my build script such that it reports validation errors for JSF (Java Server Faces) applications? I'm using the Apache MyFaces 1.1.6 implementation. Thanks, - Dave - To unsubscribe, e-mail: [

RE: find file in specify directory and its sub-directory

2008-10-07 Thread Ben Tu
It worked. thanks -Original Message- From: Matt Benson [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2008 11:03 AM To: Ant Users List Subject: RE: find file in specify directory and its sub-directory pathsep="${line.separator}" --- Ben Tu <[EMAIL PROTECTED]> wrote: > Matt, > This

RE: find file in specify directory and its sub-directory

2008-10-07 Thread Matt Benson
pathsep="${line.separator}" --- Ben Tu <[EMAIL PROTECTED]> wrote: > Matt, > This will returned the list of files separate with > path separator. > I want it returns a list of files as follow. > > ${basedir}/com/abc/a.class > ${basedir}/com/abc/b.class > > Thanks, Ben > > > -Original Messa

RE: find file in specify directory and its sub-directory

2008-10-07 Thread Ben Tu
Matt, This will returned the list of files separate with path separator. I want it returns a list of files as follow. ${basedir}/com/abc/a.class ${basedir}/com/abc/b.class Thanks, Ben -Original Message- From: Matt Benson [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2008 10:35 AM

RE: find file in specify directory and its sub-directory

2008-10-07 Thread Ben Tu
Scot, Thank you for your response. This returns the number of files not the list of actual files. Ben -Original Message- From: Scot P. Floess [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2008 10:28 AM To: Ant Users List Subject: Re: find file in specify directory and its sub-direc

Using filters to write property values

2008-10-07 Thread Alec Fernandez
Hello, I am trying to use a copy/filter to replace tokens in a file. The file is a properties file and the tokens should be replaced with property values. [EMAIL PROTECTED]@ Obviously this involves writing the property values in escaped unicode encoding so I end up with myproperty=c\:\\my_di

Re: find file in specify directory and its sub-directory

2008-10-07 Thread Matt Benson
Are your sed commands trying to strip off the leading ./ , then escape dollar signs found? If so, the second probably wouldn't be relevant: Something like that? HTH, Matt --- Ben Tu <[EMAIL PROTECTED]> wrote: > Hi, > I would like to accomplish the similar task below in > ant script. >

Re: find file in specify directory and its sub-directory

2008-10-07 Thread Scot P. Floess
You might check the resourcecount target On Tue, 7 Oct 2008, Ben Tu wrote: Hi, I would like to accomplish the similar task below in ant script. Does anyone know how? find . -name '*.class' | sed -e 's/^.\///g' -e 's/\$/\\\$/g' | sort > log.txt thanks

find file in specify directory and its sub-directory

2008-10-07 Thread Ben Tu
Hi, I would like to accomplish the similar task below in ant script. Does anyone know how? find . -name '*.class' | sed -e 's/^.\///g' -e 's/\$/\\\$/g' | sort > log.txt thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

RE: Loose logging when using forkmode

2008-10-07 Thread Boring, Jeff W (N-Viper)
This fixed it, thanks! For those using XML to configure log4j, add the following line to your console appender definition. Jeff -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2008 6:58 PM To: Ant Users List Cc: Ravindran, Neal; Michae

is broken with Jython in 1.7.1

2008-10-07 Thread ext-simon.steiner
Hi, I am getting this with error with 1.7.1 and not with 1.7.0. Calling just self.xxx doesn't cause problems. There was a similar issue, I've included below. SyntaxError: ('invalid syntax', ('', 2, 13, "errorsTotal = project.getPr operty('build.errors.total')")) errorsTotal

Re: Junit tests failing through ant, but succesful when run from IDE

2008-10-07 Thread Ram.s
My junit element in the build file is as follows: I've named my junit tests as *Fit.java, and that is my Req

Re: Junit tests failing through ant, but succesful when run from IDE

2008-10-07 Thread Kamal Chandana Mettananda
How do you call the test with your build file? Does your target with the test start execution? --- http://lkamal.blogspot.com On Tue, Oct 7, 2008 at 3:53 PM, Ram.s <[EMAIL PROTECTED]> wrote: > > Hi all, > > I'm running junit tests from my IntelliJ IDEA, and

Junit tests failing through ant, but succesful when run from IDE

2008-10-07 Thread Ram.s
Hi all, I'm running junit tests from my IntelliJ IDEA, and the test has no problems and is successful. But when i wrote a junit target in my build file to run this test, its saying the test has failed. I dont think the target is executing the test atall . Its urgent, Please, can anyone come u