home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / cvs110.zip / cvs / jCVS-4.7.2 / diffs next >
Text File  |  1998-08-04  |  8KB  |  298 lines

  1. Index: application/Properties.txt
  2. ===================================================================
  3. RCS file: E:/cvsroot/jcvs/application/Properties.txt,v
  4. retrieving revision 1.1.1.4
  5. retrieving revision 1.4
  6. diff -c -r1.1.1.4 -r1.4
  7. *** application/Properties.txt    1998/08/04 13:32:55    1.1.1.4
  8. --- application/Properties.txt    1998/08/05 02:30:03    1.4
  9. ***************
  10. *** 29,35 ****
  11.   # jCVS.rshCommand.default=/usr/ucb/rsh
  12.   jCVS.rshCommand.default.Solaris=/usr/ucb/rsh
  13.   
  14.   # ------------------------------------------------------------------
  15.   # The remaining properties can generally be left as they are...
  16.   # ------------------------------------------------------------------
  17. --- 29,34 ----
  18. ***************
  19. *** 53,59 ****
  20.   
  21.   # The temporary directory. This is ONLY consulted
  22.   # if there is no 'TEMP' or 'TMP' property defined.
  23. ! jCVS.global.temporaryDirectory=C:/windows/temp
  24.   jCVS.global.temporaryDirectory.Solaris=/tmp
  25.   jCVS.global.temporaryDirectory.Windows_NT=E:/temp
  26.   
  27. --- 52,58 ----
  28.   
  29.   # The temporary directory. This is ONLY consulted
  30.   # if there is no 'TEMP' or 'TMP' property defined.
  31. ! #jCVS.global.temporaryDirectory=C:/windows/temp
  32.   jCVS.global.temporaryDirectory.Solaris=/tmp
  33.   jCVS.global.temporaryDirectory.Windows_NT=E:/temp
  34.   
  35. ***************
  36. *** 514,520 ****
  37.   jCVS.openFile.method.gif=SH
  38.   jCVS.openFile.method.doc=SH
  39.   
  40. ! jCVS.openFile.args=SHX
  41.   
  42.   # 
  43.   # The following PATH properties will be searched for
  44. --- 513,519 ----
  45.   jCVS.openFile.method.gif=SH
  46.   jCVS.openFile.method.doc=SH
  47.   
  48. ! #jCVS.openFile.args=SHX
  49.   
  50.   # 
  51.   # The following PATH properties will be searched for
  52. ***************
  53. *** 610,612 ****
  54. --- 609,625 ----
  55.   #
  56.   # jCVS.setVars.all.0=RCSBIN=/usr/local/bin
  57.   #
  58. + #
  59. + # OS/2 specific properties.
  60. + #
  61. + jCVS.rshCommand.default=rsh -b
  62. + jCVS.global.temporaryDirectory=C:/temp
  63. + jCVS.openFile.args=EPM
  64. + jCVS.openFile.SH.EPM.argc=3
  65. + jCVS.openFile.SH.EPM.argv.0=c:\\os2\\apps\\epm.exe
  66. + jCVS.openFile.SH.EPM.argv.1=/m
  67. + jCVS.openFile.SH.EPM.argv.2=*F
  68. Index: source/com/ice/cvsc/CVSClient.java
  69. ===================================================================
  70. RCS file: E:/cvsroot/jcvs/source/com/ice/cvsc/CVSClient.java,v
  71. retrieving revision 1.1.1.4
  72. retrieving revision 1.3
  73. diff -c -r1.1.1.4 -r1.3
  74. *** source/com/ice/cvsc/CVSClient.java    1998/08/04 13:33:02    1.1.1.4
  75. --- source/com/ice/cvsc/CVSClient.java    1998/08/04 13:40:32    1.3
  76. ***************
  77. *** 2804,2826 ****
  78.                           int index =
  79.                               request.getServerCommand().indexOf( ' ' );
  80.   
  81. !                         String[] argv = new String[6];
  82.   
  83. !                         argv[0] = request.getRshProcess();
  84. !                         argv[1] = request.getHostName();
  85. !                         argv[2] = "-l";
  86. !                         argv[3] = request.getUserName();
  87.                           if ( index < 0 )
  88.                               {
  89. !                             argv[4] = request.getServerCommand();
  90. !                             argv[5] = "server";
  91.                               }
  92.                           else
  93.                               {
  94. !                             argv[4] =
  95.                                   request.getServerCommand().substring
  96.                                       ( 0, index );
  97. !                             argv[5] = 
  98.                                   request.getServerCommand().substring
  99.                                       ( index + 1 );
  100.                               }
  101. --- 2804,2834 ----
  102.                           int index =
  103.                               request.getServerCommand().indexOf( ' ' );
  104.   
  105. !                         StringTokenizer tokenizer =
  106. !                             new StringTokenizer( request.getRshProcess() );
  107.   
  108. !                         String[] argv =
  109. !                             new String[tokenizer.countTokens() + 5];
  110. !                         int argc = 0;
  111. !                         while ( tokenizer.hasMoreElements() )
  112. !                             argv[argc++] = (String)tokenizer.nextElement();
  113. !                         argv[argc++] = request.getHostName();
  114. !                         argv[argc++] = "-l";
  115. !                         argv[argc++] = request.getUserName();
  116.                           if ( index < 0 )
  117.                               {
  118. !                             argv[argc++] = request.getServerCommand();
  119. !                             argv[argc++] = "server";
  120.                               }
  121.                           else
  122.                               {
  123. !                             argv[argc++] =
  124.                                   request.getServerCommand().substring
  125.                                       ( 0, index );
  126. !                             argv[argc++] = 
  127.                                   request.getServerCommand().substring
  128.                                       ( index + 1 );
  129.                               }
  130. ***************
  131. *** 2999,3005 ****
  132.                       }
  133.                   if ( this.process != null )
  134.                       {
  135. !                     this.process.destroy();
  136.                       }
  137.                   }
  138.               catch ( IOException ex )
  139. --- 3007,3019 ----
  140.                       }
  141.                   if ( this.process != null )
  142.                       {
  143. !                     try
  144. !                         {
  145. !                         this.process.waitFor();
  146. !                         }
  147. !                     catch ( InterruptedException ex )
  148. !                         {
  149. !                         }
  150.                       }
  151.                   }
  152.               catch ( IOException ex )
  153. Index: source/com/ice/jcvs/CVSApplet.java
  154. ===================================================================
  155. RCS file: E:/cvsroot/jcvs/source/com/ice/jcvs/CVSApplet.java,v
  156. retrieving revision 1.1.1.4
  157. retrieving revision 1.2
  158. diff -c -r1.1.1.4 -r1.2
  159. *** source/com/ice/jcvs/CVSApplet.java    1998/08/04 13:33:04    1.1.1.4
  160. --- source/com/ice/jcvs/CVSApplet.java    1998/08/04 13:47:47    1.2
  161. ***************
  162. *** 602,608 ****
  163.           String fileName =
  164.               CVSApplication.getProperty
  165.                   ( "jCVS.mainWindow.projectList.fileName",
  166. !                     "projects.txt" );
  167.   
  168.           String filePath =
  169.               CVSApplication.getProperty
  170. --- 602,608 ----
  171.           String fileName =
  172.               CVSApplication.getProperty
  173.                   ( "jCVS.mainWindow.projectList.fileName",
  174. !                     "Projects.txt" );
  175.   
  176.           String filePath =
  177.               CVSApplication.getProperty
  178. ***************
  179. *** 735,747 ****
  180.           PrintWriter            writer;
  181.           CVSProjectChoice    choice;
  182.   
  183. !         String listPath =
  184.               CVSApplication.getProperty
  185. !                 ( "jCVS.mainWindow.projectList.pathName",
  186.                       "Projects.txt" );
  187.   
  188. !         File listFile = new File( listPath );
  189.   
  190.           try {
  191.               writer =
  192.                   new PrintWriter(
  193. --- 735,759 ----
  194.           PrintWriter            writer;
  195.           CVSProjectChoice    choice;
  196.   
  197. !         String fileName =
  198.               CVSApplication.getProperty
  199. !                 ( "jCVS.mainWindow.projectList.fileName",
  200.                       "Projects.txt" );
  201.   
  202. !         String filePath =
  203. !             CVSApplication.getProperty
  204. !                 ( "jCVS.mainWindow.projectList.filePath", null );
  205.   
  206. +         if ( filePath == null )
  207. +             {
  208. +             filePath = CVSApplication.getProperty( "user.home", null );
  209. +             }
  210. +         File listFile =
  211. +             ( filePath == null )
  212. +                 ? new File( fileName )
  213. +                 : new File( filePath, fileName );
  214.           try {
  215.               writer =
  216.                   new PrintWriter(
  217. ***************
  218. *** 752,758 ****
  219.               CVSUserDialog.Error
  220.                   ( "CVSApplet.saveChoiceList: "
  221.                       + "Could not open project choices file '"
  222. !                     + listPath + "' to save list.\n   " + ex.getMessage() );
  223.               return;
  224.               }
  225.   
  226. --- 764,771 ----
  227.               CVSUserDialog.Error
  228.                   ( "CVSApplet.saveChoiceList: "
  229.                       + "Could not open project choices file '"
  230. !                     + listFile.getPath() + "' to save list.\n   "
  231. !                     + ex.getMessage() );
  232.               return;
  233.               }
  234.   
  235. ***************
  236. *** 807,813 ****
  237.                   CVSUserDialog.Error(
  238.                       "CVSApplet.saveChoiceList: "
  239.                           + "ERROR writing project choices file '"
  240. !                         + listPath + "' - " + ex.getMessage() );
  241.                   }
  242.               }
  243.   
  244. --- 820,826 ----
  245.                   CVSUserDialog.Error(
  246.                       "CVSApplet.saveChoiceList: "
  247.                           + "ERROR writing project choices file '"
  248. !                         + listFile.getPath() + "' - " + ex.getMessage() );
  249.                   }
  250.               }
  251.   
  252. Index: source/com/ice/jcvs/Properties.txt
  253. ===================================================================
  254. RCS file: E:/cvsroot/jcvs/source/com/ice/jcvs/Properties.txt,v
  255. retrieving revision 1.1.1.2
  256. retrieving revision 1.3
  257. diff -c -r1.1.1.2 -r1.3
  258. *** source/com/ice/jcvs/Properties.txt    1998/08/04 13:33:07    1.1.1.2
  259. --- source/com/ice/jcvs/Properties.txt    1998/08/04 13:40:35    1.3
  260. ***************
  261. *** 29,34 ****
  262. --- 29,38 ----
  263.   # jCVS.rshCommand.default=/usr/ucb/rsh
  264.   jCVS.rshCommand.default.Solaris=/usr/ucb/rsh
  265.   
  266. + #
  267. + # Uncomment the following line if you are using OS/2's rsh.
  268. + #
  269. + # jCVS.rshCommand.default=rsh -b
  270.   
  271.   # ------------------------------------------------------------------
  272.   # The remaining properties can generally be left as they are...
  273. ***************
  274. *** 608,610 ****
  275. --- 612,623 ----
  276.   #
  277.   # jCVS.setVars.all.0=RCSBIN=/usr/local/bin
  278.   #
  279. + #
  280. + # Use these for OS/2's EPM editor.
  281. + #
  282. + #jCVS.openFile.args=EPM
  283. + jCVS.openFile.SH.EPM.argc=3
  284. + jCVS.openFile.SH.EPM.argv.0=c:\\os2\\apps\\epm.exe
  285. + jCVS.openFile.SH.EPM.argv.1=/m
  286. + jCVS.openFile.SH.EPM.argv.2=*F
  287.