Re: Exec task: Args not passed to task

2008-04-28 Thread Peter Reilly
can you make a selfcontained build.xml that shows the problem, this will help in tracking down the problem. Also, can you open a bugzilla issue for the problem, this will help in tracking the issue. Peter On Tue, Apr 29, 2008 at 7:46 AM, Xavi <[EMAIL PROTECTED]> wrote: > Hi, > > I tried it too.

Re: Exec task: Args not passed to task

2008-04-28 Thread Xavi
Hi, I tried it too. It doesn't work -nested args are ignored- :( I forgot to say that I'm running ant in java 1.5. I changed ant's libs (I used again ant 1.6) and args work (arg line arg value, it doesn't matter). But I need to use ant 1.7 :/ 2008/4/28, David Weintraub <[EMAIL PROTECTED]>: > >

Ant on AIX using SCP to transfer files with ssh2 keys

2008-04-28 Thread MaxSteel
Hey everyone, I'm hoping you can shed some light on this for me. I'm new to ANT and am trying to troubleshoot an issue. I have searched high and low and all the answers that I found do not seem to work with my configuration. I have successfully gotten scp to work using user/pass authentication

AW: New Ant-friendly deployment and administration tool

2008-04-28 Thread Jan.Materne
Sounds cool. If you want to be listed on the Related Projects page, send a patch. http://ant.apache.org/projects.html Jan > -Ursprüngliche Nachricht- > Von: Alex SF [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 29. April 2008 03:17 > An: user@ant.apache.org > Betreff: CTL: New Ant-f

CTL: New Ant-friendly deployment and administration tool

2008-04-28 Thread Alex SF
Hi All, I've noticed a steady amount of questions on the list that are about using Ant "beyond the build" for tasks like application deployment or systems administration. It seems that many of questions are around the trickiness of dispatching commands to various remote machines (essentially doin

Re: Trouble with installation

2008-04-28 Thread glenn opdycke-hansen
JAVA_HOME should have 1 directory in it, since it is home and not a path. I would look for the Ant bin directory in the PATH and JAVA_HOME to contain the directory that the java jdk is installed to. --glenn On Mon, Apr 28, 2008 at 2:44 PM, Debbie Shapiro <[EMAIL PROTECTED]> wrote: > Thanks so mu

RE: Trouble with installation

2008-04-28 Thread Debbie Shapiro
Thanks so much for the quick response! think I have this working now. Part of the problem was having both the JDK and JRE paths in my JAVA_HOME when I only needed the JDK there. I also had to point to the JRE directory of my JDK path. I created a new environment variable called JDK_HOME that only

Re: Exec task: Args not passed to task

2008-04-28 Thread David Weintraub
What if you used the instead of ? That is: On Mon, Apr 28, 2008 at 3:20 AM, Xavi <[EMAIL PROTECTED]> wrote: > Hi, I'm migrating an app from Ant 1.6.1 to Ant 1.7.0, and I have problems > with exec tasks. Ant execute task without passing arguments to process! > > For example, I have this

AW: AW: Set a property based on a regular expression (without ant-contrib)

2008-04-28 Thread Jan.Materne
Then use Stefans s in a ... Since Ant 1.7.1 you could use Version: ${v} So maybe you want to use that task and port that to your environment. Jan > -Ursprüngliche Nachricht- > Von: Iván" Perdomo [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 28. April 2008 13:30 > An:

Re: rebuilds even if source not changed

2008-04-28 Thread Jean-Rene David
* Steve Loughran [2008.04.28 06:00]: > Jean-Rene David wrote: >> [...] >> But the task doesn't recurse the hierarchy >> to find the class file. It only looks in the >> "destdir" itself. So if I just: >> >> $ touch foo/Welcome.class > > you must move the class under the package name it is in. Of

Re: AW: Set a property based on a regular expression (without ant-contrib)

2008-04-28 Thread Iv�n
Hi Jan, Thanks for your reply, but is not what I want. I want to extract the number part of the $ant.version property. e.g. Apache Ant version 1.7.0 compiled on April 8 2008 I just want the "1.7.0" part ant store it in another property. Is possible with ant-contrib [1] but I don't want to use th

Re: rebuilds even if source not changed

2008-04-28 Thread Steve Loughran
Jean-Rene David wrote: Hello, When a class is in a package, the target always rebuilds it even if the source hasn't changed. Here's a test case: $ ant -version Apache Ant version 1.7.0 compiled on December 13 2006 $ ls build.xml Welcome.java $ cat Welcome.java package My.Class; public class

RE rebuilds even if source not changed

2008-04-28 Thread nicolas . vervelle
Hi, Maybe try putting your javafile elsewhere : * in a src/ dir (so that javac destdir is not a subdirectory of srcdir, which probably confuses javac) * by respecting the package / directory structure : it should be in my/class/ package hierarchy My 2 cts Nico Jean-Rene David <[EMAIL PROTECTE

rebuilds even if source not changed

2008-04-28 Thread Jean-Rene David
Hello, If a class is in a package, the target always rebuilds it even if the source hasn't changed. Here's a test case: $ ant -version Apache Ant version 1.7.0 compiled on December 13 2006 $ ls build.xml Welcome.java $ cat Welcome.java package My.Class; public class Welcome { public static

Exec task: Args not passed to task

2008-04-28 Thread Xavi
Hi, I'm migrating an app from Ant 1.6.1 to Ant 1.7.0, and I have problems with exec tasks. Ant execute task without passing arguments to process! For example, I have this task definition: