ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Robert H - MWT" <Anderson.Rob...@menlolog.com>
Subject RE: [pvcs] ERROR: unknown key letter (cm1)
Date Wed, 23 Apr 2003 19:29:13 GMT
You might try looking up "return code 1" in the PVCS command line reference
doc.

-Rob A

-----Original Message-----
From: Lopez, William [mailto:william.lopez@eds.com]
Sent: Wednesday, April 23, 2003 12:00 PM
To: Ant Users List
Subject: RE: [pvcs] ERROR: unknown key letter (cm1)


Check out the Ant Manual for the optional attribute descriptions. Even
though "workspace" is optional we needed to have it defined for it to work.
Sorry, I don't have much for you but our task is defined as so:

<pvcs repository="${pvcsRepository}" promotiongroup="${promotionGroup}"
workspace="${pvcsWorkspace}"                 updateonly="${updateOnlyFlag}"
userid="${pvcsIdPassword}">
  <pvcsproject name="/" /> 
</pvcs>

HTH,
-Will

-----Original Message-----
From: Nafis Patel [mailto:nafis_patel@hotmail.com] 
Sent: Wednesday, April 23, 2003 10:29 AM
To: user@ant.apache.org
Subject: [pvcs] ERROR: unknown key letter (cm1)


Anyone encountered this error before?

My build.xml is
$ cat build.xml
<project name="pvcs_latest" default="usage" basedir=".">

  <target name="usage" >
    <echo>This command describes targets available in this Ant Script
    </echo>
    <echo>To execute specific target use command ant &lt;target&gt;
    </echo>
  </target>

  <target name="getlatest">
    <pvcs repository="/ora/vmdb/dataservices" userid="xxx:xxx"/>
  </target>
</project>

The error at the end of many lines of output is

     [pvcs] Getting files
     [pvcs] Executing get -N 
@/tmp_mnt/home/auto/ch1npat1/pvcs_ant_8991292762946737470.log
Execute:Java13CommandLauncher: Executing 'get' with arguments: '-N'
'@/tmp_mnt/home/auto/ch1npat1/pvcs_ant_8991292762946737470.log'

The ' characters around the executable and arguments are
not part of the command.

     [pvcs] ERROR: unknown key letter (cm1)

BUILD FAILED
file:/tmp_mnt/home/auto/ch1npat1/build.xml:14: Failed executing: get -N 
@/tmp_mnt/home/auto/ch1npat1/pvcs_ant_8991292762946737470.log. Return code 
was 1
        at 
org.apache.tools.ant.taskdefs.optional.pvcs.Pvcs.execute(Pvcs.java:280)
        at org.apache.tools.ant.Task.perform(Task.java:341)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
        at org.apache.tools.ant.Main.runBuild(Main.java:609)
        at org.apache.tools.ant.Main.start(Main.java:196)
        at org.apache.tools.ant.Main.main(Main.java:235)

Total time: 12 seconds
$




_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail


---------------------------------------------------------------------
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

Mime
View raw message