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
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
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
---
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:
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
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
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
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
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
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
> 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
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
12 matches
Mail list logo