Update related workflow and build files

Follow the detailed steps for updating workflow and build files for this project using your integrated development environment (IDE).

Prerequisites

Complete all the steps for project setup detailed in Set up the Java project.

This task shows you how to update the appropriate build and workflow files.

Procedure

  1. Open the project "A2019DemoPakcage" that you created in Set up the Java project.
    You can find the project file in the directory where you extract the zip files to, for example c:\A2019DemoPackage.
  2. From inside the project, Open the settings.gradle file.
  3. Replace the project name with A2019DemoPackageFirstnameLastname.
    If your name is John Developer it would look like this, A2019DemoPackageJohnDeveloper.
  4. Open src > main > resources > package.template.
  5. Update the name, label, and description values.
    Original package.template Updated package.template
    {
      "name": "A2019DemoPackage",
      "label": "A2019DemoPackage",
      "description": "Provides actions for A2019DemoPackage operations.",
      "group": "",
      "artifactName": "",
      "packageVersion": "",
      "codeVersion": "",
      "commands": []
    }
    {
      "name": "A2019DemoPackageFirstnameLastname",
      "label": "A2019DemoPackageFirstnameLastname",
      "description": "A2019DemoPackageFirstnameLastname",
      "group": "",
      "artifactName": "",
      "packageVersion": "",
      "codeVersion": "",
      "commands": []
    }
  6. Save the changes.

Next steps

After you have setup the build files, you need to compile the demo Java code, Compile a demo JAR file from the command line.