http://ant.apache.org/manual/tutorial-tasks-filesets-properties.html#returning-list
Jan
>-Ursprüngliche Nachricht-
>Von: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED]
>Gesendet: Freitag, 13. Oktober 2006 02:16
>An: Ant Users List
>Betreff: Re: Getting output from a custom ant task
>
>H
Hello Hunter,
such tasks usually have an attribute to choose the property name that
you want to set.
getProject().setProperty(name, value) should do.
Antoine
Hunter Peress wrote:
> Hi, Im writing a custom ant task and I want to know how I can return a
> string from it back to an ant property.
>
Hi, Im writing a custom ant task and I want to know how I can return a
string from it back to an ant property.
Rodriguez, Adrian wrote:
>>
>>
> Sunday 10/15 or
Sunday 10/15
> Is the code fix for this in HEAD? I might just build it here to test
> out the junit task.
>
>
Yes the code fix is already in SVN.
> thanx =)
>
>
>
Antoine
>On 10/12/06, Rodriguez, Adrian <[EMAIL PROTECTED]> wrote:
>> I tried to execute the junit task using 1.7b2 and when I set
>> fork="false," I get a report that says "No runnable methods found."
>> My test case has 18 methods annotated with @Test.
>>
>> Now I set fork="true." I keep getting
>>
ant 1.7.0beta3 (next sunday) will fix these
two problems.
Peter
On 10/12/06, Rodriguez, Adrian <[EMAIL PROTECTED]> wrote:
I tried to execute the junit task using 1.7b2 and when I set
fork="false," I get a report that says "No runnable methods found." My
test case has 18 methods annotated with
I tried to execute the junit task using 1.7b2 and when I set
fork="false," I get a report that says "No runnable methods found." My
test case has 18 methods annotated with @Test.
Now I set fork="true." I keep getting
junitvmwatcher.properties (The system cannot find the file
specified).
Anyone
On 10/12/06, Scot P. Floess <[EMAIL PROTECTED]> wrote:
Honestly, I've done something similar... However, my approach was to
subtract the two numbers and if examine the 1st character to determine
<, > or =... a "-" means less than, "0" means equal otherwise its
greater than.
I couldn't find exa
does chroot command exist in ant script language?
No. chroot is a low-level unix system command.
But Java can be "sandboxed" using security policies:
http://java.sun.com/j2se/1.4.2/docs/guide/security/PolicyFiles.html
Also, Jan pointed you to , a nested element of ,
which could perhaps be used
Honestly, I've done something similar... However, my approach was to
subtract the two numbers and if examine the 1st character to determine
<, > or =... a "-" means less than, "0" means equal otherwise its
greater than.
I couldn't find exactly what I wanted either...that's why I "rolled my o
does chroot command exist in ant script language?
[EMAIL PROTECTED] a écrit :
AFAIK you start CC using a wrapper buildfile which uses to call the
real buildfile.
You could use instead of , so you could pass s.
(BTW should we add permission-support to ?)
Jan
-Ursprüngliche Nachrich
Im using ant-contrib to implement a greater-than (for ints only)
functionality.
Did I miss something in the documentation? Or is this the best approach (i
realize I could have written a custom ant task)
Did i reinvent some wheel in ant?
Cruise Control directly call ant class yes but it use a xml balise
configuration system.
http://cruisecontrol.sourceforge.net/main/configxml.html#ant
but there is no option to chroot or jail a ant script execution.
And cruise control work like a daemon which have a main loop for scan
subversion
good answer!
Send me your build.xml and I'll try it here..
Also..
Im cc'ing Ant users list as this is the list which handles ANT build.xml issues
Martin --
This e-mail communication and any attachments may contain confidential and
privileged information for the use of the
designated recipients
AFAIK you start CC using a wrapper buildfile which uses to call the
real buildfile.
You could use instead of , so you could pass s.
(BTW should we add permission-support to ?)
Jan
>-Ursprüngliche Nachricht-
>Von: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED]
>Gesendet: Donnerstag
Steve Loughran wrote:
>> OK, now my question has turned into "How can I set an environment
>> variable from inside an build.xml file?"
>>
>> I tried this:
>>
>>
>>
>>
>>
>>
>>
>
> no, that wont work. you can only set the env variable for a child
> process, including java and junit -i.e.
Iván Pérez Domínguez wrote:
[EMAIL PROTECTED] wrote:
Set the environment variabe ANT_OPTS to "-emacs" or "-quiet".
Thanks, that was a great starting point. Actually, the name of the
variable is ANT_ARGS.
OK, now my question has turned into "How can I set an environment
variable from inside an
Hi,
there is no such ant option.
Maybe with a java security policy file you could achieve this ?
You will need to allow room for temporary files anyway, or set
java.io.tmpdir at startup.
VM parameters put in the ANT_OPTS environment variable are used when ant
starts from the command line with t
[EMAIL PROTECTED] wrote:
> Set the environment variabe ANT_OPTS to "-emacs" or "-quiet".
>
Thanks, that was a great starting point. Actually, the name of the
variable is ANT_ARGS.
OK, now my question has turned into "How can I set an environment
variable from inside an build.xml file?"
I tried t
Set the environment variabe ANT_OPTS to "-emacs" or "-quiet".
Jan
>-Ursprüngliche Nachricht-
>Von: Iván Pérez Domínguez [mailto:[EMAIL PROTECTED]
>Gesendet: Donnerstag, 12. Oktober 2006 08:57
>An: Ant Users List
>Betreff: Re: Quiet output
>
>OK, that's closer to what I want but, is ther
OK, that's closer to what I want but, is there any way to force this
-emacs flag to be enabled even if the user didn't write "ant -quiet
-emacs"? Maybe the ant task should allow options like that to be passed
to ANT.
Ninju Bohra wrote:
> You might want to look at the -emacs command line option to
21 matches
Mail list logo