AW: Fileset group

2007-10-24 Thread Jan.Materne
But IMO you should think about combining all sources to one checkstyle report. Where to fix an error? Create a with the checkstyle instructions and let the projects do their own checks. Jan >-Ursprüngliche Nachricht- >Von: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] >Gesendet: Donnerst

AW: Suggestions for sending data to the server

2007-10-24 Thread Jan.Materne
Where do and come from? Jan >-Ursprüngliche Nachricht- >Von: Steve Loughran [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 24. Oktober 2007 16:27 >An: Ant Users List >Betreff: Re: Suggestions for sending data to the server > >Rob Wilson wrote: >> Recently I have seen many posts for usi

RE: Fileset group

2007-10-24 Thread Rebhan, Gilbert
Hi, -Original Message- From: Alain ROY [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 24, 2007 12:40 PM To: user@ant.apache.org Subject: Fileset group /* I want to use a task which accepts nested elements. I have up to 20 Java projects I want to process with checkstyle in one ti

Fileset group

2007-10-24 Thread Alain ROY
Hi all, I use ant 1.7.0 and Checkstyle 4.3 Ant task. I want to use a task which accepts nested elements. I have up to 20 Java projects I want to process with checkstyle in one time. I'd like to define a fileset which is the composition of filesets with *.java source files of several source

Re: AW: AW: AW: XmlProperty - can I specify the property value delimiter?

2007-10-24 Thread J MacKay
Excellent. Thank you very much for all your help. Janet [EMAIL PROTECTED] wrote: Compilable code is committed http://svn.apache.org/repos/asf/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/XmlProperty.java Jan -- __ Do You Yahoo!? T

how-to deploy with private/public key

2007-10-24 Thread Joao Miguel Ferreira
Hello all, In our project we have this script to automate the build and send it to our test server: --- export JAVA_HOME=/opt/j2sdk1.4.2_13/ /opt/netbeans-5.0/ide6/ant/bin/ant _deploy-dev-to \ -Ddeploy.host=$1 \ -Ddeploy.pass="ourPassword"

Re: SCP task to preserve exact time stamp

2007-10-24 Thread Gilbert Rebhan
venkata prasad wrote: Hi, With your syntax, it is giving the below error. /* */ /usr/bin/scp: can't execute binary file. i am using bash shell. hm, did you try in a shell ? maybe you don't have the rights. Regards, Gilbert

Re: Delete files in remote machine

2007-10-24 Thread Gilbert Rebhan
venkata prasad wrote: Hi All, How to delete files/folder which are located in remote machine ( UNIX ) from Ant build script? , ssh, rm Regards, Gilbert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Suggestions for sending data to the server

2007-10-24 Thread Rob Wilson
Thanks for the suggestions.

Delete files in remote machine

2007-10-24 Thread venkata prasad
Hi All, How to delete files/folder which are located in remote machine ( UNIX ) from Ant build script? Cheers, Prasad.

Re: Suggestions for sending data to the server

2007-10-24 Thread Steve Loughran
Rob Wilson wrote: Recently I have seen many posts for using SCP to copy files to a remote location, I was intending to invoke an upload servlet to do a similar job - but the servlet would insert some data into a database. Is it generally recommended to use SCP instead of invoking a servlet? Any

Re: AW: AW: Printing Time stamp in log file...

2007-10-24 Thread prashanth . l
It worked with STARTTIME . Thanks Jan. Best Wishes Prashanth <[EMAIL PROTECTED] fin-nrw.de>

Re: SCP task to preserve exact time stamp

2007-10-24 Thread venkata prasad
Hi, With your syntax, it is giving the below error. /* */ /usr/bin/scp: can't execute binary file. i am using bash shell. On 10/24/07, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote: > > > Hi, > > -Original Message- > From: venkata prasad [mailto:[EMAIL PROTECTED] > Se

AW: AW: Printing Time stamp in log file...

2007-10-24 Thread Jan.Materne
Oh yes ... "Sets the DSTAMP, TSTAMP, and TODAY properties in the current project." That's done before any nested is evaluated. Therefore DSTAMP is already set and because of Ant's property-immutability it wont be overwritten. Jan >-Ursprüngliche Nachricht- >Von: Gilbert Rebhan [mail

Re: Creating Patch builds

2007-10-24 Thread Steve Loughran
Cyriaque Dupoirieux wrote: Steve Loughran a écrit : Rishi Gogia wrote: Hi I am using SVN as a repository and Weblogic Integration as my application server. I have more than 10 programmers working on the same project. I wanted to know if I want to do a patch build, how would I be able to do

Re: AW: Printing Time stamp in log file...

2007-10-24 Thread Gilbert Rebhan
Hi, [EMAIL PROTECTED] wrote: Property ${DSTAMP} has not been set [echo] ${build.start.time}=${DSTAMP} Override ignored for property DSTAMP How to set it? see manual, TStamp task Regards, Gilbert - To unsubscribe,

AW: AW: Printing Time stamp in log file...

2007-10-24 Thread Jan.Materne
>Its showing below with -v > >init: >Property ${DSTAMP} has not been set > [echo] ${build.start.time}=${DSTAMP} >Override ignored for property DSTAMP > > >> >> >> >> >> $${build.start.time}=${DSTAMP} >> I am not sure whether DSTAMP is a special case. What about using another name

AW: Creating Patch builds

2007-10-24 Thread Knuplesch , Jürgen
We set a Label for every .java File to show which files should get into the Patch. Then we checkout using this Label. The advantage is, that classes that should not go into the patch are not checkouted. The problem is, that the programmer sometimes forgets to set the Label. -- Jürgen Knuples

AW: Creating Patch builds

2007-10-24 Thread Knuplesch , Jürgen
Hello, We use to solve this by creating a jar file out of the old build and put it in the classpath, so that you are able to translate the new files. The problem occurs when the changes of the new files leads to changes in the .class files of files where teh .java code did not change. But for

task + timeout property

2007-10-24 Thread Dharmesh Vyas
Hello, I am runninng exec task to run particular tests. Few of these tests gets stuck in between and keeps on waiting for some infinite time. In order to avoid that I have put timeout and failonerror="No" so that once it times out it can move forward to run other targets. From Ant manual - exec ta

RE: Suggestions for sending data to the server

2007-10-24 Thread RADEMAKERS Tanguy
Hi Rob, AFAIK, SCP just transfers files - dunno how you would go about executing server side logic i.e. "but the servlet would insert some data into a database." Other than that, i'd say the main benefits are a. it already exists. you don't need to write it. b. it's secure by nature (no need to

Re: AW: Printing Time stamp in log file...

2007-10-24 Thread prashanth . l
Its showing below with -v init: Property ${DSTAMP} has not been set [echo] ${build.start.time}=${DSTAMP} Override ignored for property DSTAMP How to set it? Prashanth <[EMAIL PROTECTED]

AW: Printing Time stamp in log file...

2007-10-24 Thread Jan.Materne
What does -v say? Jan >-Ursprüngliche Nachricht- >Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 24. Oktober 2007 14:57 >An: user@ant.apache.org >Betreff: Printing Time stamp in log file... > > >Hi, > >I am using the below in my build.xml, but not able to print >

RE: SCP task to preserve exact time stamp

2007-10-24 Thread Rebhan, Gilbert
Hi, -Original Message- From: venkata prasad [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 24, 2007 3:15 PM To: Ant Users List Subject: Re: SCP task to preserve exact time stamp /* But i am missing time stamp for some of the files and folders. Is it possible to know what are the f

Re: SCP task to preserve exact time stamp

2007-10-24 Thread venkata prasad
Hi Gilbert, But i am missing time stamp for some of the files and folders. Is it possible to know what are the files added/modified since last copy? Cheers Venkat. On 10/24/07, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote: > > > Hi, > > > -Original Message- > From: venkata prasad [mailto:

Re: Creating Patch builds

2007-10-24 Thread Cyriaque Dupoirieux
Steve Loughran a écrit : Rishi Gogia wrote: Hi I am using SVN as a repository and Weblogic Integration as my application server. I have more than 10 programmers working on the same project. I wanted to know if I want to do a patch build, how would I be able to do it? By Patch build I mean

Re: SCP task to preserve exact time stamp

2007-10-24 Thread venkata prasad
Hi Nicolas, Here is build script. Initially i was using below SCP ant task to copy database files to remote machine. But above one is not preserving time stamps.. So i am using below one. This is also not preserving time stamp for all files and

RE: SCP task to preserve exact time stamp

2007-10-24 Thread Rebhan, Gilbert
Hi, -Original Message- From: venkata prasad [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 24, 2007 2:13 PM To: user@ant.apache.org Subject: SCP task to preserve exact time stamp /* I have a requirement like when ever i do build, i need to copy all database files/folders from b

Printing Time stamp in log file...

2007-10-24 Thread prashanth . l
Hi, I am using the below in my build.xml, but not able to print the start date & time. $${build.start.time}=${DSTAMP} Can you please suggest.. Thanks Prashanth " Save Paper - Do you really need to print this e-mail? " This e-Mail may contain proprietary and confidential informa

Suggestions for sending data to the server

2007-10-24 Thread Rob Wilson
Recently I have seen many posts for using SCP to copy files to a remote location, I was intending to invoke an upload servlet to do a similar job - but the servlet would insert some data into a database. Is it generally recommended to use SCP instead of invoking a servlet? Any pro's/con's that I

RE: SCP task to preserve exact time stamp

2007-10-24 Thread Bizard Nicolas (KIRO 41)
Hi can you describe a bit more, show some code (the fileset part for instance) ? Cheers -Original Message- From: venkata prasad [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 24, 2007 2:13 PM To: user@ant.apache.org Subject: SCP task to preserve exact time stamp Hi All, I have a

SCP task to preserve exact time stamp

2007-10-24 Thread venkata prasad
Hi All, I have a requirement like when ever i do build, i need to copy all database files/folders from build machine to UNIX machine. Right now i am uasing SCP Ant task for secure copy. But it is not preserving time stamp for all files and folder. So i went for 'scp' unix command in exec -an

AW: AW: AW: XmlProperty - can I specify the property value delimiter?

2007-10-24 Thread Jan.Materne
Compilable code is committed http://svn.apache.org/repos/asf/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/XmlProperty.java Jan >-Ursprüngliche Nachricht- >Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 24. Oktober 2007 10:53 >An: user@ant.apache.org >Be

Re: Creating Patch builds

2007-10-24 Thread Steve Loughran
Rishi Gogia wrote: Hi I am using SVN as a repository and Weblogic Integration as my application server. I have more than 10 programmers working on the same project. I wanted to know if I want to do a patch build, how would I be able to do it? By Patch build I mean compiling only those files w

Creating Patch builds

2007-10-24 Thread Rishi Gogia
Hi I am using SVN as a repository and Weblogic Integration as my application server. I have more than 10 programmers working on the same project. I wanted to know if I want to do a patch build, how would I be able to do it? By Patch build I mean compiling only those files which are changed. I

AW: Memory and Ant

2007-10-24 Thread Knuplesch , Jürgen
Exactly! Thanks for the help. It worked good for my Ant-Builds I start via a Batchfile. But in Eclipse I had to adjust a run configuration and set the VM-Memory higher, because I did not find any Eclipse property to do that, which would be a better way. But it works! -- Jürgen Knuplesch

AW: AW: AW: XmlProperty - can I specify the property value delimiter?

2007-10-24 Thread Jan.Materne
Oh yes. Having commas itself in the data is a "valid" usecase. I'll add the delimiter attribute on Ant's codebase. Jan >-Ursprüngliche Nachricht- >Von: J MacKay [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 24. Oktober 2007 09:44 >An: Ant Users List >Betreff: Re: AW: AW: XmlProperty -

Re: AW: AW: XmlProperty - can I specify the property value delimiter?

2007-10-24 Thread J MacKay
[EMAIL PROTECTED] wrote: > BTW: sources are directly viewable on Ah, much better. As you can tell I'm still learning my way around svn ;) > duplicating seems to be the "easiest" way... Okay, good. That sounds like what I did. > What is the usecase for having an alternative delimiter? I need t

AW: Memory and Ant

2007-10-24 Thread Stojanov Alexej
For example: set ANT_OPTS=-Xms128m -Xmx512m Alexey -Ursprüngliche Nachricht- Von: Gilles Scokart [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 23. Oktober 2007 20:07 An: Ant Users List Betreff: Re: Memory and Ant The answers of Sumit and Charles say to increase the memory of a java pro

AW: AW: XmlProperty - can I specify the property value delimiter?

2007-10-24 Thread Jan.Materne
I could also add a delimiter attribute ... but I think you cant wait for a next Ant release. So the only thing would be building for yourself ... BTW: sources are directly viewable on http://svn.apache.org/repos/asf/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/XmlProperty.java ;) Right