Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-21-2008, 03:51 PM
Member
 
Join Date: Jan 2008
Posts: 4
sireesha264 is on a distinguished road
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..
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-21-2008, 05:50 PM
Norm's Avatar
Senior Member
 
Join Date: Jun 2008
Location: Gone to Costa Rica
Posts: 2,223
Norm is on a distinguished road
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.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 07-21-2008, 06:08 PM
Niveditha's Avatar
Senior Member
 
Join Date: May 2008
Posts: 299
Niveditha is on a distinguished road
Send a message via Skype™ to Niveditha
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
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 07-21-2008, 06:48 PM
Member
 
Join Date: Jul 2008
Posts: 32
Engineeringserver.com is on a distinguished road
What about calling the application directly like application.exe -Myfile.java etc using getRuntime()
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

<--
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Java developer
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 07-23-2008, 02:06 PM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,412
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
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()
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
code to upload a file in java radhika123 New To Java 6 07-11-2008 09:04 AM
How to display a file system in a JTree view Java Tip javax.swing 0 06-27-2008 09:43 PM
I have c++ code for LUDO Game, Can anyone change it to Java file - Please help me Bhanu Sagar AWT / Swing 0 03-12-2008 08:39 PM
To turn a view jsp to a pdf file Daniel JavaServer Pages (JSP) and JSTL 1 07-05-2007 08:23 PM


All times are GMT +3. The time now is 04:50 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org