AW: TimeStamp

2006-05-04 Thread Jan.Materne
AFIK there is none in Ant or AC - maybe there is an external task. But you could use scripting for that. I modified an old example for getting the filesize: project scriptdef name=getfd language=javascript attribute name=file/ attribute name=property/ ![CDATA[

Re: junitreport error: ClassNotFoundException: redirect

2006-05-04 Thread Ivan \Rambius\ Ivanov
Hello, Can you post the relevant parts of your build script mainly the part with junitreport task? Regards Ivan --- Dave Rathnow [EMAIL PROTECTED] wrote: Hi, I've searched the archives and Googled this error but I can't find the solution. I'm using Ant 1.6.5, Java 1.4.1 and

and and cvs

2006-05-04 Thread Keith Hall
I'm hoping someone else has done this before or something similar I'm using ant to generate a report showing changes to files between tags within our cvs repository. This for example works target name=tagprompts input message=Please Enter Start Tag:

Problem with ant 1.6

2006-05-04 Thread Susheel Raina
Hi, We are using ant 1.6 alpha for building and deploying our Web application. We are facing a problem with this version. While trying to compile our webervices using jwsdp-1_0_01/bin/xrpcc.sh, it is unable to compile from the build file. However If I run the same command from shell, it works

Re: Problem with ant 1.6

2006-05-04 Thread Scot P. Floess
Can you include some output and elaborate a bit more? From your email it looks like you are attempting to call a shell script and that is failing? More information would be useful :) Scot Susheel Raina wrote: Hi, We are using ant 1.6 alpha for building and deploying our Web application.

AW: Problem with ant 1.6

2006-05-04 Thread Jan.Materne
We are using ant 1.6 alpha for building and deploying our Web Just wanna know If there is something I am missing??? Maybe that there are newer versions And we would miss a more meaningful error message Jan - To

scp multiple files getting error

2006-05-04 Thread glenn opdycke-hansen
I am executing scp from ant and getting the error message No response from server. I have used scp successfully before. This time it is tranfering multiple files from winxp to unix. (transferring a single file is working fine.) The code snippet follows: scp todir=${u}:[EMAIL

Re: AW: TimeStamp

2006-05-04 Thread Matt Benson
Or you could use Antelope's (antelope.tigris.org) fileutils task (lastmodified operation). Now Dale won't have to plug it himself. ;) HTH, Matt --- [EMAIL PROTECTED] wrote: AFIK there is none in Ant or AC - maybe there is an external task. But you could use scripting for that. I modified

Re: SQL task output encoding

2006-05-04 Thread Patrick Martin
I might be wrong on this: Java Reader and Writer always use Unicode by default On 5/4/06, Patrick Martin [EMAIL PROTECTED] wrote: Hello, I'd like to know which encoding is used by the SQL task when outputing to a file. I believe it is unicode but I need to be sure... sql has an encoding

RE: SQL task output encoding

2006-05-04 Thread Keith Hatton
See the following: http://java.sun.com/j2se/1.3/docs/api/java/lang/package-summary.html#cha renc The default encoding is determined during virtual-machine startup and typically depends upon the locale and encoding being used by the underlying operating system. You can use -Dfile.encoding=xxx on

RE: junitreport error: ClassNotFoundException: redirect

2006-05-04 Thread Dave Rathnow
Certainly: target name=properties property file=${user.home}/build.properties / property file=${wonder.root}/Build/build/default.properties / property file=${wonder.root}/Build/build/${os.name}.properties / property

RE: junitreport error: ClassNotFoundException: redirect

2006-05-04 Thread Ivan \Rambius\ Ivanov
Hello, Regards Ivan --- Dave Rathnow [EMAIL PROTECTED] wrote: target name=junitreport depends=properties junitreport todir=c:/temp/report fileset dir=${build.root}/logs include name=*-unittest.xml/ I believe the above line should be include

Re: Problem with ant 1.6

2006-05-04 Thread Alexey N. Solofnenko
Alpha? 1.6 was released and there is now 1.6.5. Please do not forget to make a clean install and unset CLASSPATH environment variable. - Alexey. Susheel Raina wrote: Hi, We are using ant 1.6 alpha for building and deploying our Web application. We are facing a problem with this version.

RE: Asking for new feature: Self-Discovery of service to make Ant a real extensible system

2006-05-04 Thread Steve
-Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Wednesday, 3 May 2006 6:44 AM To: Ant Users List Subject: Re: Asking for new feature: Self-Discovery of service to make Ant a real extensible system Huxi LI wrote: Very interesting dicussion in this

RE: scp multiple files getting error

2006-05-04 Thread Anderson, Rob (Global Trade)
What version of Ant and jsch are you using? -Rob A -Original Message- From: glenn opdycke-hansen [mailto:[EMAIL PROTECTED] Sent: Thursday, May 04, 2006 6:45 AM To: ant user Subject: scp multiple files getting error I am executing scp from ant and getting the error message No

RE: junitreport error: ClassNotFoundException: redirect

2006-05-04 Thread Dave Rathnow
Unless you use the outfile attribute of the test element, which, in our case we are. Dave. -Original Message- From: Ivan Rambius Ivanov [mailto:[EMAIL PROTECTED] Sent: Thursday, May 04, 2006 9:07 AM To: Ant Users List Subject: RE: junitreport error: ClassNotFoundException: redirect

Re: scp multiple files getting error

2006-05-04 Thread glenn opdycke-hansen
ant 1.6.5 + fixes for sshexec jsch jsch-0.1.24.jar On 5/4/06, Anderson, Rob (Global Trade) [EMAIL PROTECTED] wrote: What version of Ant and jsch are you using? -Rob A -Original Message- From: glenn opdycke-hansen [mailto:[EMAIL PROTECTED] Sent: Thursday, May 04, 2006 6:45 AM To:

Re: scp multiple files getting error

2006-05-04 Thread glenn opdycke-hansen
I just noticed jsch-0.1.28.jar and will start testing with that version. On 5/4/06, glenn opdycke-hansen [EMAIL PROTECTED] wrote: ant 1.6.5 + fixes for sshexec jsch jsch-0.1.24.jar On 5/4/06, Anderson, Rob (Global Trade) [EMAIL PROTECTED] wrote: What version of Ant and jsch are you using?

RE: scp multiple files getting error

2006-05-04 Thread Anderson, Rob (Global Trade)
Try a later version of jsch. I am using jsch-0.1.28-rc4.jar and I get a reasonable error when trying to copy a file to a remote directory that does not exist. BUILD FAILED H:\scptest.xml:6: com.jcraft.jsch.JSchException: 2: syserr: No such file or directory, file:

Re: scp multiple files getting error

2006-05-04 Thread glenn opdycke-hansen
Thanks for the suggestion, the error messages of jsch-0.1.28.jar contain the same text that you posted. Highly recommended! --glenn On 5/4/06, Anderson, Rob (Global Trade) [EMAIL PROTECTED] wrote: Try a later version of jsch. I am using jsch-0.1.28-rc4.jar and I get a reasonable error when

Re: junitreport error: ClassNotFoundException: redirect

2006-05-04 Thread Ivan \Rambius\ Ivanov
Hello, Can you post the relevant parts of your build script mainly the part with junitreport task? Regards Ivan --- Dave Rathnow [EMAIL PROTECTED] wrote: Hi, I've searched the archives and Googled this error but I can't find the solution. I'm using Ant 1.6.5, Java 1.4.1 and