AW: a task for selecting among possible options?

2009-07-20 Thread Jan.Materne
mailto:mdgeo...@cs.cornell.edu] >Gesendet: Freitag, 17. Juli 2009 04:45 >An: user@ant.apache.org >Betreff: a task for selecting among possible options? > >Hello, > >I'm trying to clean up our build process, and one of the problems is >that everyone on the team uses a different configuration mec

Re: how to process new UnknownElements

2009-07-20 Thread Stefan Bodewig
Hi Michael it's been a few years since I last looked at the inner workings of macrodef so I can't really comment on it right away. On 2009-07-20, Michael George wrote: > I then tried making my into a TaskContainer (like > MacroDef.NestedSequential), and collecting up the UnknownElements and >

Re: Problems using tarfileset to set a directory's mode

2009-07-20 Thread Stefan Bodewig
On 2009-07-21, Matthew Wyatt wrote: > > > > > > > > > > > I'd like the Verify/ *directory* in the tar file to be set to 777, but it's > always 755. The mode attribute of tar's nested tarfileset element corresponds to the

Re: Use ANT to stop / start a java service wrapper (JBoss)

2009-07-20 Thread Avlesh Singh
Well, Ant can invoke shell scripts and commands. In your case it would possibly be invoking the JBoss's stop.sh, followed by calling an Ant target that moves your WAR into a specified location and finally invoke the run.sh script for starting the JBoss server. Look at Ant's task here - http://ant

Problems using tarfileset to set a directory's mode

2009-07-20 Thread Matthew Wyatt
Hi all, I'm trying to set a particular directory to mode 777 using tarfileset, and it's not working. The task looks like: I'd like the Verify/ *directory* in the tar file to be set to 777, but it's always 755. All the

Use ANT to stop / start a java service wrapper (JBoss)

2009-07-20 Thread Nafter
I would like to do some remote deployment. My applications is running within JBoss. This JBoss installation is running under a java service wrapper. The things I would like to do is the following: 1] stop java service wrapper (which will automatically stop the JBoss) 2] redeploy new content (WAR

Re: How to enable compression in SSH/SCP task?

2009-07-20 Thread Avlesh Singh
> > I would like to know if it is possible to enable compression on SCP task? > If it is, how? > AFAIK, the compression option is currently not supported in the scp task. Using the old school exec task in this manner - , might be a quick workaround. If this is currently not possible, where and how

Re: how can stop build proccess in a sub task?

2009-07-20 Thread Michael George
The task stops the build. --Mike edumudi.viswan...@oracle.com wrote: I have target like , which depends on sub_task1, sub_task2. So subtasks are & if I feel some task didn't do its work proper way in any one of subtasks, how can I stop build process in middle of subtask(s)? thanks

how can stop build proccess in a sub task?

2009-07-20 Thread edumudi.viswan...@oracle.com
I have target like , which depends on sub_task1, sub_task2. So subtasks are &

How to enable compression in SSH/SCP task?

2009-07-20 Thread Damjan Perenic
Hello, I would like to know if it is possible to enable compression on SCP task? If it is, how? If this is currently not possible, where and how can I log an enhancement request? On the ant website it says write on the mailing list. Is this offical way to log enhancement request? Kind regards, D

how to process new UnknownElements

2009-07-20 Thread Michael George
Hello, I'm trying to write an ant task that does substitution like macroDef or ant-contrib:foreach does. I want to take something like this: and evaluate the tag, substituting each option into the condition for @{foo}. However, I'm having trouble getting this to work. I fi