[jboss-svn-commits] JBL Code SVN: r21540 - in labs/jbosslabs/trunk/stats-server/sources: kosmos and 1 other directory.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Thu Aug 14 07:02:32 EDT 2008
Author: wrzep
Date: 2008-08-14 07:02:32 -0400 (Thu, 14 Aug 2008)
New Revision: 21540
Removed:
labs/jbosslabs/trunk/stats-server/sources/binaries/as-portal/to-copy/server/default/deploy/jbossweb-tomcat55.sar/ROOT.war/
Modified:
labs/jbosslabs/trunk/stats-server/sources/kosmos/maven.xml
Log:
removed tomcat's root
added convenience maven goal that reloads portlet configuration
Modified: labs/jbosslabs/trunk/stats-server/sources/kosmos/maven.xml
===================================================================
--- labs/jbosslabs/trunk/stats-server/sources/kosmos/maven.xml 2008-08-14 10:44:19 UTC (rev 21539)
+++ labs/jbosslabs/trunk/stats-server/sources/kosmos/maven.xml 2008-08-14 11:02:32 UTC (rev 21540)
@@ -10,6 +10,14 @@
<attainGoal name="build"/>
<attainGoal name="deploy"/>
</goal>
+
+ <!-- Convenience goal that lets you reload portlet configuration (for example change monitored projects) without restarting the server -->
+ <goal name="all-portlet">
+ <ant:delete dir="${local.deploy.dir}/kosmos-portlet.war" />
+ <ant:delete dir="target"/>
+ <attainGoal name="build-portlet"/>
+ <attainGoal name="deploy-portlet"/>
+ </goal>
<goal name="clean">
<ant:delete dir="${local.deploy.dir}/kosmos-server.war" />
@@ -18,10 +26,12 @@
</goal>
<goal name="build">
-
<attainGoal name="java:compile" />
-
- <!-- Fill server templates -->
+ <attainGoal name="build-server"/>
+ <attainGoal name="build-portlet"/>
+ </goal>
+
+ <goal name="build-server">
<ant:copy tofile="conf/server/classes/ehcache.xml" file="conf/server/classes/ehcache.template.xml" overwrite="true"/>
<ant:replace file="conf/server/classes/ehcache.xml" propertyFile="kosmos.properties">
<ant:replacefilter token="#{kosmos.cache.timeout.seconds}" property="kosmos.cache.timeout.seconds"/>
@@ -35,15 +45,15 @@
<ant:replacefilter token="#{kosmos.webdav.user}" property="kosmos.webdav.user"/>
<ant:replacefilter token="#{kosmos.webdav.password}" property="kosmos.webdav.password"/>
</ant:replace>
-
- <!-- Fill portlet templates -->
+ </goal>
+
+ <goal name="build-portlet">
<ant:copy tofile="conf/portlet/WEB-INF/portlet.xml" file="conf/portlet/WEB-INF/portlet.template.xml" overwrite="true"/>
<ant:replace file="conf/portlet/WEB-INF/portlet.xml" propertyFile="kosmos.properties">
<ant:replacefilter token="#{kosmos.server.url}" property="kosmos.server.url"/>
</ant:replace>
-
- </goal>
-
+ </goal>
+
<goal name="deploy">
<attainGoal name="deploy-server"/>
<attainGoal name="deploy-portlet"/>
More information about the jboss-svn-commits
mailing list