No oxygen icon in OS X dock after JWS install

Having trouble installing Oxygen? Got a bug to report? Post it all here.
thu
Posts: 12
Joined: Wed Jan 11, 2012 7:46 pm

No oxygen icon in OS X dock after JWS install

Post by thu »

I am on OS X Lion (10.7.3). When running the JWS installer the oxygen icon appears in the dock.

After going through the JWS install, once the Oxygen Editor/Author launches, the icon in the dock transforms to the generic java icon.

Likewise on subsequent startup of the Editor/Author, when JWS first starts up, I see the Oxygen icon in the dock. Once the Oxygen Editor/Author actually launches however, the icon becomes that of the generic java icon (cup on a saucer with a black pen).

Also if I press the key combination (command+tab), the generic icon shows and not the Oxygen/Author icon.

Furthermore, reading on the site:

https://developer.apple.com/library/mac ... yment.html

Which talks about the benefits of creating a Mac OS X Application Bundle

"If you add an appropriate icon, it shows the application icon in the Dock, clearly identifying your application. (Otherwise, a default Java coffee cup icon appears in the Dock.)"

I notice that the icons work properly in Linux and Windows machines.

Is this working as design? If so, should I make an enhancement request? Or is there a work around for this issue?


---Thu
thu
Posts: 12
Joined: Wed Jan 11, 2012 7:46 pm

Re: No oxygen icon in OS X dock after JWS install

Post by thu »

I noticed oxygen.tar.gz from http://www.oxygenxml.com/InstData/Edito ... gen.tar.gz already contains Oxygen.app. However, looking in Oxygen.app/Resources, I only see *.icns files. According to the documentation from Apple:

https://developer.apple.com/library/mac ... yment.html

the Resources folder should contain all the .jar's that run the application. Since I have a custom install of Oxygen (customized oxygen/frameworks folder) what .jar do I need to put in the Oxygen.app/Resources folder?

Thanks ahead of time.


---Thu
thu
Posts: 12
Joined: Wed Jan 11, 2012 7:46 pm

Re: No oxygen icon in OS X dock after JWS install

Post by thu »

One last thing, looking at the folder where oxygen is installed on my OS X machine:
/Users/userName/Library/Application Support/http___docs.rackspace.com_oxygen_oxygenJWS_

there are many different folders and many .jar files in different folders. I tried copying all the files and folders from the above mentioned http__docs.rackspace.com_oxygen_oxygenJWS folder, but that did not work. When I double clicked on Oxygen.app, the Editor does not launch.


---Thu
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: No oxygen icon in OS X dock after JWS install

Post by adrian »

Hello,

To clarify this for other users, the problem in this case was that the Mac icons (Oxygen.icns/Author.icns) were not in the main directory from the All platforms archive(.tar.gz).

When following the procedure from:
http://www.oxygenxml.com/doc/ug-editor/ ... aller.html
before step 6 the corresponding .icns file had to be copied to the main directory.

So, for Oxygen XML Editor the solution was to copy the Oxygen.icns from oxygen/Oxygen.app/Contents/Resources to the Oxygen main directory: oxygen/
Similarly, for Oxygen XML Author the solution was to copy Author.icns from oxygenAuthor/OxygenAuthor.app/Contents/Resources/ to oxygenAuthor/.
After running step 6, the JWS package included the Mac icons.

This workaround is no longer necessary for v13.2 starting with maintenance build 2012030716. The .icns file has been included in the the main directory from the All platforms kit(.tar.gz):
Java Web Start/Mac: When running a JWS deployment on a Mac, the application had a generic Java icon.
The latest build of v13.2 is available on the download page.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply