Automic Workload Automation

Expand all | Collapse all

Automic User Interface for Mac

Anon Anon

Anon AnonOct 09, 2013 11:23 AM

Michael A. Lowry

Michael A. LowryNov 12, 2013 10:37 AM

Michael A. Lowry

Michael A. LowryJan 22, 2014 02:42 PM

  • 1.  Automic User Interface for Mac

    Posted Oct 09, 2013 05:05 AM
      |   view attached
    At a previous client, I adapted the UC4 Dialog Client for use on Mac OS X. Although I use UNIX and Windows machines at the office, I’m primarily a Mac user at home, and my personal laptop is a MacBook Air. Given the prominence of Macs and iPads on Automic’s page, it seems the company is also a fan of Apple products. I thought a Mac version of the Automic User Interface might be useful to others, so I am providing here a copy of the application bundle that I created. Before the application bundle can be launched, you must first insert the  the JAR, XML, and help files into two locations inside the application bundle. You can obtain these files from any version of the User Interface. I also included a short ReadMe.txt file to explain where the files should be placed. Note that the XML settings files might contain old connection details specific to my client’s environment. If you decide to distribute this application bundle to others, you should probably go through and remove configuration information that is not required at first launch. Also, I believe that I hard-coded a path to the Firefox app into one of the config files. This affects only opening the help files. There is probably a better way to do this, for example, by running the default web browser specified by the OS. This might require a change to the code though; I’m not sure. Another thing: the icon is also a bit out of date. Perhaps someone from Automic would so kind as to provide a high-resolution (at least 512 x 512 pixel with alpha channel) version of the new Automic User Interface icon.

    Attachment(s)



  • 2.  Automic User Interface for Mac

    Posted Oct 09, 2013 11:23 AM
    This is awesome. Thanks Michael!


  • 3.  Automic User Interface for Mac

    Posted Nov 12, 2013 10:37 AM

    Abigger iconis now available.



  • 4.  Automic User Interface for Mac

    Posted Nov 16, 2013 07:24 AM
      |   view attached

    3c79de3ed248f2cabb655a5a46bdad.pnghttps://us.v-cdn.net/5019921/uploads/FileUpload/16/3c79de3ed248f2cabb655a5a46bdad.png" width="256">I have attached the Mac version of theONE Automation 2013 User Interface. Here is a list of changes:

    • New Automic One Automation 2013 spirograph icon
    • Latest version of JavaApplicationStub (Mac OS X 10.9 Mavericks)
    • Updated CLASSPATH to include RiverLayout.jar
    • Documentation now located in Contents/Resources/Documentation
    • Logs now located in Contents/Resources/Logs

    Limitations:

    • The XML settings files still reside inside the application bundle. It would be preferable to store these files in another location (e.g., the user’s home directory).
    • The help files & logs still reside inside the application bundle. It would be preferable to store these filesoutsidethe application bundle.
    • The path to the web browser used for viewing help files is still hard-coded in the uc4config.xml file. It would be preferable to find a way to instruct the app to use the user’s default web browser.

    If anyone knows how to resolve any of these limitations, please let me know.

    The updated application bundle skeleton is attached. As before, you must still obtain the JAR files, help files, and related settings and properties files from the UNIX version of the User Interface.



  • 5.  Automic User Interface for Mac

    Posted Jan 14, 2014 09:34 AM

    Michael,

    I've followed the directions in the readme file in your bundle, but when I double click the icon to open the user interface I get a popup that the application is damaged and do I want to move it to the trash can.

    I've been able to download and run the UNIX UI from a terminal window (although I do notice that the menu is not visible and the window is still dressed like it is a windows app.) Any thoughts as to what I'm doing wrong?



  • 6.  Automic User Interface for Mac

    Posted Jan 14, 2014 09:44 AM

    I’ll download the package and construct the app again to make sure the copy I attached here actually works. Just out of curiosity, what model of Mac and OS are you using?



  • 7.  Automic User Interface for Mac

    Posted Jan 14, 2014 01:52 PM

    MacBook Pro 15" 2.3 GHz i7

    OS X 10.8.5

    and the menu is visible :-) (forgot that its not with the app in Mac Land!)



  • 8.  Automic User Interface for Mac

    Posted Jan 14, 2014 01:56 PM
    and

    java version "1.7.0_45"
    Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
    Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)

     



  • 9.  Automic User Interface for Mac

    Posted Jan 14, 2014 03:42 PM
    I'd also like to replicate the process for the utilities. How did you create the application shell to start the process? 

    Thank you,
    Chuck

     



  • 10.  Automic User Interface for Mac

    Posted Jan 14, 2014 04:06 PM
    Michael,

    I don't have the Unix jar files, do you know where I can get them?

    Samah

     



  • 11.  Automic User Interface for Mac

    Posted Jan 14, 2014 04:18 PM

    There's an app called JARBundler that used to come with Xcode; it lets you bundle executable JAR files into a double-clickable Mac OS X application.

    I built UCDJ for Mac on an older version of Mac OS X. I see from a quick Google search that JARBundler has been deprecated in newer versions of the OS. It looks like there are alternatives though.

    http://informagen.com/JarBundler/

    I have a newer Mac withMac OS X 10.9 Mavericks; I’ll read up a bit and try to get UCDJ running there.



  • 12.  Automic User Interface for Mac

    Posted Jan 15, 2014 07:36 AM

    I'll do the same and we can pool our results!



  • 13.  Automic User Interface for Mac

    Posted Jan 15, 2014 07:37 AM

    Samah, you can download the UserInterface - Java version from the download site. Once downloaded open the zip file and you'll find the unix folder. The jars are in the bin folder in there.

    Chuck



  • 14.  Automic User Interface for Mac

    Posted Jan 16, 2014 10:53 AM

    Now this is very strange. The original file that I uploaded works fine on my 10.9 Mac. However, if I download it from this discussion forum and run it again, then it does not work. I do not know what is different. Perhaps it has to do with the quarantine for downloaded apps.



  • 15.  Automic User Interface for Mac

    Posted Jan 16, 2014 11:09 AM

    It is a separate problem that JARBunder and JavaApplicationStub have been deprecated. This should not currently prevent the app from running. However, apps based on this approach may stop working with a future Mac OS X or Java update.

    A post on theApple Java Developmentmailing list states that Apple’s JavaApplicationStub program will always start the Apple version of Java, and cannot run newer JREs released by Oracle.

    For the next UCDJ update, I will try to build the bundle using Oracle’sJava Application Bundler.




  • 16.  Automic User Interface for Mac

    Posted Jan 16, 2014 11:09 AM

    Yup, that was it. You can confirm that the downloaded app has a quarantine attribute set by changing to the directory where you have the app and running this command:

    xattr -l One\ Automation\ 2013\ User\ Interface.app

    You canremove the quarantine attributeusing this command:

    xattr -d com.apple.quarantine One\ Automation\ 2013\ User\ Interface.app
    Then it should work. I’ll update the instructions.


  • 17.  Automic User Interface for Mac

    Posted Jan 21, 2014 08:49 AM
    that did the trick! Yay!! Thank you Michael!

     



  • 18.  Automic User Interface for Mac

    Posted Jan 21, 2014 09:07 AM

    Now that the UI is working, time to make a copy and alter to see if I can get the DB Load and DB Unload utilities working (tomorrow!)



  • 19.  Automic User Interface for Mac

    Posted Jan 21, 2014 01:37 PM
    Michael/Chuck,

    After your fixes, is the latest bundle attached to the previous post?

     



  • 20.  Automic User Interface for Mac

    Posted Jan 22, 2014 04:52 AM
    The file attached to Comment 955 is still the most recent. You must still obtain the JARs from the UNIX version of the User Interface, and put them in place inside the app bundle. The ReadMe.txt file describes how to do this. You will also need to run the xattr -d command on the app, as described in Comment 1139.

     




  • 21.  Automic User Interface for Mac

    Posted Jan 22, 2014 02:17 PM

    Thanks. Will the PC version of the jars work? Or is it better to get the UNIX version?



  • 22.  Automic User Interface for Mac

    Posted Jan 22, 2014 02:42 PM

    They are probably identical.



  • 23.  Automic User Interface for Mac

    Posted Feb 25, 2014 07:03 PM
    Hi Michael - I went on vacation, and I've finally had a chance to play with this. I used the Unix version, and put it inside the wrapper, following all your directions. And it went through just fine. Using OSX Mavericks 10.9.2.

    I have a question about saving the last login information. The old wrapper that I was using, saved my username and last connection client information when I exited the program. Is there a way to have this wrapper do the same? Am I missing some setting?

    Thanks,
    Samah

     



  • 24.  Automic User Interface for Mac

    Posted Feb 26, 2014 08:42 AM

    Great utility for Mac users !!! Many Thanks Michael



  • 25.  Automic User Interface for Mac

    Posted Feb 26, 2014 08:47 AM
    I have a question about saving the last login information. The old wrapper that I was using, saved my username and last connection client information when I exited the program. Is there a way to have this wrapper do the same? Am I missing some setting?

     

     I don’t know why it would not be able to save/load the previous login details. My understanding is that the GUI stores these details in the login_dat.xml file. For the Mac package, I believe this file is inside the bundle somewhere — probably in the same directory as the JARs. I suggest that you take a look at that file and see what is there.




  • 26.  Automic User Interface for Mac

    Posted Feb 26, 2014 06:08 PM

    Thank you. I looked at the file, and on my previous UI it was 777, on this UI it was 774. So I changed it.



  • 27.  Automic User Interface for Mac

    Posted Jul 12, 2016 04:47 AM
    Starting with Automation Engine v11.2.2, the Java User Interface no longer works with Java 1.6. When I try to run the UI on my old Mac Pro (where Apple Java 1.6 is still the standard JRE used by the OS), I get the following exception:
    Unsupported major.minor version 51.0
    It runs fine when started from the command line in jre1.8.0_91.

    I have not yet had time to repackage the User Interface into a double-clickable Mac application that uses a modern JRE. It seems like there are at least few currently-supported ways to do this, including AppBundler from Oracle. Has anyone already done this? If so, would you please share the app skeleton?


  • 28.  Automic User Interface for Mac

    Posted Jul 12, 2016 01:15 PM
      |   view attached
    Hi Michael,

    I rebuilt the UI for Mac using Platypus. Here is a tar that I provide for my users to just untar and put into their /Applications folder.

    Attachment(s)

    gz
    AutomicV11_MAC.tar.gz   55.00 MB 1 version


  • 29.  Automic User Interface for Mac

    Posted Jul 12, 2016 01:16 PM
    Although, I've noticed that you may need the Java JDK, if when you click on the program and nothing happens.
    http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

    I'm not sure why the jdk is required.


  • 30.  Automic User Interface for Mac

    Posted Feb 15, 2017 04:41 PM
    I was able to install, and after some tweaking I was able to get this working, with F1 Help and everything.
    I just have one question:
    WILL YOU MARRY ME?  If not, at least let me buy you a beer.