• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

New to ant build file question

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am new to ANT and am trying to build my first build.xml file

I get a message stating :
'ss' is not recognized as an internal or external command,

This is where the error is thrown:

<target name="getSourceJava">
<vssget
localpath="${source.java.dir}"
serverPath="${vss.server}"
vsspath="${vss.source.java}"
/>
</target>


Here are the supporting properties:

<property name="source.dir" value="source" />
<property name="source.java.dir" value="${source.dir}/java" />

<property name="vss.server"
value="//vssServer/dept/devsource/vss_dbs/development/"/>

<property name="vss.source.java" value="$/Developers/In_Development/CentralizedProcessingDataWarehouse/Staging/LoadData/*.java"/>

It smells like a stupid typo but I can't figure out what I'm doing wrong. Any suggestions would be appreciated.

Thanks,

Matt
 
author & internet detective
Posts: 42135
937
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Joey,
Welcome to JavaRanch!

It looks like the vss task is calling something else that isn't in the classpath. Does the documentation for VSS say if it relies on any other jars?
 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I believe that ss is the name of the SourceSafe executable. Try calling that command directly from the commandline where you are running your ant script. You may find that you need to set the classpath to find that executable.
 
reply
    Bookmark Topic Watch Topic
  • New Topic