Sounds like what you REALLY want to do is the task. This
allows you to specify multiple tasks that can take place at the same
time. The task will wait for each to complete before
continuing.
There's no need for a flag or a loop.
The file used in Windows is ant.bat. I don't have a copy of ant.bat,
but I don't believe you can "source" DOS batch files as you can
"source" Unix shell scripts. Sourcing means including one shell script
into another and that's what happens when you see:
. somefile.sh
in a shell script. You'd nee
Hi All,
Is there a way to loop the ant executing on time basis,
eg. Lets say i'm doing db and code deployment in parallel, but i want to
wait for both to be completed before restarting servers for code deployment.
so i thought i would create a flag at the end of db deployment, then at the
end of
Hello all,
I'm having trouble calling one build file from another. I'm using Eclipse,
and I have two projects:
Foo
Bar
Each project has a build.xml file, and the Bar project depends on a jar file
generated by the Foo project. The following is the build.xml file for
project Foo:
Build fil
Dimitris Mouchritsas schrieb:
What I'd like to accomplish is checking if build.properties exists
(which loadproperties ensures) and
then check to see if a set of properties is set. If a property is
missing I'd like to display a message with
the name of the property missing.
What are your thoug
You do not need a known_hosts file since you have set trust="true". You
will need to generate a key pair on the machine running ant. You may
need to convert the private key to openssh format. Use the private key
file in the ant build file...
keyfile = "path/to/key/file"
...
Then you need to copy t
Hi, David
Many thanks for the info!
Is it possible to write these files for Windows & *nix?
Thanks,
David
It appears that the $HOME/.ant/ant.conf and $HOME/.antrc files are
just two different ways to do the same thing. $HOME/.ant/ant.conf is
executed firsrt, so if something is defined in bot
Knuplesch, Juergen wrote:
Use the task from antcontrib, which makes things easier.
Hmm, ok I've made it work But what I really want to know is:
How can I check if a set of properties exists?
My thoughts were to load a sample properties file like:
but I can't get to comparing th
My humblest apologies--I did not state my problem clearly. I want to find a
set of files whose contents (not the file name) includes a string based on
the name of the file containing it. That is, for each file path/xxx.yyy, I
want to know if the file contains a string like this:
"See doc page at
Use the task from antcontrib, which makes things easier.
--
Jürgen Knupleschwww.icongmbh.de
icon Systemhaus GmbHTel. +49 711 806098-275
Sophienstraße 40
D-70178 Stuttgart Fax. +49 711 806098-299
Geschäftsführer: Uwe Se
To fix some of the problems in IVY with resolution of transitive
dependencies, we built the Ivy library from the current trunk
(r658272) and installed it into our build system. The good new is
this fixed A LOT of problems with resolving dependencies. The bad
news is this broke publish whe
Well, let's go step by step over the classpath definitions that you can
find in the example I attached a few mails ago.
The first classpath definition is required to tell the task where
to find the implementation of the mysql driver (as far as I know, you
did that successfully because the oracl
Dimitris Mouchritsas wrote:
Hi everyone.
I'm trying to create a sample project to test if the build.properties
file exists and if the required properties are set
upon initialization. But I'm not quite sure if I use correctly the
condition task. This is what I've come up with right now:
I thought I had included the junit.jar in the classpath, but maybe it's
defined improperly.
I didn't see it in your sample, where do you define that part of the
classpath? I think I'm
getting confused about the different places the classpaths are defined, and
how to list
multiple files/directori
Hi everyone.
I'm trying to create a sample project to test if the build.properties
file exists and if the required properties are set
upon initialization. But I'm not quite sure if I use correctly the
condition task. This is what I've come up with right now:
Have you included the java junit.jar library into the classpath provided
for the junit task?
The TestListener class is actually included in that .jar file.
Regards.
Carlos
tmni escribió:
I appreciate both attempts to help.
I had already viewed that other web page and tried to follow it. It do
16 matches
Mail list logo