[java-dev] Re: SOLUTION! Long Filename Support in Max with Java
Léopold Frey
leopold.frey at free.fr
Tue Oct 9 06:00:23 MDT 2007
- Previous message: [java-dev] Re: adding a path to the classpath
- Next message: [java-dev] Re: Eclipse is mean
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi rick,
sorry for the long delay but I've been working on so many different things lately that I had no time to dig into this problem.
Are you saying you have multiple partitions on the same drive?
I do not have a machine that has that case to test it.
I have multiple drives and I know that works.
Which OSX version are you using?
I've made a series of tests
on my powerbook (G4 PPC Mac Os 10.4.10) the problem appears in MaxMSP 4.5.7 and MaxMSP 4.6.3 with different partitions on the same drive, network mounted drives or external drives.
on my iMac (Intel core 2 duo Mac Os 10.4.10 MaxMSP 4.6.3) everything is fine no matter the hard drive the file is on.
So it seems to be more a Intel/PPC specific problem.
Anyway, I've found a workaround :
[code]
public void convert(String s1)
{
//Need to make sure this string does not need to be converted
if(s1.matches(".*#[0-9]+\\..*") && s1.matches(".*:.*"))
{
outlet(0,Atom.newAtom(s1));
}
else
{
// replace strange characters
s2 = s2.replace(""+((char)14848),":/");
s2 = s2.replace(""+((char)12032),"/");
outlet(0,Atom.newAtom(s2));
}
}
[/code]
Thanks
Leo
- Previous message: [java-dev] Re: adding a path to the classpath
- Next message: [java-dev] Re: Eclipse is mean
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
