Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only
Expand all | Collapse all

Setup a tool like Eclipse for use with Anywhere 7.6.4

  • 1.  Setup a tool like Eclipse for use with Anywhere 7.6.4

    Posted Fri May 15, 2020 07:20 AM
    Hi All,

    I am new here and I have been asked to look into Maximo Anywhere 7.6.4

    There is little documentation I found about how to edit the app.xml and how OSLC resources can be changed.
    But I cannot find documentation about how to setup a tool like Eclipse for use with Anywhere 7.6.4. 
    I can't imagine that all modifications have to be done with tools like Notepad ++

    Regards,
    Vincent Wanders

    ------------------------------
    Vincent Wanders
    ------------------------------



    #MaximoAnywhere
    #AssetandFacilitiesManagement
    #Maximo


  • 2.  RE: Setup a tool like Eclipse for use with Anywhere 7.6.4

    Posted Fri May 15, 2020 07:34 AM

    Vincent -

    Hi.   There is information on-line - within this community and the Knowledge Center -  that reviews the process.   The process will vary signficantly however - based on the types of changes you are looking to configure in the app.  Here are some references to get you started -

    1. If you are looking to make changes to  the record sets displayed, this is a great video showing how quickly this can be done

    *Note:  Subscribe to the Anywhere You Tube channel to view more content:  https://bit.ly/3bf5wby

    2. Here is the link to the Anywhere 764 Knowledge Center Customization section
    https://www.ibm.com/support/knowledgecenter/SSPJLC_7.6.4/com.ibm.si.mpl.doc/config_apps/t_ctr_cust_apps.html

    A3. nd here is some information you will find within this community - in the Library section
    https://community.ibm.com/community/user/internetofthings/communities/community-home/librarydocuments?communitykey=46655afa-6904-4ed3-a90f-18fb4481d535&tab=librarydocuments&FileType=Image&DefaultView=folder

    *Quick tip on the Library Section - on the far right - you will see two icons.  If you do not see a display in a folder/hierarchy structure - select the folder icon display - in that format.  The content seems to be easier to consume in that format.


    4.  Additionally, there is an Anywhere Configuration Course on IBM Skills Gateway.  Although it is based on an earlier release - the examples that are provided - may still be applicable to your configuration requirements in 764.
    https://ibm.co/3eraowd

    5. Finally - it is critical - that you have the skill sets to configure Mobile apps.   Configuring mobile apps is very different - and requires a different skill set - than configuring Maximo Classic apps thru App Designer.   These are the skill sets we recommend you have:

     - Deep knowledge of Maximo Asset Management

     - Working knowledge of how to set up and utilize development environment for Mobile applications (Reference tech note)
    - Mobile Development
    - Web Servers
    - Maximo's Database Configuration application

    Thanks and please let us know if we can help with additional details -



    ------------------------------
    Pam Denny
    IBM Maximo Mobile Offering Manager
    ------------------------------



  • 3.  RE: Setup a tool like Eclipse for use with Anywhere 7.6.4

    Posted Tue June 02, 2020 01:48 AM
    Hi Vincent,

    Have you tried installing Vysor and use chrome to debug for Android?
    https://www.youtube.com/watch?v=4eN2_NgADKQ&t=7s
    https://www.ibm.com/support/pages/maximo-anywhere-chrome-debug-android

    After installing an APK file, I could use Vysor as a simulator.  Then use chrome for inspection by clicking "inspect"



    ------------------------------
    May On
    Tech Support
    IBM
    ------------------------------



  • 4.  RE: Setup a tool like Eclipse for use with Anywhere 7.6.4

    Posted Wed June 03, 2020 06:28 PM
    Here's my technote with some steps:

    https://www.ibm.com/support/pages/node/6203456

    ------------------------------
    May On
    Tech Support
    IBM
    ------------------------------



  • 5.  RE: Setup a tool like Eclipse for use with Anywhere 7.6.4

    Posted Thu June 04, 2020 06:45 PM
    May and Pam,
    This is great info. Thank you!
    Do you any similar detail development set-up for iOS?


    ------------------------------
    Dianne Woodley
    ------------------------------



  • 6.  RE: Setup a tool like Eclipse for use with Anywhere 7.6.4

    Posted Wed June 10, 2020 10:05 PM
    For XCode simulator, you can run ./build.sh from MaximoAnywhereAppCntr directory and then open IBMWork.xcodeproj with XCode under  /Users/myuser/IBM/Anywhere764/MaximoAnywhereAppCntr/output/WorkExecution/platforms/ios directory. 
    Then click the Run button to run the simulator

    You can also use Eclipse for Anywhere 7.6.4 but there is no simulator

    ------------------------------
    May On
    Tech Support
    IBM
    ------------------------------



  • 7.  RE: Setup a tool like Eclipse for use with Anywhere 7.6.4

    Posted Fri June 12, 2020 10:17 AM
    Hi All.

    After configured the eclipse anywhere project, in library file was missing i.e anywhere-server.jar file, in installed Maximo anywhere server folder having only one jar file i.e commons-file-upload 1.3.1.jar file, but this .jar was missing.

    And modified any app.xml file when build the project throws an error, 
    C:\Users\Administrator\workspace\MaximoAnywhere\eclipse-build-trigger.xml:21: The following error occurred while executing this line:
    Target "-configure-all-apps" does not exist in the project "Anywhere-Apps-Builder-and-Deployer".

    Thanks in advance.


    ------------------------------
    Raj Kumar
    ------------------------------



  • 8.  RE: Setup a tool like Eclipse for use with Anywhere 7.6.4

    Posted Sun June 14, 2020 07:38 PM
      |   view attached
    Hi Raj,

    Did you try copying anywhere-server.jar file from 7.6.3.1 environment under MaximoAnywhere/server/lib/ to 7.6.4 environment?

    ------------------------------
    May On
    Tech Support
    IBM
    ------------------------------

    Attachment(s)

    jar
    anywhere-server.jar   43 KB 1 version


  • 9.  RE: Setup a tool like Eclipse for use with Anywhere 7.6.4

    Posted Sun June 14, 2020 11:09 PM
    Hi May On,

    Thanks for your suggestion,

    I've copied the anywhere-server.jar file into lib folder, again imported the anywhere project into eclipse, when build time the project it throws the same error.

    C:\Users\Administrator\workspace\MaximoAnywhere\eclipse-build-trigger.xml:21: The following error occurred while executing this line:
    Target "-configure-all-apps" does not exist in the project "Anywhere-Apps-Builder-and-Deployer".


    ------------------------------
    Raj Kumar
    ------------------------------



  • 10.  RE: Setup a tool like Eclipse for use with Anywhere 7.6.4

    Posted Mon June 15, 2020 12:16 AM
    Hi May On,

    Issue resolved, In anywhere-apps-builder.xml file having comment tag then I uncomment that tag (like previous version 7.6.3.1 anywhere-apps-builder).



    ------------------------------
    Raj Kumar
    ------------------------------



  • 11.  RE: Setup a tool like Eclipse for use with Anywhere 7.6.4

    Posted Mon June 15, 2020 01:13 AM
    Thanks for the update!  Glad that it's resolved :)

    ------------------------------
    May On
    Tech Support
    IBM
    ------------------------------



  • 12.  RE: Setup a tool like Eclipse for use with Anywhere 7.6.4

    Posted Mon March 01, 2021 06:22 PM
    Hello Raj

    I am a newbie in Maximo Anywhere 7.6.4. I am having the same error that you had before and missing jar file (but I did not re-import Maximo Anywhere project). Now I am having the following error. Also, what exactly did you comment / uncomment in the anywhere-apps-builder.xml file?

    C:\workspaceMaxAny\MaximoAnywhere\anywhere-apps-builder.xml:1642: The following error occurred while executing this line:
    Target "-update-application-descriptor" does not exist in the project "Anywhere-Apps-Builder-and-Deployer".

    Regards,
    Victor De La Oiva


    ------------------------------
    Victor De La Oliva
    ------------------------------



  • 13.  RE: Setup a tool like Eclipse for use with Anywhere 7.6.4

    Posted Mon March 01, 2021 08:50 PM
    Victor,

    This is a really old issue (https://www.ibm.com/support/pages/apar/IJ28423) It was fixed in IFix 001. (IFix 005 came out in Jan.). I suggest you patch up first then update your project folder with the newest repository distribution from the delivered software.  Before applying patch however check the Software compatibility matrix.  You can find it by clicking on the Knowledge Center System Requirements link.

    Hopefully this will make it much easier.

    ------------------------------
    Bradley K. Downing , MBA
    IBM Certified Adv. Deployment Prof. Maximo v7.6.1
    IBM
    Bakersfield CA
    ------------------------------



  • 14.  RE: Setup a tool like Eclipse for use with Anywhere 7.6.4

    Posted Wed July 22, 2020 06:23 AM
    Hi May,

    Do you have any document/notes on how to setup development environment IDE for MAC devices ?

    Thanks,
    Srini

    ------------------------------
    Srini
    ------------------------------



  • 15.  RE: Setup a tool like Eclipse for use with Anywhere 7.6.4

    Posted Wed July 22, 2020 10:49 PM
    Hi Srini,

    Sorry! I don't have a technote for Mac at the moment.


    ------------------------------
    May On
    Tech Support
    IBM
    ------------------------------



  • 16.  RE: Setup a tool like Eclipse for use with Anywhere 7.6.4

    Posted Wed July 29, 2020 10:24 PM
    Edited by System Admin Tue August 22, 2023 04:41 PM
    Hi Srini,

    I am using MacOS Catalina 10.15.4 
    Go to Safari menu > Preferences > Advanced then check "Show Develop menu in menu bar
    I installed Safari Technology Preview from apple website https://developer.apple.com/safari/technology-preview/
    Opened a website in Safari, Develop menu > Open Page With >Safari Technology Preview
    Safari Technology Preview opens
    Go to Develop menu >  Simulator > index.html 
    Web Inspector opens
    web inspector


    Add breakpoint

    Break Point

     


    ------------------------------
    May On
    Tech Support
    IBM
    ------------------------------



  • 17.  RE: Setup a tool like Eclipse for use with Anywhere 7.6.4

    Posted Thu July 30, 2020 08:02 AM
      |   view attached
    Hi May On,

    Installed Safari Technology Preview and able to open InventoryHandler.js in Safari. Then when I try to open with Safari Technology Preview it gave error "Safari Cant open the page.

    Attached the pic.

    Thanks,


    ------------------------------
    Srini
    ------------------------------



  • 18.  RE: Setup a tool like Eclipse for use with Anywhere 7.6.4

    Posted Thu July 30, 2020 10:55 PM
    If you go to Safari Technology Preview > Develop menu
    Do you see iOS Simulator option?


    ------------------------------
    May On
    Tech Support
    IBM
    ------------------------------



  • 19.  RE: Setup a tool like Eclipse for use with Anywhere 7.6.4

    Posted Wed August 05, 2020 06:28 AM
    No, I dont see Simulator option in Safari Technology Preview > Develop menu

    Thanks


    ------------------------------
    Srini
    ------------------------------



  • 20.  RE: Setup a tool like Eclipse for use with Anywhere 7.6.4

    Posted Wed August 05, 2020 05:51 PM
    Hi Srini,

    I wrote a technote for Mac
    https://www.ibm.com/support/pages/node/6255120


    ------------------------------
    May On
    Tech Support
    IBM
    ------------------------------



  • 21.  RE: Setup a tool like Eclipse for use with Anywhere 7.6.4

    Posted Wed August 05, 2020 10:25 PM
      |   view attached
    Hi May,

    Thanks for the Technote, I dont see index.html in the Simulator link after opening from anywhere\apps\physcialcount\common\index.html. Attached the pic, did I miss any step ?

    Thanks,
    Srini

    ------------------------------
    Srini
    ------------------------------



  • 22.  RE: Setup a tool like Eclipse for use with Anywhere 7.6.4

    Posted Wed August 05, 2020 11:37 PM
    Hi Srini,

    Do you have XCode simulator running with the Anywhere app opened?

    ------------------------------
    May On
    Tech Support
    IBM
    ------------------------------



  • 23.  RE: Setup a tool like Eclipse for use with Anywhere 7.6.4

    Posted Thu August 06, 2020 06:59 AM
    Hi May,

    I have xCode Simulator running and opened index.html page in Safari Tech Preview. Do I need to open App/ipa file to see preview in simulator ?

    Thanks

    ------------------------------
    Srini
    ------------------------------



  • 24.  RE: Setup a tool like Eclipse for use with Anywhere 7.6.4

    Posted Thu August 06, 2020 08:24 AM
    Hi Srini,

    Yes, you need to open the app in XCode simulator.  Then you'll see index.html from Develop >  Simulator in Safari Technology Preview


    ------------------------------
    May On
    Tech Support
    IBM
    ------------------------------



  • 25.  RE: Setup a tool like Eclipse for use with Anywhere 7.6.4

    Posted Tue November 17, 2020 03:58 PM
    Good afternoon - 
    I have been struggling with this for a few days and I am hoping someone can help me along. The information in here and the tech note have gotten much farther but I seem to be missing something, 
    I have Maximo Anywhere 7.6.4 and have everything installed on the MacBook I believe. 
    I can see the MaximoAnywhere project in Eclipse. 
    I can run the ./build.sh all from MaximoAnywhere folder. 
    I can launch Xcode -> Xcode Simulator
    I can Launch Safari Technology Preview (STP)
    My issue seems to be that When I launch Xcode, I do not know what file to open up to get it to the simulator in the drop down menu. I see the Simulator itself in the STP but there is no application or index.html showing up. I guess  I am not opening the proper file in Xcode. Please help with this. 
    Thank you in advance., 
    Lon Stone

    ------------------------------
    Lon Stone
    IBM Maximo Consultant
    The InTechrity Group LLC
    Livonia MI
    2486305375
    ------------------------------



  • 26.  RE: Setup a tool like Eclipse for use with Anywhere 7.6.4

    Posted Wed November 18, 2020 07:24 AM
    Try running file to view in xcode: anywherecntr\output\workexecute\platforms\ios\ibmwork.xcodeprj

    ------------------------------
    Srini
    ------------------------------



  • 27.  RE: Setup a tool like Eclipse for use with Anywhere 7.6.4

    Posted Wed November 18, 2020 11:27 AM
    Thank you for pointing me to the correct file location. I see the project in XCode. I then launch the XCode Simulator and it shows me a generic iPhone. I then Launch the Safari Technology Preview. I see in the Develop Menu drop down Simulator - iPhone 11 Pro but it does not show me the IBMWork project or index.html that I have open in Xcode. Seems like I am still missing something that links them together. 
    All help is much appreciated. 

    Thank you again, 
    Lon Stone

    ------------------------------
    Lon Stone
    IBM Maximo Consultant
    The InTechrity Group LLC
    Livonia MI
    2486305375
    ------------------------------



  • 28.  RE: Setup a tool like Eclipse for use with Anywhere 7.6.4

    Posted Wed November 18, 2020 08:43 PM
    Edited by System Admin Tue August 22, 2023 04:38 PM
    Hi Lon,

    Were you able to see index.html from Safari Technology Preview > Develop menu >  Simulator after logging in to the app from XCode simulator?

    ------------------------------
    May On
    Tech Support
    IBM
    ------------------------------



  • 29.  RE: Setup a tool like Eclipse for use with Anywhere 7.6.4

    Posted Wed November 18, 2020 08:48 PM
    Good evening -
    I am still unable to see the index.html in Safari Technology Preview. I feel I am missing some step.
    Thank in advance for any advice.

    ------------------------------
    Lon Stone
    IBM Maximo Consultant
    The InTechrity Group LLC
    Livonia MI
    2486305375
    ------------------------------



  • 30.  RE: Setup a tool like Eclipse for use with Anywhere 7.6.4

    Posted Wed November 18, 2020 08:58 PM

    I installed Safari Technology Preview and I got a web inspector

     

     

    I'm using iOS 13.5 as my simulator

                

     

     

    Then from Sources tab, select "by Path" on the left pane
    watch window comes up after adding breakpoint

     



     



    ------------------------------
    May On
    Tech Support
    IBM
    ------------------------------



  • 31.  RE: Setup a tool like Eclipse for use with Anywhere 7.6.4

    Posted Thu November 19, 2020 09:21 AM
    Lon,  good to see you on here!  I trust all is well with you.

    I have had some frustrating experiences on iOS/ MacOS with emulator/ as well as directly plugging device into MacBook.  I have had inconsistent response as to visibility of index.html in WebInspector (whether directly through Safari or through Safari Tech Prev.). So you may not be doing anything wrong or missing any step.  You might just be experiencing some technical incompatibility along the way.  I never did solve the issue.  I now use the Android emulator through the Mac version of Android studio to do what I need for development.  That has not failed me.  Best Regards.

    ------------------------------
    Bradley K. Downing , MBA
    IBM Certified Adv. Deployment Prof. Maximo v7.6.1
    IBM
    Bakersfield CA
    ------------------------------



  • 32.  RE: Setup a tool like Eclipse for use with Anywhere 7.6.4

    Posted Thu November 19, 2020 02:26 PM
    Open XCode and go to IBMWork project: 
    Xcode

    Open XCode Simulator:
    XCode Simulator

    Open Safari Technology Preview:
    STP
    As you can see the IBMWork -> index.html did not link to either the XCode Simulator or the Safari Technology Preview. 

    Thoughts?


    ------------------------------
    Lon Stone
    IBM Maximo Consultant
    The InTechrity Group LLC
    Livonia MI
    2486305375
    ------------------------------



  • 33.  RE: Setup a tool like Eclipse for use with Anywhere 7.6.4

    Posted Thu November 19, 2020 10:07 PM
    Hi Lon,

    Can you login to the app via XCode simulator?  
    If you hit the run button from XCode and you get error like "/Applications/IBM/Anywhere/MaximoAnywhereAppCntr/output/WorkExecution/platforms/ios/IBMWork.xcodeproj Building for iOS Simulator, but the linked library 'libCookieManager.a' was built for iOS.", you can select the error message (those ones in red) and delete them
    Hit the run button again.
    Try to login via the simulator
    Then you should be able to see the index.html from Safari Technology Preview




    ------------------------------
    May On
    Tech Support
    IBM
    ------------------------------



  • 34.  RE: Setup a tool like Eclipse for use with Anywhere 7.6.4

    Posted Thu November 19, 2020 02:29 PM
    Bradley - 
    You have me curios about the Android Studio for Mac. Do you have any documentation for setup and use that you can share?
    Always much appreciated. 
    Stay well and safe. 
    Thank you,

    ------------------------------
    Lon Stone
    IBM Maximo Consultant
    The InTechrity Group LLC
    Livonia MI
    2486305375
    ------------------------------