ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27355] New: - question about VSS task in Ant1.5
Date Tue, 02 Mar 2004 03:07:05 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27355>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27355

question about VSS task in Ant1.5

           Summary: question about VSS task in Ant1.5
           Product: Ant
           Version: 1.5.4
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: niro@163.com


Who Sir/Mrs

Now I happen to a question when I checkout my codes from VSS server by ant-
task.The following is my part of ant script...

<target name="checkout" depends="init">
	    <echo message="Start Checkout Command " />
		<vsscheckout vsspath="${vss.path}/libs"
             				localpath="${vss.project.path}/libs"
             			
	login="${vss.login.user},${vss.login.pwd}"
							
	ssdir="${vss.ssdir.path}"
								recursive="true"
				             
version="${vss.project.lib.version}"
							
	serverpath="${vss.server.path}"/>
		<vsscheckout vsspath="${vss.path}/web"
             				localpath="${vss.project.path}/web"
             			
	login="${vss.login.user},${vss.login.pwd}"
							
	ssdir="${vss.ssdir.path}"
             				recursive="true"
				             
version="${vss.project.web.version}"
							
	serverpath="${vss.server.path}"/>
		<vsscheckout vsspath="${vss.path}/java source"
             				localpath="${vss.project.path}/java 
source"
             			
	login="${vss.login.user},${vss.login.pwd}"
							
	ssdir="${vss.ssdir.path}"
             				recursive="true"
				             
version="${vss.project.java.version}"
							
	serverpath="${vss.server.path}"/>
</target>

Also the following is exception when I issue the "ant checkout" command 


[vsscheckout] show result:"D:\Program Files\Microsoft Visual 
Studio\VSS\netsetup.x86\VSS\win32\ss" Checkout $/FlexForm/libs -
GLD:\develop\FlexForm_App\VSS_Version\libs -I- -R -V28 -Ychengzhou,chengzhou

BUILD FAILED
file:D:/develop/FlexForm_App/build.xml:110: Failed executing: "D:\Program 
Files\Microsoft Visual Studio\VSS\netsetup.x86\VSS\win32\ss" Checkout 
$/FlexForm/libs -GLD:\develop\FlexForm_App\VSS_Version\libs -I- -R -V28 -
Y123,123
        at org.apache.tools.ant.taskdefs.optional.vss.MSVSSCHECKOUT.execute
(MSVSSCHECKOUT.java:120)
        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: 1 second
D:\develop\FlexForm_App>

I found out if I issue the command  "D:\Program Files\Microsoft Visual 
Studio\VSS\netsetup.x86\VSS\win32\ss" Checkout $/FlexForm/libs -
GLD:\develop\FlexForm_App\VSS_Version\libs -I- -R -V 28 -Y123,123" I can get 
what i want.

So how to insert a blank between -V ang my Version Number(28).Maybe it's a bug 
of ant.

Another the following is my env.property file

vss.ssdir.path=D:/Program Files/Microsoft Visual 
Studio/VSS/netsetup.x86/VSS/win32/
vss.login.user=123
vss.login.pwd=123

vss.path=/FlexForm
vss.project.label=FlexForm Release
vss.project.lib.version=28
vss.project.web.version=43
vss.project.java.version=34
vss.project.path=d:/develop/FlexForm_App/VSS_Version
vss.server.path=j:/

ext.lib.path=C:/Tomcat 4.1.24/common/lib

project.compile.encoding=ISO8859_1
project.package.name=FlexFormEARWeb

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message