OS2 World.Com Forum
2012.05.24, 11:16:22 *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Problems with SmartSVN  (Read 2160 times)
lpino
Full Member
***
Posts: 109


View Profile
« on: 2007.09.25, 17:28:27 »

I installed SmartSVN and I have a very strange problem. When I try to create a project from existing sources in the list of drives my OS/2 boot drive is not visible. My drive is JFS and I'm using GC Java 141. Any ideas anyone?

Thanks

Leonardo Pino
Logged
rbri
Newbie
*
Posts: 12


View Profile
« Reply #1 on: 2007.09.25, 19:52:09 »

Hi,
i can reproduce the problem here. My boot drive is not visible (is HPFS). All other drives are visible.
The boot drive is visible here with Innoteks 1.4.2 JDK.
BTW there is another problem with SmartSVN and GC JDK. You can't use virtual drives that are mapped via NetDrive. SmartSVN uses some file operations that are GC JDK only allows on local drives. All NetDrive's are remote also if there are mappings of a local drive.
And the good news. I use GC JDK together with SmartSVN for more than a year now. Outside of the NetDrive problem it works fine (and yes i really use it....)

    RBRi

Logged
Blonde Guy
Sr. Member
****
Posts: 264



View Profile WWW
« Reply #2 on: 2007.09.26, 00:52:19 »

I'm using SmartSVN also, and I'd never have thought to browse the boot drive. Thanks to you alert users for pointing this out. SmartSVN is how I manage/build the PMMail/2 project.

Neil
Logged

Expert Consulting for OS/2 and eComStation
lpino
Full Member
***
Posts: 109


View Profile
« Reply #3 on: 2007.09.27, 16:34:21 »

Thanks everyone for their responses. I solved the problem using Innotek JVM. That was weird. I always try to use GC JVM since it's a native port but this time there was no luck.

Leonardo Pino
Logged
rbri
Newbie
*
Posts: 12


View Profile
« Reply #4 on: 2007.10.05, 22:20:13 »

I found some time to have a deeper look at the problem. Marc from SyntEvo provides some parts of there source code so i was able to reproduce the problem with a more simpler sample.

And the result:
The root directory '\' of my boot drive was marked as hidden. Removing the hidden flag (using FM/2 the greatest FileManger ever available for OS/2  Cool makes my c-drive visible.

Maybe someone can tell me, why this was hidden.

     rbri


And if someone likes to play:


package gc_test;

import java.io.File;

public class Main {
   
    public static void main(String[] args) {
        System.out.println(System.getProperty("java.version"));
        System.out.println("GC Test");

        final File[] tmpFiles = File.listRoots();
        for(int i=0; i<tmpFiles.length; i++) {
            System.out.println("- getAbsolutePath - " + tmpFiles.getAbsolutePath());
            System.out.println("- isDirectory     - " + tmpFiles.isDirectory());
            System.out.println("- hidden          - " + tmpFiles.isHidden());
        }
    }
}
Logged
MikeG
Newbie
*
Posts: 47



View Profile WWW
« Reply #5 on: 2007.10.16, 14:33:28 »

You guys can actually get the newest version of smartsvn to work?

The old versions use to work, but the newest version dies when checking out projects. I'm using Innotek Java.

Mike
 
Logged

rbri
Newbie
*
Posts: 12


View Profile
« Reply #6 on: 2007.10.16, 21:26:32 »

You guys can actually get the newest version of smartsvn to work?

The old versions use to work, but the newest version dies when checking out projects. I'm using Innotek Java.
Works here so far.
Can you send me (rbri at rbri dot de) some more detailed informations. Which versions?
And please send me your log files (log4j.txt.* in C:\home\default\.smartsvn\3).
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.14 | SMF © 2006-2011, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!