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

Subversion Commit failed, file out of date error

2009-06-09 Thread Nafter
[exec] Result: 1 Thanks in advance for your help. Nafter -- View this message in context: http://www.nabble.com/Subversion-Commit-failed%2C-file-out-of-date-error-tp23956800p23956800.html Sent from the Ant - Users mailing list archive at Nabble.com. --

Use ANT to purge files

2009-05-17 Thread Nafter
I'm looking for an example to purge files and keep the latest (e.g. 5 files) from a certain file set. I saw that there is a Ant Purge Task with this description: The purge tasks works with Ant to remove all but the most recent few files from a fileset. However you then have to add a special jar

Ant copy file error: Only one of tofile and todir may be set

2009-05-07 Thread Nafter
I'm using maven with included ANT tasks to copy files. However I receive the following error. In an other step during the maven build process I use ant copy as well in which I have to set the toDir. But this step is not using the todir at all. But it seems it complains about the fact that now bot