Results 1 to 5 of 5
  1. #1
    sireesha264 is offline Member
    Join Date
    Jan 2008
    Posts
    4
    Rep Power
    0

    Default how to view a file from vss through java code

    Hi To ALL,


    I wanted to view a file from vss through java code.


    By using the folowing code,i could able to get vss file in to local folder.

    Runtime.getRuntime().exec
    ("cmd /c ss Get $/Mywork/Myfile.java -GLC:/New");

    But i wanted to view file from vss using java code.

    any one please help me..

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,518
    Rep Power
    25

    Default

    Is this the same question you asked 2 hours ago?
    Why waste threads? Just add a reply to the original.

    Maybe no one knows what vss is.

  3. #3
    Niveditha's Avatar
    Niveditha is offline Senior Member
    Join Date
    May 2008
    Posts
    307
    Rep Power
    7

    Default

    Hello Sireesha,
    I dont think if there is any command or way to view the VSS file through coding.You can try out these two options.
    1. If you are able to get the file in local folder, use fileReader to view it.
    2. Configure your eclipse to connect to your VSS and synchronize them everytime to get the latest version and view it in eclipse editor.

    Hope the tips help you.
    To finish sooner, take your own time....
    Nivedithaaaa

  4. #4
    Join Date
    Jul 2008
    Posts
    33
    Rep Power
    0

    Default

    What about calling the application directly like application.exe -Myfile.java etc using getRuntime()
    :DMy community with sourcode and examples :D
    Java remote image server/client working proof of concept: uitstekendeaccu.nl/tmp/

  5. #5
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    I'm not clear what he asking. If you want to open VSS then following is the solution.

    Quote Originally Posted by Engineeringserver.com View Post
    What about calling the application directly like application.exe -Myfile.java etc using getRuntime()

Similar Threads

  1. Replies: 2
    Last Post: 02-19-2014, 05:36 PM
  2. code to upload a file in java
    By radhika123 in forum New To Java
    Replies: 6
    Last Post: 07-11-2008, 07:04 AM
  3. How to display a file system in a JTree view
    By Java Tip in forum javax.swing
    Replies: 0
    Last Post: 06-27-2008, 07:43 PM
  4. To turn a view jsp to a pdf file
    By Daniel in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 07-05-2007, 06:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •