Re: FileAttributeView for tags and colors?

2014-02-27 Thread Hendrik Schreiber
On Feb 27, 2014, at 23:35, Michael Hall wrote: > On Feb 27, 2014, at 3:51 PM, Hendrik Schreiber wrote: > Again fwiw, > my trz package has support for a lot of different OS X file attributes, > including old 'classic', file colors. I sort of liked the idea of color being > a file attribute myse

Re: FileAttributeView for tags and colors?

2014-02-27 Thread Michael Hall
On Feb 27, 2014, at 3:51 PM, Hendrik Schreiber wrote: > Hey there, > > I was wondering, wouldn't the tags/colors API in OS X 10.9 be a really nice > candidate for a java.nio.file.attribute.FileAttributeView? > Is an appropriate implementation planned? I wasn't able to find an RFE on > https://

FileAttributeView for tags and colors?

2014-02-27 Thread Hendrik Schreiber
Hey there, I was wondering, wouldn't the tags/colors API in OS X 10.9 be a really nice candidate for a java.nio.file.attribute.FileAttributeView? Is an appropriate implementation planned? I wasn't able to find an RFE on https://bugs.openjdk.java.net Cheers, -hendrik

Re: Unable to get Applescript Engine on some computers

2014-02-27 Thread Michael Hall
On Feb 27, 2014, at 8:30 AM, Paul Taylor wrote: >> > FYI I tried this, and it worked ! > Brilliant thanks solved a big problem for me Glad to hear it worked for you. I hope it is for anyone trying out my application. Michael Hall trz nio.2 for OS X http://www195.pair.com/mik3hall/index.html#

Re: Unable to get Applescript Engine on some computers

2014-02-27 Thread Paul Taylor
On 27/02/2014 11:07, Michael Hall wrote: On Feb 27, 2014, at 4:52 AM, Paul Taylor wrote: In my code I have: ScriptEngineManager mgr = new ScriptEngineManager(); ScriptEngine engine = mgr.getEngineByName("AppleScript"); this works fine for me, but for some customers in returns null for engine

Re: Unable to get Applescript Engine on some computers

2014-02-27 Thread Andrew Thompson
From what I understand from working with the service loader framework in general if the relevant config file is present on the classpath, either loose as a file or in any jar it will be used. The file would be META-INF/services/something. Given that jar is in the extensions directory I think

Re: Unable to get Applescript Engine on some computers

2014-02-27 Thread Paul Taylor
On 27/02/2014 13:17, Alan Bateman wrote: On 27/02/2014 13:11, Paul Taylor wrote: : I wanted to replicate the issue before fixing so I renamed /System/Library/Java/Extensions/AppleScriptEngine.jar and libAppleScriptEngine.jniLib but it stills works. I searched the whole hard disk and couldn't

Re: Unable to get Applescript Engine on some computers

2014-02-27 Thread Alan Bateman
On 27/02/2014 13:11, Paul Taylor wrote: : I wanted to replicate the issue before fixing so I renamed /System/Library/Java/Extensions/AppleScriptEngine.jar and libAppleScriptEngine.jniLib but it stills works. I searched the whole hard disk and couldn't find any other copies What do I need to d

Re: Unable to get Applescript Engine on some computers

2014-02-27 Thread Paul Taylor
On 27/02/2014 12:16, Paul Taylor wrote: On 27/02/2014 11:50, Andrew Thompson wrote: On Feb 27, 2014, at 6:10 AM, Alan Bateman wrote: The JDK does include the AppleScriptEngine but is missing the service configuration file that is needed to locate it. There is a bug open for this but it do

Re: Unable to get Applescript Engine on some computers

2014-02-27 Thread Paul Taylor
On 27/02/2014 11:50, Andrew Thompson wrote: On Feb 27, 2014, at 6:10 AM, Alan Bateman wrote: The JDK does include the AppleScriptEngine but is missing the service configuration file that is needed to locate it. There is a bug open for this but it does raise the question as to whether the JD

Re: Unable to get Applescript Engine on some computers

2014-02-27 Thread Andrew Thompson
> On Feb 27, 2014, at 6:10 AM, Alan Bateman wrote: > >> > > The JDK does include the AppleScriptEngine but is missing the service > configuration file that is needed to locate it. There is a bug open for this > but it does raise the question as to whether the JDK really needs to bundle > t

Re: Unable to get Applescript Engine on some computers

2014-02-27 Thread Andrew Thompson
It's probably sufficient to put the necessary configuration anywhere on the classpath? I doubt one actually has to hack resources.jar? > On Feb 27, 2014, at 6:07 AM, Michael Hall wrote: > >> On Feb 27, 2014, at 4:52 AM, Paul Taylor wrote: >> >> In my code I have: >> >> ScriptEngineManager mg

Re: Unable to get Applescript Engine on some computers

2014-02-27 Thread Paul Taylor
On 27/02/2014 11:07, Michael Hall wrote: On Feb 27, 2014, at 4:52 AM, Paul Taylor wrote: In my code I have: ScriptEngineManager mgr = new ScriptEngineManager(); ScriptEngine engine = mgr.getEngineByName("AppleScript"); this works fine for me, but for some customers in returns null for engine

Re: Unable to get Applescript Engine on some computers

2014-02-27 Thread Michael Hall
On Feb 27, 2014, at 4:52 AM, Paul Taylor wrote: > In my code I have: > > ScriptEngineManager mgr = new ScriptEngineManager(); > ScriptEngine engine = mgr.getEngineByName("AppleScript"); > > this works fine for me, but for some customers in returns null for engine. > > We are using Java 1.8.0 2

Re: Unable to get Applescript Engine on some computers

2014-02-27 Thread Alan Bateman
On 27/02/2014 10:52, Paul Taylor wrote: In my code I have: ScriptEngineManager mgr = new ScriptEngineManager(); ScriptEngine engine = mgr.getEngineByName("AppleScript"); this works fine for me, but for some customers in returns null for engine. We are using Java 1.8.0 25.0-b69 64bit (build 1

Unable to get Applescript Engine on some computers

2014-02-27 Thread Paul Taylor
In my code I have: ScriptEngineManager mgr = new ScriptEngineManager(); ScriptEngine engine = mgr.getEngineByName("AppleScript"); this works fine for me, but for some customers in returns null for engine. We are using Java 1.8.0 25.0-b69 64bit (build 129) Customer was on Mac OS X 10.9.2 x86_64