The reason that it did not work (possibly...) is
becuase you forget the
call at the beginning.
--- Rakesh Patel <[EMAIL PROTECTED]> wrote:
> Hi James,
>
> Both your links point to the same resource (the
> first hit in google).
>
> However, this does not work for me(on Windows):
>
>
> v
We use this to get the machine name - works on unix and windows.
Ben
-Original Message-
From: Rakesh Patel [mailto:[EMAIL PROTECTED]
Sent: Friday, October 07, 2005 11:56 AM
To: Ant Users List
Subject: RE: Help with choosing build property file
On of the other links points to t
On of the other links points to this as a solution:
Which works on Win2k but will have to test on Solaris later.
Thanks
Rakesh
-Original Message-
From: Shatzer, Larry [mailto:[EMAIL PROTECTED]
Sent: 07 October 2005 16:51
To: 'Ant Users List'
Subject: RE: Help with c
Windows 2K
-Original Message-
From: Shatzer, Larry [mailto:[EMAIL PROTECTED]
Sent: 07 October 2005 16:51
To: 'Ant Users List'
Subject: RE: Help with choosing build property file
> -Original Message-
> From: Rakesh Patel [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 07, 2005
> -Original Message-
> From: Rakesh Patel [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 07, 2005 8:43 AM
> To: Ant Users List
> Subject: RE: Help with choosing build property file
>
>
> Hi James,
>
> Both your links point to the same resource (the first hit in google).
>
> However,
Hi James,
Both your links point to the same resource (the first hit in google).
However, this does not work for me(on Windows):
${env.COMPUTERNAME}
[echo] ${env.HOSTNAME}
Cheers
Rakesh
-Original Message-
From: James Abley [mailto:[EMAIL PROTECTED]
Sent: 07 October 2005 16:28
To
Google is your friend.
http://www.google.co.uk/search?hl=en&q=ant+computername+hostname
First link:
http://www.ehatchersolutions.com/JavaDevWithAnt/ant.html
I would expect something like this to work on Windows and Solaris, but I
use Linux rather than Solaris.
James
On Fri, 2005-10-07 at 16:2
I do something like this. Since each machine is set up differently, I have a
properties file that I put into the root directory. This allows me to then
have machine dependent properties on each machine and my build script knows
where to find the file for it. In this file, you could put your h
Any hints on how to debug the sshexec task "auth fail"? It was working a
couple of weeks ago, but it is now failing for some unknown reason. Of
course, "nothing has changed" on my machine. I can connect using ssh
from cygwin.
Thanks
Here's a short test project I'm using to debug.
---
should work on all platforms; just pick a common
environment variable to use.
You may need to use a wrapper script around Ant to set this common
variable.
--
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere v7 Release Engineer
WebSphere Build Tooling Lead (Project Mantis)
"Rakesh Patel" <[EMAI
You have to build something witch and ... or find a Java
System property
holding that value.
Jan
>-Ursprüngliche Nachricht-
>Von: Rakesh Patel [mailto:[EMAIL PROTECTED]
>Gesendet: Freitag, 7. Oktober 2005 17:16
>An: Ant Users List
>Betreff: RE: Help with choosing build property file
Hi Jan,
That looks promising. Is there a way to make it work on both windows and unix?
I develop on windows and deploy to solaris.
Thanks
Rakesh
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 07 October 2005 15:52
To: user@ant.apache.org
Subject: AW: Help w
Because properties are immutable the more specific values in the first file are
prefered.
If that file does not exist (eg ${computername} is not set) it does not matter.
You have to set the property 'computername'. On WinXP you can use a env
variable:
Jan
>-Ursprüngliche Nachric
I've had problems with updating JAR files in the past when the "updated" file
is in fact older than the one already in the archive (and "older" may mean
"newer within 2 seconds" on Windoze). So you may want to it first. Or
as Jan suggested, do an , then for your
application.xml, then it back
Hi,
I would like to enhance my current Ant setup and was looking for advice.
At the moment, Ant picks up the build.properties file in the root
directory and uses that:
However, what I would like to do is this:
1. Ant gets the machine name/IP address of the machine it is running on.
2. Based o
I can update war and jar files withing the ear, but
not the application.xml. So this does look fishy. Here
is my (current) ant code:
This updates all the jars, as expected, but not the
application.xml.
--- [EMAIL PROTECTED] wrote:
>
> -- modify --: , ,
> , xmltask [1]
>
>
>
1. seems to be a CC question ...
2. would not the target fail
3. create a master buildfile
4. http://cruisecontrol.sourceforge.net/main/configxml.html#schedule
Note: Only one builder is used for a given interval where modifications are
found. Builds using the time
attribu
Hi all,
I'm using CruiseControl to call two ant targets like this:
The run tests target in canoo.xml is a series of Canoo WebTests.
The problem I'm having is that the second ant call does not get called if
the first target fails. ie. If the tests in {test1.dir}
-- modify --: , , , xmltask [1]
Jan
[1] http://ant.apache.org/external.html#xmltask
>-Ursprüngliche Nachricht-
>Von: Charl Gerber [mailto:[EMAIL PROTECTED]
>Gesendet: Freitag, 7. Oktober 2005 12:47
>An: user@ant.apache.org
>Betreff: Problem updating application.xml
>
>I have a 3rd
I have a 3rd party .ear file that I am updating. The
original .ear has an "application.xml" file. I have
tried everything, but cannot get Ant to overwrite that
application.xml with a new one I made myself.
I have tried the ear, jar and zip taks, update=true,
metainf settings, zipfileset, everythin
Greetings,
One of the really great ant features is the ability to other build
files. So what
I'm doing is something like
..
and it's really cool that a entity (target, macro, patternset ..) defined in
b${i} overrides a
entity with the same name.
Now what is missing (well, have no c
On 10/6/05, Ron Wheeler <[EMAIL PROTECTED]> wrote:
> If you manually open the jar and extract the png's are they corrupted?
yes, that is how I noticed that Eclipse/Ant should be responsible for this.
On 10/6/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Have a look at the , and commands.
>
http://ant.apache.org/faq.html#propertyvalue-as-name-for-property
Jan
>-Ursprüngliche Nachricht-
>Von: Holger King [mailto:[EMAIL PROTECTED]
>Gesendet: Freitag, 7. Oktober 2005 09:58
>An: user@ant.apache.org
>Betreff: ant and nested property values
>
>Hi Group,
>
>I'm just trying to bui
Hi Group,
I'm just trying to build something like that using "ANT" and
"ANT-CONTRIB":
In this case "nested" would resolve as follows:
nested = ${${one}.${two}}
= ${first.${two}}
= ${first.second}
= numbers
Using CruiseControl (s.:
http://confluence.public.
24 matches
Mail list logo