• Welcome to OS2World OLD-STATIC-BACKUP Forum.
 

News:

This is an old OS2World backup forum for reference only. IT IS READ ONLY!!!

If you need help with OS/2 - eComStation visit http://www.os2world.com/forum

Main Menu

Problems with SmartSVN

Started by lpino, 2007.09.25, 17:28:27

Previous topic - Next topic

lpino

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

rbri

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


Blonde Guy

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
Expert Consulting for OS/2 and eComStation

lpino

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

rbri

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  8) 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());
        }
    }
}

MikeG

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

rbri

Quote from: MikeG 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.
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).