You can import your existing set of custom actions into Qualitia.
Before you start importing
...
You the custom actions into Qualitia, you should have all the source files of your custom action code.
Expand |
---|
title | In case you do not have source files, you can follow this procedure to generate the source files. |
---|
|
You can generate the source code files for the custom actions easily using these commands. - Launch command prompt.
- Navigate to the %localappdata%\QualitiaWDClient\app-7.1.0\Dist
- Enter the following command:
“java -jar jd-cli.jar "<CLASS_FILE_SOURCE_PATH>" -od "<DESTINATION_FOLDER_TO_SAVE_SOURCE_CODE>"
Code Block |
---|
| C:\Users\<HOSTNAME>\AppData\Local\QualitiaWDClient\app-7.1.0\Dist>java -jar jd-cli.jar "D:\ClassFiles" -od "D:\JavaFiles"
21:21:06.078 INFO jd.cli.Main - Decompiling D:\ClassFiles
21:21:06.095 INFO jd.core.output.DirOutput - Directory output will be initialized for path D:\JavaFiles
21:21:06.412 INFO jd.core.output.DirOutput - Finished with 2 class file(s) and 1 resource file(s) |
Post executing this command, source code files will be added at the destination folder. You can use them now to build and compile Eclipse project.
|
Expand |
---|
title | Create an Eclipse project and compile it. |
---|
|
To create and compile custom action project: - Launch Eclipse and create a new project.
- Set the bin folder as an output folder.
- Add new folder and name it as lib.
The complete folder hierarchy will look something like this in the project directory.
- Add all the existing custom action files in this directory.
- Add all the dependency files in the lib folder.
- Add all the compiled class files in the bin folder.
- Add all the java source files in the src folder.
- Compile and build the Eclipse project.
Actions are now ready to be imported.
|
...