Maximo

Maximo

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

 View Only
  • 1.  Build failed Target "update-appfeatures-for-appdistribution" does not exist in the project "Application Build Script"

    Posted Mon July 27, 2020 08:29 AM
    Hi All,

    When I try to run build cmd, it failed with error "Target "update-appfeatures-for-appdistribution" does not exist in the project "Application Build Script"

    I see APAPR# IJ23585, is there any solution to fix and build and deploy new files in Anywhere 764 ?

    Thanks

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



    #Maximo
    #AssetandFacilitiesManagement
    #MaximoAnywhere


  • 2.  RE: Build failed Target "update-appfeatures-for-appdistribution" does not exist in the project "Application Build Script"

    Posted Tue July 28, 2020 08:02 AM
    There's really two things at play. The first is you're executing the build command without an argument, which causes it to try and prepare for a mobilefirst deployment which fails because this version doesn't have MobileFirst. You need to use:

    build.cmd all

    That was an argument in earlier versions, but was optional so not everyone did it.

    BUT, before you run that, you need to fix your version information since you ran it without this command. Otherwise the app will build and deploy fine, but you won't be able to login (I was the one who reported the issue). The way I fixed this was I changed the appdistribution.properties in the build directory to change the version to 7.6.4, ran the build.cmd with NO ARGUMENT (which will fail with the same error), and then start running the build.cmd all from then on. 

    The reason for changing the appdistribution.properties and running the flawed build.cmd is this goes to each application-descriptor.xml and updates the version information to be the proper version again. Without it the apps will think they're still 7.6.2 and you won't be able to login when you use the apps.


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



  • 3.  RE: Build failed Target "update-appfeatures-for-appdistribution" does not exist in the project "Application Build Script"

    Posted Tue July 28, 2020 08:09 AM
    Hello,

    In IBM Maximo Anywhere 7.6.4.0 the requirement for MobileFirst Platform was removed making this build target obsolete. There are 2 ways that the build can be executed successfully. The first is to specify the build target when running the command, i.e. build all. The second is to open MaximoAnywhere/build.xml and remove or comment out the following line: <antcall target="update-appfeatures-for-appdistribution"/>. This will allow you to run the build command without specifying the target.

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



  • 4.  RE: Build failed Target "update-appfeatures-for-appdistribution" does not exist in the project "Application Build Script"

    Posted Tue July 28, 2020 12:55 PM
    "build all" worked.

    Thanks

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