SAS-config-directory\Lev1\CustomAppData\testportlet
directory. The scripting
facility should be used for portlet development because it provides
a process that integrates your custom portlets with the SAS versioned
JAR repository.
cfg createJSR168PortletDirectories
-Dmetadata.connection.passwd="unrestricted-user-password"
where unrestricted-user-password is the password for the unrestricted user.
SAS-config-directory/Levn/CustomAppData/SampleHelloUserJSR168Portlet
to ensure that the script completed successfully.
source-directory Configurable ears archive-name META-INF wars archive-name WEB-INF Picklists wars archive-name Static ears archive-name META-INF lib wars archive-name jsp source WEB-INF classes spring-config
\Configurable
and \Static
directory hierarchies
are used to store the files needed to create PAR, EAR, and WAR files
for the portlet, in the same directory structure as the PAR, EAR,
and WAR files themselves. The \Configurable
hierarchy is used for files in which values are substituted from
the portlet configuration file when the portlet is built. The \Static
hierarchy is used for files that do not require
substitution. The \Picklists
directory
hierarchy is used to store picklist files that specify which of the
JAR files from the SAS versioned JAR repository need to be included
in the portlet. The \Static\lib
directory
is used to store additional JAR files needed at compile time.
cfg compileJSR168Portlet -Dmetadata.connection.passwd="unrestricted-user-password"
where unrestricted-user-password is the password for
the unrestricted user.
cfg buildJSR168Webapps -Dmetadata.connection.passwd="unrestricted-user-password"
where unrestricted-user-password is the password for
the unrestricted user.