[Anthill-pro] RE: updating system PATH variable value during build
run
Mitra, Prajit (MED US)
prajit.mitra at siemens.com
Tue Jul 15 11:51:25 CDT 2008
Eric,
I need to use that PATH variable in all the steps of a build. I'm trying
to use a script to update the value of a workflow property called "PATH"
and use it all the steps of a build.
-Prajit
________________________________
Date: Mon, 14 Jul 2008 18:56:25 -0500
From: Eric Minick <etm at urbancode.com>
Subject: Re: [Anthill-pro] updating system PATH variable value during
build run
To: "AnthillPro user and support list."
<anthill-pro at lists.urbancode.com>
Cc: "<anthill-pro at lists.urbancode.com>"
<anthill-pro at lists.urbancode.com>
Message-ID: <AA4F7FA3-2856-4A21-8E51-E67FC70DF99D at urbancode.com>
Content-Type: text/plain; charset="us-ascii"
On the environment tab of a builder you'll find an example of how to
do this for a given step.
I think that approach would likely be far easier.
-- Eric
________________________________
From: Mitra, Prajit (MED US)
Sent: Monday, July 14, 2008 3:42 PM
To: 'anthill-pro at lists.urbancode.com'
Subject: updating system PATH variable value during build run
Hi,
I'm a using anthillpro (version 3.5.3_14575). I'm trying to update the
PATH variable
with a runtime value during the build. e.g.
PATH=
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Rational\common;
C:\Program Files\Rational\ClearCase\bin;C:\Program Files\Intel\DMIX
PATH=M:\test_build_view\test_vob\sql_test;C:\WINDOWS\system32;C:\WINDOWS
;C:\WINDOWS\System32\Wbem;
C:\Program Files\Rational\common;C:\Program
Files\Rational\ClearCase\bin;C:\Program Files\Intel\DMIX
I'm trying with this method
String pth = System.getProperty("PATH");
log.warn("pth=" + pth);
But I'm getting null value. The agent Java Version is
sys/java.runtime.version 1.5.0_15-b04
2008-06-24 12:04:51,914 WARN job\144\799 4 0 - pth=null
TIA
-Prajit
----------------------------------------------------------------------------
This message and any included attachments are from Siemens Medical Solutions
and are intended only for the addressee(s).
The information contained herein may include trade secrets or privileged or
otherwise confidential information. Unauthorized review, forwarding, printing,
copying, distributing, or using such information is strictly prohibited and may
be unlawful. If you received this message in error, or have reason to believe
you are not authorized to receive it, please promptly delete this message and
notify the sender by e-mail with a copy to Central.SecurityOffice at siemens.com
Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill-pro/attachments/20080715/e0476ba7/attachment.htm
More information about the Anthill-pro
mailing list