We have a build.bat in our source distro, but this only for building Ant itself.
For building your own projects you dont need that file. Just start Ant with
your buildfile
ProjectDir> ant -f myBuildFile.xml
or with common buildfile name build.xml
ProjectDir> ant
Why do you think you need that
Jeffrey E Care wrote:
Ant tasks are generally one-time use only.
Well, actually, when they cannot be executed twice in a row, it often
means that they are buggy, because some instance variables modified by
the execution of the task are not reset to their value before the
execution of the task
Hello Yolan,
not sure if it helps
may be ommit the command attribute, and use a nested tag
instead like this :
In other words, I wonder whether the "command" attribute does not send
all the arguments as one, causing them to be ununderstandable for the
cv
Ive come across lots of material, installed the ANT Binary, did the EXerces
but still have no build.bat file to compile.
Any help ?.
Thanks.
- Frank
-Original Message-
From: David TROGDON [mailto:[EMAIL PROTECTED]
Sent: mercredi, 15. juin 2005 22:52
To: Ant Users List
Subject: Re: Questio
Ant tasks are generally one-time use only.
--
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere Build SWAT Team Lead
WebSphere Build Tooling Lead (Project Mantis)
https://w3.opensource.ibm.com/projects/mantis
"Brandon, Raymond" <[EMAIL PROTECTED]> wrote on 06/16/2005
10:49:55 AM:
> Hi all,
>
> I
Thanks Jan.
I have another requirement for checking two property values. My solution
doesn't work well for this requirement. The scriptselector solution below can
easily be extended to check two or more properties.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Se
As for executing it conditionally, you can use Ant-contribs if/else.
http://ant-contrib.sourceforge.net/tasks/tasks/if.html
Zarar
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Thursday, June 16, 2005 1:07 AM
Subject: AW: How to execute a subtask conditionally if used sever
Ant-contrib's tag can do it.
http://ant-contrib.sourceforge.net/tasks/tasks/foreach.html
Zarar
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Thursday, June 16, 2005 1:07 AM
Subject: AW: How to execute a subtask conditionally if used several times
Maybe would bet
Thanks for clearing that up.
I'm sticking with ${java.specification.version} as suggested by Alexey.
Zarar
- Original Message -
From: "Stefan Bodewig" <[EMAIL PROTECTED]>
To:
Sent: Thursday, June 16, 2005 3:00 AM
Subject: Re: Detecting JDK Version using ANT
On Wed, 15 Jun 2005,
I'm trying to run the cvs log -r[tag_name] -S command in ant. Log requires
that there be a module checked out in what ever directory your running
from. For some reason when I run the ant script it doesn't seem to
recognize that the revision exists in the module (the command works in
wincvs). I'
Hi all,
I am using some Ant functionality straight from Java and ran into problems:
The Cvs class (extending AbstractCvsTask) seems to work fine when called in
a build script when I call it directly from Java, the first time it works
ok, but any subsequent call to the execute method does not seem
Try
SELECT XMLELEMENT("Document").getStringVal() FROM [EMAIL PROTECTED]
where
rownum<10;
If your XML is larger than 4000 characters you may want to try
SELECT XMLELEMENT("Document").getClobVal() FROM [EMAIL PROTECTED]
where
rownum<10;
-Original Message-
From: Renick, Garrel [mailto:[EM
Hi guys,
I want to pass to my exec task, an executable that is located in my system Path.
I tried within the exec element with no
sucess: ant tries to resolve the name based on my ant basedir.
(i have put resolveexecutable="false" searchpath="true" for my exec attributes);
Any suggestions?
Thanks
Hi,
most of the time I use ANT from within eclipse.
With eclipse 3.1M6 there is ANT 1.6.1 and eclipse 3.1RC2 comes with ANT 1.6.4.
I am running this stuff on Windows XP Pro with SP2 on a P4 3 GHz (1024MB RAM).
There are some non-trivial scripts that I run every day.
One of them (referenced as scr
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wed 6/15/2005 12:03 PM
To: user@ant.apache.org
Subject: RE: macrodef: setting options dynamically
hi jan;
i already saw the manual but my goal is a little bit more complex; i want to do
the following:
attribute
Hi,
16Jun2005 @ 09:05 Stefan Bodewig thusly spake
> On Wed, 15 Jun 2005, Anil Jacob <[EMAIL PROTECTED]> wrote:
> ant-jsch.jar contains the SSH related Ant tasks and is part of Ant's
> binary distribution. If you build Ant from sources, you won't have
> that jar (well, you will have an empty one)
Zarar Siddiqi wrote:
Hi,
Is there a clean way to detect what version of Java is being used when running
a build file?
Some possible solutions include:
1) parsing the JAVA_HOME variable to detect the version number
2) Checking the existence of a file which is specific to a version
Both metho
On Wed, 15 Jun 2005, Tobias K. Tobiasen <[EMAIL PROTECTED]> wrote:
> *) Should I make the patch for 1.6.x or 1.7?
CVS HEAD. There most probably won't be any 1.6.x release after 1.6.5.
> *) If you are not forking the junit task you still have to put
> junit.jar in the system classpath. Is it OK
On Thu, 16 Jun 2005, <[EMAIL PROTECTED]> wrote:
> My conclusion is that the downloaded jsch jar file didn't contain
> all the necessary classes for use with ant162.
No, it doesn't contain the tasks themselves, those are part of Ant.
How did you obtain Ant? Did you use a binary distribtion, some
On Wed, 15 Jun 2005, Anil Jacob <[EMAIL PROTECTED]> wrote:
> If it is ANT1.6+ rename the jsch-0.1.20.jar as ant-jsch.jar.
This is wrong, wrong, wrong.
ant-jsch.jar contains the SSH related Ant tasks and is part of Ant's
binary distribution. If you build Ant from sources, you won't have
that jar
On Wed, 15 Jun 2005, Zarar Siddiqi <[EMAIL PROTECTED]> wrote:
> I'm assuming ${ant.java.version} is the version Ant is using in case
> there are multiple JDK's installed
No, it is the "flavor" of JDK Ant has detected at runtime, it doesn't
trust the system properties and probes for certain featur
21 matches
Mail list logo