ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Silva, Alejandro" <Alejandro.Si...@Honeywell.com>
Subject RE: SourceSafe syntax error
Date Mon, 13 Sep 2004 21:03:05 GMT
Hi Vadim,

It's pretty obvious that you have a much better understanding of Ant than I
do (And I should read the docs more carefully). Thanks a lot! It worked
right away! :)

Alex

-----Original Message-----
From: Vadim Kazakov [mailto:VadimK@quadrus.com]
Sent: Monday, September 13, 2004 3:45 PM
To: Ant Users List
Subject: RE: SourceSafe syntax error


I just noticed that you used
<property name="vss.project.dir" location="$/ibis dev/java/"/>
Try
<property name="vss.project.dir" value="$/ibis dev/java/"/>

-----Original Message-----
From: Silva, Alejandro [mailto:Alejandro.Silva@Honeywell.com] 
Sent: September 13, 2004 12:37 PM
To: 'Ant Users List'
Subject: RE: SourceSafe syntax error

Hi,

Yes I tried it, but I still get the same error message. So, the spaces
are
not the problem. Is it a bug?

Alex

-----Original Message-----
From: Hobbs, Gareth [mailto:Gareth.Hobbs@astrazeneca.com]
Sent: Monday, September 13, 2004 3:00 AM
To: 'Ant Users List'
Subject: RE: SourceSafe syntax error


Alex - have you tried it on a Sourcesafe project that does not contain a
space in the name?

Cheers,
Gareth

-----Original Message-----
From: Silva, Alejandro [mailto:Alejandro.Silva@Honeywell.com]
Sent: 11 September 2004 00:35
To: 'user@ant.apache.org'
Subject: SourceSafe syntax error


Hi All,

I've been looking for an answer to this in the archive, but with no luck
so
far :(

Anyway, the problem is that I'm trying to get some files from a VSS
repository, but I always get the same error. Her's
what I've done so far:
1. I verified that I could do this operation using the command line. So
I
set the PATH and SSDIR environment variables
and tested the following command: ss get "$/ibis dev/java" -R. It worked
right away.
2. Created the following properties and target in my build file:

  <property name="vss.project.dir" location="$/ibis dev/java/"/>

  <target name="vss-get">
    <!-- Gets all the source code from the VSS repository using vssget
-->
    <vssget vsspath="${vss.project.dir}"
            recursive="true"/>
  </target>

Tested and got the following result:
C:\webapps\ibis-test>ant vss-get
Buildfile: build.xml

vss-get:
   [vssget] $C:\webapps\ibis-test\$\ibis dev\java is not valid
SourceSafe
syntax


BUILD FAILED
C:\webapps\ibis-test\build.xml:26: Failed executing: ss Get
"$C:\webapps\ibis-te
st\$\ibis dev\java"  -I-  -R      With a return code of 100

Total time: 2 seconds

Actually I tried this many times with different options, but got the
same
result.
3. Then I thought of a different approach so I created the following
properties and target:

  <property name="vss.bin.dir"     location="C:\Program Files\Microsoft
Visual Studio\Common\VSS\win32"/>
  <property name="vss.server.dir"  location="S:\SHARED\IBIS\WIBIS\0003
Construction\SS"/>

  <target name="exec-get">
    <!-- Gets all the source code from the VSS repository using exec -->
    <exec executable="ss.exe" dir=".">
      <env key="PATH" path="${vss.bin.dir}"/>
      <env key="SSDIR" path="${vss.server.dir}"/>
        
      <arg value="get"/>
      <arg value="${vss.project.dir}"/>
      <arg value="-R"/>
    </exec>
  </target>

Tested and got the following result:
C:\webapps\ibis-test>ant exec-get
Buildfile: build.xml

exec-get:
     [exec] C:\webapps\ibis-test\$\ibis dev\java is not valid SourceSafe
syntax
     [exec] Result: 100

BUILD SUCCESSFUL
Total time: 2 seconds

Why does Ant keep adding my current dir to the project dir? Any ideas on
how
to solve this issue?

Thanks in advance,

Alex Silva
Honeywell - GBS Mexico
+52 (444) 826-2577

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

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

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


Mime
View raw message