AW: Search a folder automatically?

2008-08-26 Thread Jan.Materne
This is not Ants job. You have to set up a Continous Build system like CruiseControl or Hudson. These systems check against scm (subversion, cvs, ...) for updates and start a build (Ant, Maven, ...). Simplest solution would be an endless loop which starts the build. As Ant works inkrementally on

AW: Checkstyle

2008-08-26 Thread Jan.Materne
Here a snippet from our build. We have three sourcefolders (src/main, src/test, src/junit), so I'll iterate over src/* later. Line 2: Use Ants AntLib capability to load the checkstyle tasks. For that they must be on Ants classpath. E.g. in ANT_HOME/lib, or added by "-lib" option (or via an Ivy

RE: how to deploy the process avilable in another folder

2008-08-26 Thread Martin Gainty
HTH/ Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other

Re: Search a folder automatically?

2008-08-26 Thread David W
Hi David,   Thanks so much for your reply. I use apache-ant-1.7.1 on Linux. I found that my old Java source code still got compiled and run even though I left the old corresponding compiled class file there.   What I wanted Ant to do is to check a folder continuously (or check the folder once

how to deploy the process avilable in another folder

2008-08-26 Thread Navap
Hi, i have a base dir which contains BPEL Process . I 'm able to deploy all of them with ant script with out any issue. I have a subfolder with in that base folder which also contain SOme BPEL processes. I need to deploy them first before the base BPEL Processes gets deployed. Please let me k

Update Publication Status

2008-08-26 Thread Ross Camara
I was wondering what the suggested way to handle the following use case: After performing a build and published a 1.0 version of a module with a publication status of 'integration'. After running tests and doing other verification we want to mark that build with the 'release' publication status.

Re: Search a folder automatically?

2008-08-26 Thread David Weintraub
Take a look at "filesets". Also, in the task, you can specify a "src" directory. All *.java files in that directory will get compiled. If someone creates a new *.java file in the "src" directory, and did not delete the corresponding *.class files, then the task will only compile that new *.java

Search a folder automatically?

2008-08-26 Thread David W
Hi,   I am a newbie in Ant field so I appreciate any replies from you.   What I want to do is to let Ant search a folder automatically. If a piece of source code (say, Java source code) is put into that folder, then Ant finds the code and begin to do more work. Can anybody tell me how to make A

Re: Ant: invoke in a different directory?

2008-08-26 Thread David W
Works perfect! Thanks Scot!!   David --- On Mon, 8/25/08, Scot P. Floess <[EMAIL PROTECTED]> wrote: From: Scot P. Floess <[EMAIL PROTECTED]> Subject: Re: Ant: invoke in a different directory? To: "Ant Users List" , [EMAIL PROTECTED] Date: Monday, August 25, 2008, 6:43 PM Just try ant -f ../my_

Re: IvyDE and properties in ivy.xml files

2008-08-26 Thread Xavier Hanin
On Tue, Aug 26, 2008 at 2:48 PM, Jing Xue <[EMAIL PROTECTED]> wrote: > On Tue, Aug 26, 2008 at 09:32:50AM +0200, Xavier Hanin wrote: > > On Mon, Aug 25, 2008 at 9:50 PM, Patrick Aikens <[EMAIL PROTECTED]> > wrote: > > > > > I'm not sure I understand the workaround you're talking about... what > >

Re: Relative Paths in Imported Files

2008-08-26 Thread Peter Reilly
On Sun, Aug 17, 2008 at 9:18 PM, Francisco Tolmasky <[EMAIL PROTECTED]> wrote: > I have a common.xml file that I import in all my build.xml throughout my > project (subdirectories included). One of the tasks defined in this > common.xml has to reference a file in a java task, as so: > > > >