ant + sosget + getting file = problem

If you are having a problem using SourceOffSite, post a message here.

Moderator: SourceGear

Post Reply
dziku
Posts: 2
Joined: Mon Sep 11, 2006 6:11 am

ant + sosget + getting file = problem

Post by dziku » Mon Sep 11, 2006 6:26 am

I've got a problem

I would like to get specified file(s) using sosget target in ant.

target looks like this:

Code: Select all

<sosget 
            projectpath="$$/a/x/file-*.txt"
            localPath="${localdir}" 
            sosserverpath="myserver:8888"
            username="x"
            password="x"
            vssserverpath="${vssserverfile}"
            recursive="false"
            verbose="true"/>
and it throws:
tSOS:
[sosget] SourceOffSite Command Line Client: Standard Edition version 4.1.2
[sosget] Connected to server fcsweb2 at port 8888.
[sosget] Received Challenge from server
[sosget] Successfully logged in.
[sosget] Sending GetProject Command to server.
[sosget] Error: Server response = 401 NoSuchFileOrProject
[sosget] Closed connection to server myserver at port 8888.
I can't also get one specified file eg:

Code: Select all

projectpath="$$/a/x/file-test.txt"
but when I specify whole directory:

Code: Select all

projectpath="$$/a/x/"
There is no problem

But stil i can't get secified file(s).
Anyone can help?

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Mon Sep 11, 2006 9:15 am

SourceGear SourceOffSite doesn't currently support ANT. Just as a suggestion, you may wish to try the same thing from a different machine with the GUI client on it, and then try the command just from a command prompt of a Windows machine.

dziku
Posts: 2
Joined: Mon Sep 11, 2006 6:11 am

Post by dziku » Tue Sep 12, 2006 4:34 am

I've got SourceOffSite client on the machine which I use to run this ant-buildfile.

When I use GUI client there is no problem, I can get one/many specified files, but using only ant there is.

Mayby you know where I could get help?

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Tue Sep 12, 2006 3:26 pm

I don't have any real resources on that. You can always search our forum or if they enabled the private email, ask another user on the forum that has posted something related to that. If you implemented Cruise Control with Ant, then you might want to read up on that, or check up on what people are doing with java projects. You may also want to go back to where you got ANT or whomever supports ANT and see what they have to say.

Post Reply