JReport Enterprise Server provides a tool for building a WAR or EAR file. The tool is makewar.bat/makewar.sh, and makewar.xml in <install_root>\bin.
This file can be used to specify the following:
<target name="xxx"...>. You can modify the task names. By default, the main tasks in the makewar.xml are as follows:
<install_root>\bin\distribute\temp.<install_root>\bin\distribute.The batch/script file used to build a JReport Enterprise Server WAR/EAR according to the task specified in makewar.xml.
Usage
makewar.bat/makewar.sh [-Dpredeploy=ReportFolder] [Task Name]
Options
Examples
<install_root>\bin\distribute.
makewar.bat
<install_root>\bin\distribute.
makewar.bat buildWar
<install_root>\bin\distribute.
makewar.bat buildEar
C:\myReport to the WAR file. The generated WAR file jreport.war will be saved in the default directory <install_root>\bin\distribute.
makewar.bat -Dpredeploy=c:\myReport buildWar