Maximo

Maximo

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

 View Only
  • 1.  Target "configure-all-apps" does not exist in the project "Anywhere-Apps-Builder-and-Deployer"

    Posted Mon April 13, 2020 07:43 PM
    I am getting a build failed error with subject message after importing the MaximoAnywhere folder into Eclipse for the first time. Looking at the build.xml and anywhere-apps-builder.xml, the two instances of "configure-all-apps" have been commented out. How should I go about this and get a successful build message?

    ------------------------------
    Aki Porter
    ------------------------------



    #Maximo
    #AssetandFacilitiesManagement
    #MaximoAnywhere


  • 2.  RE: Target "configure-all-apps" does not exist in the project "Anywhere-Apps-Builder-and-Deployer"

    Posted Tue April 14, 2020 07:12 AM
    Hello Aki,

    The configure-all-apps has been commented out as part of the removal of the requirement of MobileFirst Platform. It is no longer needed. What error are you seeing when the build fails?

    ------------------------------
    Jason Caerels
    QA Lead
    IBM
    London ON
    5199317330
    ------------------------------



  • 3.  RE: Target "configure-all-apps" does not exist in the project "Anywhere-Apps-Builder-and-Deployer"

    Posted Tue April 14, 2020 07:37 AM
    Based on what you're saying, I assume you're on Anywhere 7.6.4 as that's when IBM commented it out. In 7.6.4 of Anywhere, the MobileFirst component was removed, so steps like that were removed from the ant tasks as they're no longer needed. Are you using just standard Eclipse or something like Anywhere Builder from TRM?

    One potential cause of your build failing is if you're just running the build command without any arguments. If so, I was seeing an error message like this: Target "update-appfeatures-for-appdistribution" does not exist in the project "Application Build Script". Anywhere 7.6.4 has an issue as the default target is to execute a MobileFirst build which doesn't work anymore. APAR IJ23585 (https://www.ibm.com/support/pages/node/6125097) was created to address this issue.

    But in your case, your error is specifically trying to execute the configure-all-apps and I'm not sure why. I would try to do a build outside of Eclipse (build all) and see if that works.

    ------------------------------
    Steven Shull
    Director of Development
    Projetech Inc
    Cincinnati OH
    ------------------------------



  • 4.  RE: Target "configure-all-apps" does not exist in the project "Anywhere-Apps-Builder-and-Deployer"

    Posted Tue April 14, 2020 11:46 AM
    I found the problem. Its from the eclipse-build-trigger.xml. Seems like when I imported the maximoanywhere folder and eclipse did its auto build the error came up. I uncommented the lines with configure-all-apps and error went away.

    Line to comment out if you get a Target 'configure-all-apps' does not exist error


    ------------------------------
    Aki Porter
    ------------------------------



  • 5.  RE: Target "configure-all-apps" does not exist in the project "Anywhere-Apps-Builder-and-Deployer"

    Posted Tue April 14, 2020 11:52 AM
    Aki,

    As Steven Shull notes if you are trying to execute the build either without a target, or if you are trying to execute the specific target "configure-all-apps", then you will see this error.  Also if you just run a build from the Eclipse command "Project | Build All" you will see this error.  This is how I taught you to do the build.  That has now changed form the perspective Steven points out.  However, to a certain extent this error is misleading again fo the reasons that Steve points out.  The purpose to the Eclipse command "Project | Build All" was to work thing the confines of the IDE (see first image). Since we have deprecated the use of MobileFirst Studio, portions of the old paradigm no longer apply, (specifically and importantly the ability to run a "simulator".) You will now have to execute the Application Build Script "all" target either within Eclipse (just double-click on the "all" target, see second image) or as Steven indicates use the command window.




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



  • 6.  RE: Target "configure-all-apps" does not exist in the project "Anywhere-Apps-Builder-and-Deployer"

    Posted Tue April 14, 2020 12:06 PM
    Thanks Bradley and Steve. Good to note that running build without a target is a potential issue. Do you see any issue with the fix I have implemented or can that be considered a solution and maybe be included in the next IFIX?

    On another note, I saw something which had previously concerned me on my environment but not any more. All the apps on Bradley's screen shot have the red error marker just like mine do. I am assuming that these are benign and nothing to dig deeper into right?

    ------------------------------
    Aki Porter
    ------------------------------



  • 7.  RE: Target "configure-all-apps" does not exist in the project "Anywhere-Apps-Builder-and-Deployer"

    Posted Tue April 14, 2020 03:20 PM
    The "little red x's" are an annoyance.  You can get rid of them by installing "Wild Web Developer".  It is an annoyance and not required. http://download.eclipse.org/wildwebdeveloper/snapshots


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