Re: Psexec and ant

2010-06-09 Thread Daniel Blaukopf
Hi Limor, Since psexec.exe expects to be run from a command shell, you might get better results running "cmd /c psexec.exe \\172..." from Ant. For more information you will have to send details of what you expected to see and what you did see when running Ant. Daniel On Wed, 2010-06-09 at 08:04

Re: using dynamic declarations..

2009-10-21 Thread Daniel Blaukopf
You can do this in Ant 1.7.1 without any extensions: ${value.id} I use this to set up builds for different platforms. For example, Daniel EetieD wrote: Hi, I was wondering if it is possible to use 'dynamic declarations' within ANT. Please check the example below. In the line '${valu

Re: Svn add command with force

2007-12-17 Thread Daniel Blaukopf
Hi Chuck, Use an "apply" task with "parallel" and "relative" set to "true" and set a value for "dir". Like this: relative="true"> Daniel Chuck Holzwarth wrote: If you have checked the destination directory out from subversion, you should be able to create a target where you use t

Re: Referencing another build file

2006-11-06 Thread Daniel Blaukopf
Use a propertyset with a mapper: and then refer to the parent's dist.dir as ${parent.dist.dir} alternatively, just override the specific property: Daniel David Bates wrote: > I'm using Ant within Netbeans. I have two projects: ProjectA and > ProjectB. ProjectA is depend

Re: Loop over a set of files

2006-10-10 Thread Daniel Blaukopf
Hi Iván, Can you write your macro to accept a fileset instead of a specific file? And then us to run the command? Daniel Iván Pérez Domínguez wrote: > Hi there! > > I've written a macrodef that takes a file name as an argument and tests > it with a specific command. I'd like to run this mac

Re: Copying, filtering

2006-09-21 Thread Daniel Blaukopf
Hi Kofa, If you wanted to use vanilla Ant, here's one option:

Re: How to use Qoutes with arg element

2006-09-11 Thread Daniel Blaukopf
Hi Nagender, The previous answers are correct. However, I suspect that in your case you have no need to use quotes. Does the following work? Regards, Daniel Mathieu Champlon wrote: > Nagender Malik a écrit : >> Hi All, >> >> How to use ""(quotes) in the elements: >> >> For example: >

Re: Depending on varying target using param inside antcall

2006-09-06 Thread Daniel Blaukopf
Hi Holger, This features was added in 1.6.3 (I'm using 1.6.5) Regards, Daniel Holger Rauch wrote: > Hi Daniel, > > first of all, thanks for your reply. Which version of Ant are you using? I'm > using 1.6.2 and it doesn't work as shown by this error message: > > antcall-param-test.xml:15: T

Re: Depending on varying target using param inside antcall

2006-09-05 Thread Daniel Blaukopf
Hi Holger, How about ? You are then running the configuration target and text in the same project. Daniel Holger Rauch wrote: > Hi, > > I would like to have a target depend on another target whose name is > specified as the value of a param used inside an . Is this > pos

Set up a path based on conditions?

2006-03-21 Thread Daniel Blaukopf
Hi, I need to create a path containing elements which i) don't exist yet and ii) vary according to what properties are set. Ideally, I would do this: None of A, B, or C exist at the time I need to build the list, so as far as I can tell is not an option. However,

Re: ANT build script from NetBeans is failing

2005-09-21 Thread Daniel Blaukopf
lib/mailapi.jar:/opt/jaf-1.0.2/activation.jar" > > > Seems to clearly show that it's using the proper java executable. > > Is there anything else I might do to further diagnose what is going on? > > > Daniel Blaukopf wrote: > >> You're using Java 5

Re: ANT build script from NetBeans is failing

2005-09-21 Thread Daniel Blaukopf
You're using Java 5 APIs and language features, but on your Linux boxes you only have JDK 1.4 installed. You need to install JDK 1.5 on all machines you're building on. Daniel Michael Stumpf wrote: > I'm using NetBeans to manage a few Java projects. Recently I found a > need to build manually wi

Re: Recursive file matching

2005-07-21 Thread Daniel Blaukopf
You can do it without ant-contrib: to="*Test.class"/> Juergen Hermann wrote: On Fri, 22 Jul 2005 03:40:36 +0200, Danilo B

Re: rsync wildcard

2005-04-06 Thread Daniel Blaukopf
Looks like Ant doesn't do the expansion that the shell does. This is OK - I don't think it is supposed to. You can use the "apply" task and specify the *.gz files as a fileset: - Daniel Euan Guttridge wrote: Hi Can anyone advise why the following works on the command line, but

Is there a way of telling that ant is run in verbose mode?

2004-12-20 Thread Daniel Blaukopf
I invoke a makefile from ant, and would like to invoke it with different parameters when ant is run with -v or -d. Is there any property that is defined in verbose or debug mode, or any other way of finding out how ant was invoked? Thanks, Daniel

Re: manually and externally defined fileset

2004-12-20 Thread Daniel Blaukopf
If the files are all in the same directory, you can do and then create a file "compiler-target.includes", which might contain something like this: myapp.exe,myapp.hlp Of course you could mess around with filter chains in loadfile to put the files on separate lines. This would probably also work e

Re: How to list files to console or file.

2004-12-08 Thread Daniel Blaukopf
probably with pathsep=" " if you want each file on its own line. Daniel Matt Benson wrote: is your friend. -Matt --- [EMAIL PROTECTED] wrote: I have a need to create a text file that lists all .gif, .jpg, etc. files. It's simple to create a fileset that contains the files I need but what's the