[Anthill-pro] updating system PATH variable value during build run

Eric Minick etm at urbancode.com
Mon Jul 14 18:56:25 CDT 2008


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

On Jul 14, 2008, at 2:42 PM, "Mitra, Prajit (MED US)" <prajit.mitra at siemens.com 
 > wrote:

> 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
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill-pro/attachments/20080714/1ee52f28/attachment.htm


More information about the Anthill-pro mailing list