|
Once the TL1 Agent is deployed, it is ready for packaging. Please follow the steps given in this section to know how to Package a TL1 Agent.
To package a TL1 Agent, the following jars under <Agent Toolkit Home>/jars directory are required.
The compiled class files generated by the TL1 Compiler in the output (bin) directory
AdventNetTL1.jar
AdventNetAgentUtilities.jar
AdventNetAgentRuntimeUtilities.jar
AdventNetLogging.jar
Running the Agent in Any Environment
The Agent packaged and deployed can be run provided the above said jars are available in <Agent Toolkit Home>/jars directory. To run the Agent in any environment, these jars need to be placed under the specified Agent's directory. For this purpose, a Package Agent option is provided using which all the jars are copied to the Agent directory. To enable the same,
Select Build menu from the menu bar of TL1 Compiler UI.
Click the "Package Agent" option
The required jars for running the agent gets copied from <Agent Toolkit Home>/jars directory to the <Agent Toolkit Home>/tl1projects/projectName/agent/bin/jars directory.
A TCS folder will be created under <Agent Toolkit Home>/tl1projects/projectName and copies the TCS file used in the project.
An external files folder under will be created under <Agent Toolkit Home>/tl1projects/projectName and copies any external files used in the project.
|