You need to generate the required files into the site project directory to deploy an application.
When you generate an Action Set, a separate directory is created for each Action Set as shown next:
<site directory>/Action Sets/<action set name>.html
This Action Set directory includes the following:
The Action directory includes the following files that are generated for each operation contained in the Action:
After generating the Action Sets, you can include the generated files in the Web View application WAR file using Build Tool.
Note: For more information about including generated files in the WAR file, see the Build Tool User Guide or the Build Tool Help.
Follow these steps:
All the required XML and XSL files are generated into the site project directory.
The generated XSL files are executed and the result is displayed in the browser.
Follow these steps:
Note: For information about assembling an application using Build Tool, see the Build Tool User Guide.
PATH=<JDKDIR>\bin;%PATH%
Defines the root folder of a J2SE JDK installation.
cd <DreamWeaverSiteProjectFolder>
jar -cvf ..\<DreamWeaverSiteProject>.war
Defines the folder name where the site project is available.
Defines the name of the .war file to be created.
cd <NewJarFileFolder>
jar -xvf <PathToCAGenModel>\Java\deploy.j2ee\<CAGenModel>.ear
Defines the path where the new jar file is to be created.
Define the path where the CA Gen model is available.
Defines the name of the CA Gen model.
copy <PATHtoTheWarFile>\ <DreamWeaverSiteProject>.war
Defines the path where the new .war file is to be created.
<module>
<web> <web-uri> <DreamWeaverSiteProject>.war</web-uri> <context-root> <DreamWeaverSiteProject> </context-root> </web>
</module>
If the <module> tag already exists in the application.xml file, merge this code fragment.
jar -cvf ..\<NewGenModel>.ear
Defines the name of the new CA Gen model.
The application is deployed to the Application Server.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|