Hi,
I am new to NANT.
To use NANT tasks within ANT buildfile, is it necessary to install NANT or is
it enough to have ant-dotnet-1.0.jar?
Currently when I tried to use task in ,it is showing below error.
Execute failed: java.io.IOException: CreateProcess: NAnt.exe eg error=2
NAnt and Ant are to completely separate tools.
Ant is focussed on Java programs while NAnt on .NET programs (afaik).
For compiling .NET programs you could use the DotNet AntLib instead of NAnt.
(thats 2ct from a man who never used these ;)
"CreateProcess: NAnt.exe eg error=2" means, that a java
No, Nant and Ant are two totally separate tools. Nant I believe is
based upon .NET and not Java (which makes sense since it is for .NET
applications).
However, Nant and Ant do share many of the similar task types and a
very similar build.xml file structure. You define project, run
"Target
Why not have all the NANT task activities in a separate build file, and
simply use task in ANT to launch the NANT process ?
There is some evidence in Google
(http://www.google.co.in/search?q=nantcall) of building a
task to facilitate this. I am not sure how far that effort got to.
-Prashant
On
Hello...
"When one learns of a hammer...everything looks like a nail"
ANT is a powerful tool and it can be used to easily do many things but some
times (heaven forbid!!) using ANT is not the most direct route.
Assuming you want to do is extend the example you started earlier...you now
have a s
--- Ninju Bohra <[EMAIL PROTECTED]> wrote:
> Hello...
>
> "When one learns of a hammer...everything looks like
> a nail"
>
> ANT is a powerful tool and it can be used to easily
> do many things but some times (heaven forbid!!)
> using ANT is not the most direct route.
>
True enough. Having a
Folks:
I have a path reference that contains both jars and directories. I want
to filter out just the jar reference to build a manifest.
How do I apply a filter to the path reference to grab just the jar files
that are listed in the reference?
Eric
Thanks Friends,
Matt I tried to implement your advice, and no matter what I do,I get this
error message:
C:\Documents and Settings\bc\Desktop\test>ant
Buildfile: build.xml
convert_password:
[echo] Current value of my_password is Secret
[echo] The first five letters of the alphabet are:
Hi,
-Original Message-
From: broken connection [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 28, 2007 4:44 PM
To: Ant Users List
Subject: Re: How to make "outputproperty" element work???
/*
*/
try with =
if antcontrib.jar in %ANT_HOME%/lib
Regards, Gilbert
--
Wow..thanks a lot Gilbert...my stuff works fine now...
One last glitch is left, if anyone of you got few minutes,please helpi
followed all your advice and this is my final build and its works like a
charm...
Current value of my_password is ${my_password}
Hello all.
I have a build file with a set of patternsets that are declared in
alphabetical order. There are some references between then (eg: A
references B, but A is declared first).
Because of these dependencies and their order, I'm getting warning
messages from ant, things like:
Overriding
Hello,
You are able to change values of patternsets ids etc.
You are in general not able to change properties (immutability).
The warning means: If you dont want to change the value of this id, then you
are in trouble.
But if this is exactly want you want, then everythings fine.
Greetings
--
Thanks Jurgen.
If I can ask you, and the rest of the community, for a touch more clarification.
In my example,
01]
02]
03]
04]
05]
06]
07]
08] doing nothing
09]
10]
Line 03, the reference to another patternset (one that hasn't been
declared yet) in essence
On 6/28/07, Jay Dickon Glanville <[EMAIL PROTECTED]> wrote:
If I can ask you, and the rest of the community, for a touch more clarification.
In my example,
01]
02]
03]
04]
05]
06]
07]
08] doing nothing
09]
10]
Line 03, the reference to another patternset (
Dominique,
"decoration" means "declaration" (as you can see, I rely too heavily
on a spell checker that can't read my mind...)
Because of your advice, I will reorder my patterset declarations so
that they are declared before they are referred to.
Thank you all for your help.
JDG
On 6/28/07, D
Hi Friends,
I am stuck at this last step and not able to overcome this,can someone
please help...inshort,say i have two property files now i.e:
first.properties:
my_password = oldpassword
second.properties:
my_password = newpassword
So,in my build.xml I have a target like this:
Replying for cprice - the patch below definitely seems to have made the
problem much less noticable. Previous to applying this patch, we had a
shell script that ssh'ed to a remote box continuously overnight and failed
around 7 - 8 times. Now it doesn't fail at all.
Thanks!
Atsuhiko Yamanaka-
Hi,
I'm not sure if this is the correct forum for this question, but I'm running
Junit tests with ant, within Eclipse. I have a lot of tests, I wish to run
them overnight , then look at a JUnitReport.
Repeatedly I have abandoned this method because I get an
OutOfMemoryException after about 35 min
Hi,
I use an Ant Script tu run a lot of Junit Tests. I had to change the maxmemory
to 1024m to let all the Tests run.
But sadly I used Ant directly and not Eclipse.
But this is how I solved my memory problem in the Ant-Task:
19 matches
Mail list logo