ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "M. Erik Husby" <mhu...@genome.wi.mit.edu>
Subject Re: Problem with task pvcs
Date Tue, 11 Feb 2003 21:21:41 GMT
Make sure that your pcli.exe is in your PATH. The CreateProcess error=2 
indicates that it could not run that program.

Haroldo Pereira Nascimento wrote:

>Hi
>
>  I get this error when used this xml:
>"BUILD FAILED: file:C:/Smartmail/build.xml:6: Failed executing: pcli
>lvf -z -aw -prP:/PVCS_VM/BkpBoston/BusinessMail /. Exception: CreateProcess:
>pcli lvf -z -aw -prP:/PVCS_VM/BkpBoston/BusinessMail / error=2"
>
>
><project name="Smartmail" default="pvcs" basedir=".">
>    <property file="build.properties"/>
>
>    <target name="pvcs">
>
>        <pvcs repository="P:/PVCS_VM/BkpBoston/BusinessMail">
>        </pvcs>
>    </target>
>
></project>
>
>What it doesnt works ???
>
>
>Haroldo Pereira Nascimento hnascimento@eversystems.com.br Avenida Marginal
>Pinheiros, 5200 05693-000 São Paulo - SP - Brazil Phone: +5511 3759-8426
>Fax: +5511 3759-8005
>----- Original Message -----
>From: "Adam Hardy" <adam.ant@cyberspaceroad.com>
>To: "Ant Users List" <user@ant.apache.org>
>Sent: Tuesday, February 11, 2003 10:07 AM
>Subject: Re: ANT 1.5.1: Two property files: Property values not resolved
>
>
>  
>
>>Resolving the properties again would be compromising the ant properties'
>>immutability behaviour.
>>
>>Anyway, your references seem to be circular, even if you could
>>re-initialise the properties.
>>
>>Adam
>>
>>
>>Hagen, Christian wrote:
>>    
>>
>>>Hi,
>>>
>>>even searching docs and archives did not help me with the following
>>>      
>>>
>issue:
>  
>
>>>I have got two property files:
>>>
>>>abc.P.properties:
>>>P.refid = xyz
>>>P.display.somevalue = ABC
>>>P.display.refname = ${C.display.name}
>>>
>>>xyz.C.properties:
>>>C.display.name = Name of XYZ
>>>
>>>
>>>The entry "P.refid" in "abc.P.properties" is used to resolve the name of
>>>      
>>>
>the second property file (here: "xyz.C.properties"). The property
>"P.display.refname" by default references another property set in the
>"*.C.properties".
>  
>
>>>I do load the two property files with
>>>
>>><property file="abc.P.properties"/>
>>><property file="${P.refid}.C.properties"/>
>>>
>>>When setting verbose mode, there are warnings after the first file, that
>>>      
>>>
>some properties (ie. "C.display.name") have not been set, which is perfectly
>clear.
>  
>
>>>The problem is, that after reading the second property file, I inserted
>>>      
>>>
>some echo tasks to output the property values. The result is similar to
>  
>
>>>"P.display.refname : ${C.display.name}"
>>>
>>>which means that the property has not been resolved.
>>>
>>>Question: Is there any way to trigger ANT to resolve the properties
>>>      
>>>
>again? Or should the example above work anyway?
>  
>
>>>Thanks in advance.
>>>
>>>Greetings
>>>Chris
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>>For additional commands, e-mail: user-help@ant.apache.org
>>>
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>For additional commands, e-mail: user-help@ant.apache.org
>>
>>
>>    
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>  
>

-- 
Erik Husby
Group Lead for Software Quality Automation
Whitehead Institute/MIT Center for Genome Research
320 Charles St
Cambridge, MA 02141-2023
mobile: 781.354.6669
office: 617.258.9227
mhusby@genome.wi.mit.edu




Mime
View raw message