Retrieve Command Line

2007-02-15 Thread jason heddings
Hello all- Is it possible using ant built-in tasks or a custom java task to retrieve the entire command line that was used to call ant? --jah

RE: Switching to 'root' user

2007-02-14 Thread jason heddings
that need to run as root. I would suggest configuring sudo to only allow execution of those specific commands (with NOPASSWD), and in your build.xml file use the exec task to run sudo. -Rob Anderson > -Original Message- > From: jason heddings [mailto:[EMAIL PROTECTED] > Sent: We

Switching to 'root' user

2007-02-14 Thread jason heddings
Is it possible to run 'ant' as a regular user, but in the build file change the process to run as 'root' instead? I could just prefix the ant command with 'sudo' but I'd like to try to accomplish this "behind the scenes" of our developers. Thanks, --jah ---

RE: DirSet Top-Level Dirs Only

2006-09-08 Thread jason heddings
Message- From: jason heddings [mailto:[EMAIL PROTECTED] Sent: Friday, September 08, 2006 12:53 PM To: 'Ant Users List' Subject: DirSet Top-Level Dirs Only I'm trying to craft a dirset that contains only the topl-evel directories of the supplied path... I took this approach:

DirSet Top-Level Dirs Only

2006-09-08 Thread jason heddings
I'm trying to craft a dirset that contains only the topl-evel directories of the supplied path... I took this approach: But that doesn't seem to quite work. Effectively, I want to have all the first-level children of the ${basedir} directory only. Ideally, not even ${basedir} would be r

RE: compiler References in task

2006-05-15 Thread jason heddings
That did it, thanks! I ended up using the antlib.xml to get the definitions in the same import... Thanks, --jah -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Monday, 15 May, 2006 03:49 To: Ant Users List Subject: Re: compiler References in task jason

compiler References in task

2006-05-14 Thread jason heddings
Hello- I have the following build file and I'm not sure what I'm missing: When I try to run this, I get an error saying: build.xml:12: my-compiler doesn't denote a ProcessorDef This is my first attempt to factor out the compiler types, so thank

compiler References in task

2006-05-12 Thread jason heddings
Hello- I have the following build file and I'm not sure what I'm missing: When I try to run this, I get an error saying: build.xml:12: my-compiler doesn't denote a ProcessorDef This is my first attempt to factor out the compiler types, so thank

RE: Import Task

2006-05-09 Thread jason heddings
I had missed that point in the manual... Thanks! -Original Message- From: Dominique Devienne [mailto:[EMAIL PROTECTED] Sent: Tuesday, 09 May, 2006 11:22 To: Ant Users List Subject: Re: Import Task > I'm using Ant version 1.6.5 and I'm trying to use the import task. The > manual shows

Import Task

2006-05-09 Thread jason heddings
Hello- I'm using Ant version 1.6.5 and I'm trying to use the import task. The manual shows that in the imported file, ant.file.imported should be set, however I'm not seeing this property. http://ant.apache.org/manual/CoreTasks/import.html I wrote the attached little task to display the properti

RE: Refid Not Being Recognized

2006-05-02 Thread jason heddings
> So you factor compilers/linkers rather than definesets. --DD Is there more information on this or using a refid for the defineset? For the way our build environment is set up, the easiest solution would be the refid for a defineset. I've been looking into the compiler option, but I'm not havin

Refid Not Being Recognized

2006-04-25 Thread jason heddings
Hello- I have looked around at the ant-contrib documentation, and I'm wondering if this is a problem with Ant itself. I'm trying to use a refid to reference a within my task (shown below). When I run this build, I get the following error: build.xml:13: std.defs doesn't denote a DefineSet I'v