Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions hbase-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -564,12 +564,26 @@
<exclude name="**/*~"/>
</fileset>
</copy>
<!-- Create a "staging" JSP directory where we copy the common JSP files into master and rs directories.
Compilation is done using this "staging" JSP directory. -->
<mkdir dir="${project.build.directory}/jsp"/>
<copy todir="${project.build.directory}/jsp">
<fileset dir="${src.webapps}">
<include name="**/*.jsp"/>
</fileset>
</copy>
<copy todir="${project.build.directory}/jsp/master">
<fileset dir="${project.build.directory}/jsp/common"/>
</copy>
<copy todir="${project.build.directory}/jsp/regionserver">
<fileset dir="${project.build.directory}/jsp/common"/>
</copy>
<!--The compile.classpath is passed in by maven -->
<taskdef classname="org.apache.jasper.JspC" classpathref="maven.compile.classpath" name="jspcompiler"/>
<mkdir dir="${build.webapps}/master/WEB-INF"/>
<jspcompiler outputdir="${generated.sources}/java" package="org.apache.hadoop.hbase.generated.master" uriroot="${src.webapps}/master" webxml="${build.webapps}/master/WEB-INF/web.xml"/>
<jspcompiler outputdir="${generated.sources}/java" package="org.apache.hadoop.hbase.generated.master" uriroot="${project.build.directory}/jsp/master" webxml="${build.webapps}/master/WEB-INF/web.xml"/>
<mkdir dir="${build.webapps}/regionserver/WEB-INF"/>
<jspcompiler outputdir="${generated.sources}/java" package="org.apache.hadoop.hbase.generated.regionserver" uriroot="${src.webapps}/regionserver" webxml="${build.webapps}/regionserver/WEB-INF/web.xml"/>
<jspcompiler outputdir="${generated.sources}/java" package="org.apache.hadoop.hbase.generated.regionserver" uriroot="${project.build.directory}/jsp/regionserver" webxml="${build.webapps}/regionserver/WEB-INF/web.xml"/>
</target>
</configuration>
</execution>
Expand Down

This file was deleted.

Loading