Novell Cool Solutions

IDM Designer on your Macintosh



By:

February 18, 2010 11:06 am

Reads:8,147

Comments:4

Score:5

Print/PDF

I had seen this mentioned, and there is even a documented procedure that is related (Integrate Designer 3.0 Into Existing Eclipse Installation) and another article mentioning it feasibility/inabilities (Importing a Driver Export File Without Password Prompts). When I got my new iMac (27″ core i7) last month, I wasn’t satisfied with the performance of my current solution (‘ssh -X’ing Designer from a lab machine). So I tried installing Designer on my Mac a few times. There are only a few noted steps, and never got it to work (btw… I think the steps are outdated and incomplete). I am sure any one that is a little familiar with Eclipse is laughing at me right now.

Click to view.

Figure 1 – Eclipse with Designer for Identity Manager perspective

But for anyone, like me, whose only previous interaction with Eclipse is through a pre-packaged product like Designer (or Analyzer), these steps are very easy.

What you’ll need:

  1. The latest download of Designer for Identity Manager (for Linux) found here:
    https://www.novell.com/coolsolutions/dirxml/designer/
    I used:

    • Ver 3.5 dated Sept.30, 2009 – designer_linux_20090930.tar.gz
  2. The latest release of ‘Eclipse IDE for Java EE Developers’, (for Mac) found here:
    http://www.eclipse.org/downloads/
    I was successful with both:

    • (64-Bit) eclipse-jee-galileo-SR1-macosx-cocoa-x86_64.tar.gz
    • (32-Bit) eclipse-jee-galileo-SR1-macosx-cocoa.tar.gz (32-Bit)

The process:

  1. Extract you Eclipse download to wherever you want.
    I put it in my home directory, so it looked like:

    • /Users/Ryan/eclipse/Eclipse.app
  2. Extract the Designer download. It will create a ‘designer_install’ directory.
  3. Inside the designer_install directory, find and extract the ‘designer-linux.gtk.x86.gz’ file, this will create the directories ‘features’ and ‘plugins’.
  4. Cut and paste the contents of the directories ‘features/’ and ‘plugins/’ to the corresponding eclipse directories:
    • …/designer_install/features/ ? …/eclipse/features/
    • …/designer_install/plugins/ ? …/eclipse/plugins/

    Important: When copying the plugins , you’ll be prompted to “Replace” or “Don’t Replace” some duplicate files. Choose “Replace” (to be clear: the plugins copied from the ‘designer_install’ are authoritative) . I was prompted 6 files.

  5. Next copy-n-paste the following three .jar files:
    • jaxb-api.jar
    • xalan.jar
    • xerces.jar

    copy from: …/eclipse/plugins/com.novell.core.jars_3.5.0.200909160331/lib/endorsedFiles/
    copy to: /System/Library/Frameworks/JavaVM.Framework/Versions/1.6.0/Home/lib/endorsed/

  6. Find the Eclipse.app in the …/eclipse directory, right click, and select “Show Package Contents”

    Click to view.

    Figure 3 – Show Eclipse package contents

  7. In the new ‘Finder’ window, browser go to “Contents” ? MacOs ? open ‘eclipse.ini’ with TextEdit and modify the following memory information.
    • -Xms512m
    • -Xmx1024m

    Click to view.

    Figure 4 – Modify eclipse.ini file

  8. Again, find ‘Eclipse.app’ in the …/eclipse directory, right click, and select ‘Make Alias’.
  9. Then you can copy ‘Eclipse.app alias’ to the ‘Applications’ directory and rename it (removing the “alias” part). Then you can also copy it to your Dock, if you want.
  10. Then launch Eclipse.app, it will prompt you for your “workspace”, and then you will probably be able to see it loading the Designer plugins (along with a bunch of others).
  11. When Eclipse is up, it will show a vaguely similar welcome screen, you can close that.
  12. Select ‘Window’ from the menu bar ? ‘Perspective’ ? ‘Other…’ ? and then you can select ‘Designer’ from the list it will display in a popup window.

    Click to view.

    Figure 5 – Select Designer perspective

Side notes:

  1. Obviously its not supported.

  2. If you don’t follow (or forget) step 5, you get a warning message telling you what to do.
  3. here is the completely illegal icon I use. (right click on your current icon –> select get info –> in the top left is the current icon –> left click on it (it will highlight) –> then right click on you desired icon and select copy (a .jpg or png file… or anything I think) –> then on the “info” page (with the original icon highlighted) press [command]+[v] (paste) and it will change the icon. It is a lot less complicated than I just made it sound.. promise

  4. Now “Live” features will not work… due to no jclient for Macs
      importing

    • deploying
    • compare
    • tree/object browsing
    • you can manually import and export projects, and design, development, and troubleshooting tasks.
  5. Set up SVN repository so that you can sync your project with another workstation that you can deploy from.
  6. I have also started using a LDAP browser feature plugin that works pretty well, it would be nice if there was integration to Designer through LDAP, bypassing the jclient issue.
  7. I got some errors on the start up page with the 64-bit Eclipse, not with the 32-bit though. It seemed cosmetic and not associated with the Designer “features/plugins”.
  8. If you don’t follow (or forget) step 5, you get a warning message telling you what to do.

3 votes, average: 5.00 out of 53 votes, average: 5.00 out of 53 votes, average: 5.00 out of 53 votes, average: 5.00 out of 53 votes, average: 5.00 out of 5 (3 votes, average: 5.00 out of 5)
You need to be a registered member to rate this post.
Loading...Loading...

Tags:
Categories: Uncategorized

4

Disclaimer: This content is not supported by Novell. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.

4 Comments

  1. By:gbianchi77

    Great coolsolution!

    Come on Novell, give us a working Designer for macos! What’s it gonna take to recompile jclient???

  2. By:ukrause

    Thanks, this is really helpful. I tried it many times but I guess I simply missed a step. Now we are waiting for jclient….

  3. By:alancota

    Thank you for this excelente coolsolution! It is really very very helpfull.

    But I have some questions about this. What can I, excactly, do with Eclipse+ IDM perspective in MAC OS? Can I deploy, compare, browse eDirectory and do something others functions?

    Thank you again.

    My best regards,
    Alan Cota.

  4. By:ryjohnson

    The short answer to your questions is: it can do none of what you listed. The way Designer usually interacts with eDirectory is through the “jclient”, which is proprietary code. Novell has not ever compiled this for OSX.

    There are some things to help with these shortcomings. You can set up SVN server and import /export your projects. Using version control is a good idea, even if you aren’t on a Mac. More info in the Designer documentation: https://www.novell.com/documentation/designer35/admin_guide/data/versioncontrol.html. Import your project, make your changes, export your “new version”, you can even compare previous versions. Then when you are ready to deploy, you can go to a Linux or Windows machine to compare/deploy. Its a little Rube Goldburg’ish, but then again, most environments I have worked with, the development and deployment of drivers/changes are done by different people or groups.

    There is an open Enhancement Request that you can follow/comment on here:
    https://bugzilla.novell.com/show_bug.cgi?id=468511

    Also for browsing eDirectory you can install some plugins, I have used Apache LDAP plugins that I like. They’re easy to install:
    -While eclipse is running go to “Help” drop down menu and select “install new software”
    -An installation window will pop up with available installation repo’s
    -Click on the “Add” button
    -Name the repo and enter the following URL:
    http://directory.apache.org/studio/update/1.x/
    -Select the LDAP Browser plugin (and others if you want.. but, I got dep errors with RPC and Studio)
    -Then just follow the prompts

Comment

RSS