You can
add only one portlet to the BI Portlets Web application each time
you run PDT. However, you can add additional portlets by running the
PDT again for each additional portlet.
The
work-dir parameter in build.properties specifies
the working directory where the PDT places the modified files for
the BI Portlets Web application. If the working directory is empty,
then PDT adds the new portlet to a copy of the original BI Portlets
EAR file. If the working directory contains BI Portlets files from
a previous execution of PDT, then the PDT adds the new portlet to
the files that are in the working directory.
For example,
to add two portlets:
-
Stop the
Web application server on which the SAS Information Delivery Portal
and the BI Portlets Web application are running.
-
Specify
the parameters for the first portlet in build.properties. Specify
an empty directory for the
work-dir parameter.
-
Run the
PDT. The portlet is added to a copy of the original BI Portlets Web
application. The modified copy is placed in the working directory
that you specified.
-
Modify
build.properties again to specify the properties for the second portlet.
Specify the same working directory that you did in step 1.
-
Run the
PDT again. The second portlet is added to the modified BI Portlets
Web application in the working directory. The BI Portlets Web application
in the working directory now contains both new portlets.
-
Redeploy
the BI Portlets Web application by using the sas.biportlets.ear file
in the
/staging
subdirectory of the working directory. For instructions
about redeploying Web applications, see "Redeploying Web Applications"
in the "Middle-Tier Administration" chapter of the
SAS
Intelligence Platform: Web Application Administration Guide.
-
Restart
the Web application server on which the SAS Information Delivery Portal
is deployed.