creation of file at checkout
Saurabh <[email protected]> Mon, 14 Jan 2008 03:25:51 +0000 (UTC)
| Newsgroups | gmane.comp.java.netbeans.modules.javacvs.devel |
|---|---|
| Message-ID | <[email protected]> |
I am Saurabh and have been trying to develop an application using javacvs.i have been facing trying to modify javacvs to my needs. When we checkout a file using Javacvs, it creates a temp file or creates the file itself at an identical heirarchy as cvs at local home depending on the parameter pipeToOutput. I have been trying to stop the creation of any kind of file using the package. For this, i've modified the class org.netbeans.lib.cvsclient.file.DefaultFileHandler.class's writeAndPostProcessTextFile(String path, String mode, LoggedDataInputStream dis,int length, WriteTextFilePreprocessor processor) method. Modified its implementation to not create a file and produce a StringBuffer or StringArray. Can u please confirm the approach and suggest the handling of created buffer. I have been facing troubles testing it thoroughly due to fragile nature of jar and have not been able to stabilise it.