Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Ant with Ivy
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
Liutauras Vilda
Jeanne Boyarsky
paul wheaton
Sheriffs:
Ron McLeod
Devaka Cooray
Henry Wong
Saloon Keepers:
Tim Holloway
Stephan van Hulst
Carey Brown
Tim Moores
Mikalai Zaikin
Bartenders:
Frits Walraven
Forum:
Ant with Ivy
Ant VSS Issue - Failed Executing ss Get
Simon Ritchie
Ranch Hand
Posts: 193
14
I like...
posted 7 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi all,
I'm trying to use an
Ant
build.xml file to get some
Java
code from a source in Microsoft Visual Source Safe. I've tried running this target which I've called get_source but it results in the following error
get_source: [mkdir] Created dir: C:\Users\myUsername\Documents\Development\Java\Ant Tutorials\Testing\${src_dir} [vssget] 'ss' is not recognized as an internal or external command, [vssget] operable program or batch file. BUILD FAILED C:\Users\myUsername\Documents\Development\Java\Ant Tutorials\Testing\build.xml:17: Failed executing: ss Get $/Path/Project/ProjectName/src/java/*.java " -GLC:\Users\myUsername\Documents\Development\Java\Ant Tutorials\Testing\${src_dir}" -I- -R -W -YmyUsername,********** With a return code of 1
This is my build.xml file
<?xml version = "1.0"?> <project name = "Testing" default = "get_source"> <property name = "src.dir" value = "src"/> <!-- VSS properties --> <property name="vsspath" value="/Path/Project/ProjectName"/> <target name="get_source"> <mkdir dir="${src_dir}" /> <vssget localPath="${src_dir}" recursive="true" vsspath="${vsspath}/src/java/*.java" login="myUsername,myPassword" writable="true"/> </target> </project>
Can anyone help?
Knute Snortum
Sheriff
Posts: 7125
184
I like...
posted 7 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
If I had to guess, I would say the "ss.exe" isn't in your PATH.
All things are lawful, but not all things are profitable.
Well behaved women rarely make history - Eleanor Roosevelt. tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
ANT VSSGET Task
creating subfolders in eclipse using ANT
getting file from VSS
vssget using ant
Ant error: Make sure you have it in you classpath
More...