If you find that you can do something using the ss
command line app that you can't do via the VSS task(s)
you have two options:

1) Use the <exec> task and invoke the ss command line
app directly
2) Modify the MSVSS(LABEL, AND, CREATE, etc...) task
classes to take the addition parameters.  These task
classes are merely thin wrappers that merely invoke
the ss comand line apps internally.

If you find that you need to do something that the ss
command line app don't directly do, that is a lot
harder because the ANT tasks are intrinsticly limited
to the ss command line capabilities.

Good Luck.

Ninju Bohra
--- "Velagapudi, Murali"
<[EMAIL PROTECTED]> wrote:

> Hi,
> 
> ss Label $/root/java2/file1.java "-vl label1" "-l
> label2" -I-Y
> 
>   By Executing the above command it renames the
> label1 to label2 for the file file1.java
> is there any way to do this from ANT,
> 
>  Finally I wanted to re-label all the files in the
> project under root which have "label1" 
> but if i give the command 
> ss Label $/root/java2/*.* "-vl label1" "-l label2"
> -I-Y  
> This command only re-labels the files under java2
> directory and 
> if there any files in the sub-directory it is not
> changing the
> label for those files ,is there any way i can do
> this using ANT,VSS task
> 
> i had tried like this
> 
> vsslabel =Project.createTask("vsslabel");
> vsslabel.setLogin("logindetails");
> vsslabel.setVsspath("$/root/java2/file1.java");
> vsslabel.setAutoresponse("Y");
> vsslabel.setLabel("label2");
> vsslabel.perform();
> 
> but in there are no methods to specify the old
> label.
> there is a method vsslabel.setVersion(); how can i
> get the version number of the "label1"?
> 
> thanks,
> Murali
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250

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

Reply via email to