Sweetness!! 
Worked like a charm.
If only I knew the API a little better.
Thanks guys!!

This is what I had to do -

        MSVSSGET vssGet = (MSVSSGET)project.createTask("vssget");
        vssGet.setSsdir(m_vssPath);
        vssGet.setVsspath(vssFolder+"/"+dir+"/"+fileToGet);
        vssGet.setVersion(version);     
        vssGet.setLogin(m_vssLogin);    
        vssGet.setLocalpath(new Path(project,localPath+"/"+dir));
        vssGet.setDescription("Read file and do VSSGET");
        vssGet.execute();

- vineet

-----Original Message-----
From: Nico Seessle [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 13, 2001 5:57 AM
To: [EMAIL PROTECTED]
Subject: Re: Extending the VSSGET task


----- Original Message -----
From: "Vineet Bhatia" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, January 12, 2001 10:37 PM
Subject: RE: Extending the VSSGET task


> The only change I had to make was in Task.java. I had to make
> setProject(Project project) public.
> I could'nt find a better way to do it.
> Any ideas, always welcome.
>

You could use project.createTask("vssget"); and the project should care
about this.

Nico



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to