ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philpott, Gregory (CRTUSW)" <Gregory.Philp...@CONCERT.COM>
Subject PVCS optional task error
Date Thu, 24 May 2001 01:40:04 GMT
Hi

I am using Windows NT 4.0, JDK1.2.2, ant-1.4-alpha (23May2001) with the
optional tasks (23 May2001) and Merant PVCS 6.6.10.

my build.xml looks like this:
---------------------------------------------
<project name="test" default="getlatest">
	<target name="getlatest"> 
		<pvcs repository="K:/myrepository" /> 
	</target>
</project>
----------------------------------------------

and the output from running ant at the command line is:
----------------------------------------------
C:\TEMP\test>ant
Buildfile: build.xml

getlatest:
     [pvcs] PVCS Version Manager (VMGUI) v6.6.10 (Build 870) for Windows
NT/80x86
     [pvcs] Copyright 1985-2000 MERANT.  All rights reserved.

BUILD FAILED

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at java.lang.String.substring(String.java, Compiled Code)
        at
org.apache.tools.ant.taskdefs.optional.pvcs.Pvcs.createFolders(Unknown
Source)
        at org.apache.tools.ant.taskdefs.optional.pvcs.Pvcs.execute(Unknown
Source)
        at org.apache.tools.ant.Target.execute(Target.java, Compiled Code)
        at org.apache.tools.ant.Project.runTarget(Project.java:911)
        at org.apache.tools.ant.Project.executeTarget(Project.java, Compiled
Code)
        at org.apache.tools.ant.Project.executeTargets(Project.java,
Compiled Code)
        at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
        at org.apache.tools.ant.Main.main(Main.java:149)

Total time: 2 minutes 26 seconds
String index out of range: -1
-------------------------------------------------
Does anyone know how to resolve this problem?

Thanks,
Greg

Mime
View raw message