You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Haroldo Pereira Nascimento <hn...@eversystems.com.br> on 2003/02/12 00:40:11 UTC

New Problem with task pvcs 2

Now, I get this error:

Calling Ant runner with:

Ant build file: C:\Smartmail\build.xml

Buildfile: C:\Smartmail\build.xml

PVCS Version Manager (VMGUI) v6.5.00 (Build 536) for Windows NT/80x86

Copyright 1985-1999 INTERSOLV, Inc. All rights reserved.

This command is provided for customer support purposes. The interface

is subject to change.

BUILD FAILED: file:C:/Smartmail/build.xml:7: Failed executing: "C:\Program
Files\PVCS\VM\Win32\Bin\pcli"
lvf -z -aw -prP:/PVCS_VM/EverProjects/Boston/BusinessMail /


I used this build.xml:

<project name="Smartmail" default="pvcs" basedir=".">
    <property file="build.properties"/>

    <target name="pvcs">

        <pvcs repository="P:/PVCS_VM/EverProjects/Boston/BusinessMail"
         pvcsbin="C:\Program Files\PVCS\VM\Win32\Bin">

        </pvcs>
    </target>

</project>



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: "M. Erik Husby" <mh...@genome.wi.mit.edu>
To: "Ant Users List" <us...@ant.apache.org>
Sent: Tuesday, February 11, 2003 6:21 PM
Subject: Re: Problem with task pvcs


> 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" <ad...@cyberspaceroad.com>
> >To: "Ant Users List" <us...@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
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>