JSP ページのプリコンパイル
You might not need to make changes to JSP files. For example, Jira supports configuring an announcement banner and configuring the look and feel of your Jira applications.
はじめる前に
Become familiar with building Jira from source.
手順
- Make any desired changes to JSP files in
jira-components/jira-webapps/src/main/webapp
. - Build Jira from source by following the guide on Atlassian Developer.
- Copy the resulting
.jsp
and.class
files from the compiled output into the Jira installation directory. Ensure the
web.xml
file has a<servlet-mapping>
entry and a<servlet>
entry for each modified file. For example:<servlet-mapping> <servlet-name>jsp.secure.default_jsp</servlet-name> <url-pattern>/secure/default.jsp</url-pattern> </servlet-mapping> <servlet> <servlet-name>jsp.secure.default_jsp</servlet-name> <servlet-class>jsp.secure.default_jsp</servlet-class> </servlet>
- Jira を再起動します。
最終更新日 2024 年 6 月 25 日
Powered by Confluence and Scroll Viewport.