Compile the demo Java code provided with this
software development kit.
Procedure
-
Open a terminal window and go to where the gradlew.bat
file is located.
-
In the terminal window, type
gradlew.bat clean build
shadowJar, and press Enter. Here is an example of what you
see:
> . . .\A2019DemoPackage>gradlew.bat clean build shadowJar
> Task :compileJava
Note: Starting hierarchy discovery for 'com.automationanywhere.botcommand.demo.Concatenate'
Note: Starting non-hierarchical element discovery for 'com.automationanywhere.botcommand.demo.Concatenate'
Note: Starting hierarchy discovery for 'com.automationanywhere.botcommand.demo.Uppercase'
Note: Starting non-hierarchical element discovery for 'com.automationanywhere.botcommand.demo.Uppercase'
Note: Starting Command Java generator...
Note: Starting Json generator...
Note: Generating command json for Concatenate
Note: Generating command json for Uppercase
> Task :commandCodeGen
mergeJsonFiles: updatePackage: group com.automationanywhere , artifactName A2019DemoPackageFirstnameLastname ,
packageVersion 1.0.0-20190816-101906
The compiled file is located in file:\
\A2019DemoPackage\build\libs\.
What to do next
To add your custom package to your Control Room follow the
instructions in Adding a package to the Control Room.