The following has beed developped and tested under:
For information about installation and configuration of the environment, please refer to Petter Graff's Blog
To execute the precompilation step, type the following command:
java -jar pai.jar path ressourcesPath matchingEngineURL baseProtocol thePackage
where each parameter is:
path
: the path of the application to be analyzed (example: /workspace/myProject/com/mysite/
)ressourcesPath
: the ressources path. PAI compiler creates some WSDL under the ressources path (example: /workspace/myProject/ressources/
)matchingEngineURL
: the address (host and port) of the matching engine (example: http://localhost:8080/MatchingEngine/services/
)baseProtocol
: the protocol representing the base program in our internal format language (example: /workspace/myProject/base.xml/
)thePackage
: all new classes created by the compiler are placed in this package (example: com.mysite
)This step will generate all necessary files for the application to function properly. The next step is to run the Matching Engine. And then deploy and start the application