Ant _does_ expand macro parameters the way you want, however (this
discrepancy is unintuitive and baffling to me, but that's another
story). So, you could make the part that checks availability a
macrodef, passing in ${hostname} and ${num} as arguments. You will then
be able to reference [EMA
I'm at home now and not at work. I haven't used Ant on this computer before. I
opened a Windows command-line, switched to the Ant\bin directory and typed "ant
-diagnostics" at the prompt. The result was this:
Files\Java\jdk1.5.0_06\bin was unexpected at this time.
What have I done wrong here?
-
[EMAIL PROTECTED] wrote:
I'm having a problem with choosing an XSLT processor to use with the
I'm having a problem with choosing an XSLT processor to use with the
Are you using the ANT_HOME that is bundled with OC4J, or a different one?
Make sure you have oc4jclient.jar in your classpath.
Can you post the section of your script where this call is being made?
-Andrew
On 7/31/06, Angus Rose <[EMAIL PROTECTED]> wrote:
Hi All,
I am creating a scrip
Hi,
works fine with ant-contrib 1.0b2 and ant 1.6.5 here.
You should upgrade your ant-contrib version.
The in that version supports the unset attribute.
see http://ant-contrib.sourceforge.net/tasks/tasks/index.html
Property Tasks / Variable
Regards, Gilbert
-Original Message-
Fro
Thanks. These are JDK 1.5+ specific, so it's SUN who introduced the
ambiguity, but it generates the proper code. We'll fix them
eventually, if that's not already done in SVN head. --DD
On 7/31/06, Hugh Sasse <[EMAIL PROTECTED]> wrote:
Just to let someone know, I got these warnings building 1.6.5
Recursive property expansion can be emulated using a .
Processing [EMAIL PROTECTED] (IP: [EMAIL PROTECTED])
...
If you have in your properties file:
host_1_name = foo
host_1_ip = 255.255.255.0
Calling
Will display: Processing foo (IP: 255.255.255.0). --DD
On 7/31/06, [EMAIL PRO
Just to let someone know, I got these warnings building 1.6.5 on Solaris9
src/main/org/apache/tools/zip/ZipEntry.java:425: warning: non-varargs call of
varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-va
The variable 'x' ( is the 'var') is of the type 'property'. The 'property' var
type does not support unset.
Can't remember how this was exact, you can look it up, we load the settings
from a construction like below:
Our files contain named
Hi,
first, thanks for your help!!
I tried to implement the pfunctions - lib.. but not so successful..
I think the solution with ant-contrib and the 'for' - iteration is good...
But following problem embarrass me...
BUILD FAILED
C:\workspace\Synchro - Tool\Ant - Tests\build.xml:24: The type do
Hi Gilbert,
I was a bit confused about the "basedir" value within property section.
Simply typing
InfraPath=C:/Infragistics/NetAdvantage 2005 Volume 2/ASP.NET/Bin
within my property file helped. Seems it works now.
Thanks,
Andreas
-Ursprüngliche Nachricht-
Von: Rebhan, Gilbert [mail
Second suggestion =
i think your problem is, that properties are immutable once set
here's a workaround with from antcontrib :
Filepath === @{file}
Filename === ${filename}
the property file is automatically overwritten for every loop, but
the property filename
Hi All,
I am creating a script that will build and deploy an EJB to an
instance of OC4J. SO far, so good I can deploy the EJB and all is wonderful.
I have a class[ath problem with running a client that calls this EJB, Ant
basically throws a classnotfound exception when it trys to load an ins
Hi,
Don't know if that is what you want, but if needed
properties may always be set or overwritten via script , f.e.
ant.project.setProperty("FOO","schwall");
Reset Nr.1 via Groovy >>> ${FOO}
You have allway
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, July 31, 2006 11:06 AM
To: user@ant.apache.org
Subject: properties handling problem
Hi,
this is Code for deliver files to different systems with a pre-check...
I'll iterate with der f
I believe ant dies not support the parsing of inner variables (property
expansion), so you will have to make a combination with a
task and loading the resulting property file after that.
There are some ant extensions that make it possible, but they are in
development. http://www.efanomars.net/
Hi,
this is Code for deliver files to different systems with a pre-check...
I'll iterate with der foreach-Task.
The Problem is, I don't now how to set the properties.
Properties
available=availability
availabledir=/export/home/heisc01/anttest/
output=output
hostlist=host_1,host_2,host_3
hostname
18 matches
Mail list logo