Maximo

 View Only
  • 1.  build and deployment tasks for 764

    Posted Thu January 13, 2022 08:07 AM
    There are two folders in build server - one is MaximoAnywhere and the other is MaximoAnywhereAppCntr.
    I am not very clear on when to build from each of these folders.
    MaximoAnywhereAppCntr folder is generating the app that goes into the client device. So, I would assume that we will be doing build from this folder every time we have to release the new app for changes.
    MaximoAnywhere is generating artifacts that are getting deployed to Maximo. When should we do the build from this folder.
    We used to have the build numbers in worklight for each build. How do we know from the deployment tab in Maximo about the version information ?

    ------------------------------
    Panda 76
    ------------------------------



    #AssetandFacilitiesManagement
    #MaximoAnywhere
    #Maximo


  • 2.  RE: build and deployment tasks for 764

    IBM Champion
    Posted Fri January 14, 2022 05:47 AM
    As you said there are two folders, so all your development work and the zip file that get deployed to Maximo is located in the MaximoAnywhere folder.

    If you use the App Store or Play Store apps you don't usually need the contents from the other folder.

    The MaximoAnywhereAppCntr is where you build the native apps such as the APK and IPA which can then deploy instead of the App Store or Play Store apps using an MDM or side loading.

    ------------------------------
    ===============================
    Craig Kokay,
    Lead Senior Maximo/IoT Consultant
    ISW
    Sydney, NSW, Australia
    Ph: 0411-682-040
    =================================
    #IBMChampion2021
    ------------------------------



  • 3.  RE: build and deployment tasks for 764

    Posted Fri January 14, 2022 04:09 PM
    We do deploy the app from our own store. But  I am not very clear on when to build which part. Should we build both folders every time we make changes to code ?.
    Also how the versions are maintained ?

    ------------------------------
    Panda 76
    ------------------------------



  • 4.  RE: build and deployment tasks for 764

    IBM Champion
    Posted Fri January 14, 2022 06:52 PM
    When do you build from the folders if you have deployed apps from the MaximoAnywhereAppCntr i.e. the IPA or APK

    Answer: No....and yes

    No = I have made changes to the code using JS scripts, added images, edited the XML

    Yes = I have made changes using Cordova scripts.  There may be other situations, but essentially that's it.

    If you have deployed apps from the MaximoAnywhereAppCntr i.e. the IPA or APK, you do not have to keep rebuilding them and redeploying each time you alter the XML, JS,  add images.

    ------------------------------
    ===============================
    Craig Kokay,
    Lead Senior Maximo/IoT Consultant
    ISW
    Sydney, NSW, Australia
    Ph: 0411-682-040
    =================================
    #IBMChampion2021
    ------------------------------



  • 5.  RE: build and deployment tasks for 764

    Posted Mon January 17, 2022 10:22 AM
    In my view, the most common reason to build the Application Container is to embed and enable the Push Notifications certificate.  Since the technology at the time only allowed you to enable the Push Notifications singly (i.e. PN's for you and you alone and not the thousands of other enterprise users out there,) that meant you had to obtain and import and build the binary container on your own.

    The other more common reasons for building your own binary are to modify, enhance or otherwise take advantage of OS features you do not already have, such as perhaps fingerprint scanning, or enhanced camera usage or some other feature.  All of these are accessed via Cordova plugins, as Craig mentioned.

    ------------------------------
    Bradley K. Downing , MBA
    Solutions Engineer
    IBM
    Bakersfield CA
    ------------------------------



  • 6.  RE: build and deployment tasks for 764

    Posted Tue January 18, 2022 06:32 AM
    Hi Bradley,

    Another scenario where we probably working with MaximoAnywhereAppCntrl is to run the app in debug mode. I could only see the artifacts that can be run in debug mode under  \MaximoAnywhereAppCntr\output\<clonedappname>\platforms\windows 
    Is my understanding correct ?

    ------------------------------
    Panda 76
    ------------------------------



  • 7.  RE: build and deployment tasks for 764

    Posted Wed January 19, 2022 10:58 AM
    Used to be when tool was built on Mobile First Platform Foundations you could just run the app (7.6.3 and below) from Mobile Studio (on Eclipse) and use a Chrome browser.  We lost that in 7.6.4.  But if you use an Android emulator (yes on Mac as well as on Windows,) then you can still do serious debugging and even get device level stuff which in Mobiel First studio you could not.  So do you really need to build the binary to do debugging?  well you can if you want but it adds an extra step.  Makes sense to take that step if you are doing some other stuff as well, so no reason to avoid it.  In my view, it also depends on what you are doing vis-a-vis modifications.  If all you are doing is simply UI changes and additions of attributes then it is extra work that is not warranted.  If you are doing serious customizations (i.e. changing business logic, extending application with new custom object/ object structures, adding OS layer capabilities (see above), then do your initial tests with an emulator, but do more rigorous regression testing on devices in debug mode.

    ------------------------------
    Bradley K. Downing , MBA
    Solutions Engineer
    IBM
    Bakersfield CA
    ------------------------------