Parent Directory | Revision Log | Patch
--- maven/maven-1/plugins/trunk/cruisecontrol/plugin.jelly 2005/02/19 16:31:35 154418 +++ maven/maven-1/plugins/trunk/cruisecontrol/plugin.jelly 2005/02/19 16:32:43 154419 @@ -130,7 +130,12 @@ </j:choose> </goal> - <goal name="cruisecontrol:install-local" prereqs="cruisecontrol:configure"> + <!--==================================================================--> + <!-- Install the generated CruiseControl configuration on the same --> + <!-- machine in the ${maven.cruisecontrol.work.dir} directory. --> + <!--==================================================================--> + <goal name="cruisecontrol:install-local" prereqs="cruisecontrol:configure" + description="Perform a local installation of the generated CruiseControl configuration"> <!-- Only deploy if the work dir property has been set to a location different than the default --> @@ -158,6 +163,31 @@ --> </goal> + <!--==================================================================--> + <!-- Configure the CruiseControl Webapp WAR and generate a fully --> + <!-- configured WAR ready to be used. --> + <!--==================================================================--> + <goal name="cruisecontrol:configure-war" prereqs="cruisecontrol:validate" + description="Generate a configured CruiseControl Webapp WAR"> + + <ant:unwar src="${maven.cruisecontrol.home}/reporting/jsp/dist/cruisecontrol.war" + dest="${maven.cruisecontrol.build.dir}/cruisecontrolwar"/> + + <!-- Modify the web.xml file --> + <ant:replace file="${maven.cruisecontrol.build.dir}/cruisecontrolwar/WEB-INF/web.xml" + token="<param-value>logs</param-value>" + value="<param-value>${maven.cruisecontrol.logs.dir}</param-value>"/> + <ant:replace file="${maven.cruisecontrol.build.dir}/cruisecontrolwar/WEB-INF/web.xml" + token="<param-value>status.txt</param-value>" + value="<param-value>${maven.cruisecontrol.currentbuildstatus.filename}</param-value>"/> + + <ant:war destfile="${maven.cruisecontrol.build.dir}/cruisecontrol.war" + basedir="${maven.cruisecontrol.build.dir}/cruisecontrolwar" + webxml="${maven.cruisecontrol.build.dir}/cruisecontrolwar/WEB-INF/web.xml" + excludes="**/web.xml"/> + + </goal> + <goal name="maven-cruisecontrol-plugin:report"> <!-- TODO: download and transform instead of linking to it --> </goal>
infrastructure at apache.org | ViewVC Help |
Powered by ViewVC 1.1.26 |