Author: thomas.heute(a)jboss.com
Date: 2007-12-06 11:35:42 -0500 (Thu, 06 Dec 2007)
New Revision: 9313
Modified:
demo/trunk/build.xml
demo/trunk/conf/default-object.xml
Log:
JBoss Forums ++
Modified: demo/trunk/build.xml
===================================================================
--- demo/trunk/build.xml 2007-12-06 15:59:09 UTC (rev 9312)
+++ demo/trunk/build.xml 2007-12-06 16:35:42 UTC (rev 9313)
@@ -16,6 +16,10 @@
classname="org.jboss.portal.common.ant.Implode"
classpathref="implode.task.classpath"/>
+ <taskdef name="explode"
+ classname="org.jboss.portal.common.ant.Explode"
+ classpathref="implode.task.classpath"/>
+
</target>
<target name="unzip-bundle" depends="init">
@@ -91,9 +95,12 @@
-->
<target name="install-jbossforums">
+ <mkdir dir="${tmp.dir}/jbossforums"/>
+ <explode file="portlets/jbossforums/jboss-forums.ear"
todir="${tmp.dir}/jbossforums"/>
<copy
todir="${destination.dir}/${portal.name.dir}/server/default/deploy">
- <fileset dir="portlets/jbossforums"/>
+ <fileset dir="${tmp.dir}/jbossforums"/>
</copy>
+ <delete
file="${destination.dir}/${portal.name.dir}/server/default/deploy/jboss-forums.ear/portal-forums.war/WEB-INF/forums-object.xml"/>
</target>
Modified: demo/trunk/conf/default-object.xml
===================================================================
--- demo/trunk/conf/default-object.xml 2007-12-06 15:59:09 UTC (rev 9312)
+++ demo/trunk/conf/default-object.xml 2007-12-06 16:35:42 UTC (rev 9313)
@@ -113,156 +113,184 @@
</context>
</deployment>
<deployment>
- <parent-ref/>
- <if-exists>keep</if-exists>
- <portal>
- <portal-name>default</portal-name>
- <supported-modes>
- <mode>view</mode>
- <mode>edit</mode>
- <mode>help</mode>
- </supported-modes>
- <supported-window-states>
- <window-state>normal</window-state>
- <window-state>minimized</window-state>
- <window-state>maximized</window-state>
- </supported-window-states>
- <security-constraint>
- <policy-permission>
- <action-name>viewrecursive</action-name>
- <action-name>personalizerecursive</action-name>
- <unchecked/>
- </policy-permission>
- </security-constraint>
- <page>
- <page-name>default</page-name>
- <properties>
- <property>
- <name>order</name>
- <value>1</value>
- </property>
- <property>
- <name>layout.id</name>
- <value>generic</value>
- </property>
- </properties>
- <window>
- <window-name>CMSWindow</window-name>
- <content>
- <content-type>cms</content-type>
- <content-uri>/default/index.html</content-uri>
- </content>
- <region>center</region>
- <height>0</height>
- </window>
- <window>
- <window-name>CMSLoginWindow</window-name>
- <content>
- <content-type>cms</content-type>
- <content-uri>/default/login.html</content-uri>
- </content>
- <region>left</region>
- <height>0</height>
- </window>
- <window>
- <window-name>IdentityUserPortletWindow</window-name>
- <instance-ref>IdentityUserPortletInstance</instance-ref>
- <region>left</region>
- <height>0</height>
- </window>
- <window>
- <window-name>CurrentUsersPortletWindow</window-name>
- <instance-ref>CurrentUsersPortletInstance</instance-ref>
- <region>left</region>
- <height>1</height>
- </window>
- </page>
- <page>
- <page-name>Widgets</page-name>
- <properties>
- <property>
- <name>order</name>
- <value>3</value>
- </property>
- <property>
- <name>layout.id</name>
- <value>3columns</value>
- </property>
- </properties>
- <window>
- <window-name>CMSWidgetWindow</window-name>
- <content>
- <content-type>cms</content-type>
- <content-uri>/default/widgets.html</content-uri>
- </content>
- <region>left</region>
- <height>0</height>
- </window>
- <window>
- <window-name>DateTimeGWidgetWindow</window-name>
- <content>
- <content-type>widget/google</content-type>
-
<
content-uri>http://www.google.com/ig/modules/datetime.xml</content-...
- </content>
- <region>right</region>
- <height>0</height>
- <properties>
- <property>
+ <parent-ref />
+ <if-exists>keep</if-exists>
+ <portal>
+ <portal-name>default</portal-name>
+ <supported-modes>
+ <mode>view</mode>
+ <mode>edit</mode>
+ <mode>help</mode>
+ </supported-modes>
+ <supported-window-states>
+ <window-state>normal</window-state>
+ <window-state>minimized</window-state>
+ <window-state>maximized</window-state>
+ </supported-window-states>
+ <security-constraint>
+ <policy-permission>
+ <action-name>viewrecursive</action-name>
+ <action-name>personalizerecursive</action-name>
+ <unchecked />
+ </policy-permission>
+ </security-constraint>
+ <page>
+ <page-name>default</page-name>
+ <properties>
+ <property>
+ <name>order</name>
+ <value>1</value>
+ </property>
+ <property>
+ <name>layout.id</name>
+ <value>generic</value>
+ </property>
+ </properties>
+ <window>
+ <window-name>CMSWindow</window-name>
+ <content>
+ <content-type>cms</content-type>
+ <content-uri>/default/index.html</content-uri>
+ </content>
+ <region>center</region>
+ <height>0</height>
+ </window>
+ <window>
+ <window-name>CMSLoginWindow</window-name>
+ <content>
+ <content-type>cms</content-type>
+ <content-uri>/default/login.html</content-uri>
+ </content>
+ <region>left</region>
+ <height>0</height>
+ </window>
+ <window>
+ <window-name>IdentityUserPortletWindow</window-name>
+ <instance-ref>
+ IdentityUserPortletInstance
+ </instance-ref>
+ <region>left</region>
+ <height>0</height>
+ </window>
+ <window>
+ <window-name>CurrentUsersPortletWindow</window-name>
+ <instance-ref>
+ CurrentUsersPortletInstance
+ </instance-ref>
+ <region>left</region>
+ <height>1</height>
+ </window>
+ </page>
+ <page>
+ <page-name>Widgets</page-name>
+ <properties>
+ <property>
+ <name>order</name>
+ <value>3</value>
+ </property>
+ <property>
+ <name>layout.id</name>
+ <value>3columns</value>
+ </property>
+ </properties>
+ <window>
+ <window-name>CMSWidgetWindow</window-name>
+ <content>
+ <content-type>cms</content-type>
+ <content-uri>/default/widgets.html</content-uri>
+ </content>
+ <region>left</region>
+ <height>0</height>
+ </window>
+ <window>
+ <window-name>DateTimeGWidgetWindow</window-name>
+ <content>
+ <content-type>widget/google</content-type>
+ <content-uri>
+
http://www.google.com/ig/modules/datetime.xml
+ </content-uri>
+ </content>
+ <region>right</region>
+ <height>0</height>
+ <properties>
+ <property>
+ <name>theme.renderSetId</name>
+ <value>emptyRenderer</value>
+ </property>
+ </properties>
+ </window>
+ <window>
+ <window-name>FunnyCatGWidgetWindow</window-name>
+ <content>
+ <content-type>widget/google</content-type>
+ <content-uri>
+
http://blog.esaba.com/projects/catphotos/catphotos.xml
+ </content-uri>
+ </content>
+ <region>center</region>
+ <height>1</height>
+ </window>
+ <window>
+ <window-name>BejeweledGWidgetWindow</window-name>
+ <content>
+ <content-type>widget/google</content-type>
+ <content-uri>
+
http://bejeweledg.googlecode.com/svn/trunk/bejeweled.xml
+ </content-uri>
+ </content>
+ <region>left</region>
+ <height>1</height>
+ </window>
+ <window>
+ <window-name>TVGuideNWidgetWindow</window-name>
+ <content>
+ <content-type>widget/netvibes</content-type>
+ <content-uri>
+
http://nvmodules.typhon.net/ben/tv.php
+ </content-uri>
+ </content>
+ <region>center</region>
+ <height>0</height>
+ </window>
+ </page>
+ <page>
+ <page-name>Samples</page-name>
+ <properties>
+ <property>
+ <name>order</name>
+ <value>2</value>
+ </property>
+ </properties>
+ <window>
+ <window-name>NewsPortletWindow</window-name>
+ <instance-ref>NewsPortletInstance</instance-ref>
+ <region>center</region>
+ <height>1</height>
+ </window>
+ <window>
+ <window-name>WeatherPortletWindow</window-name>
+ <instance-ref>WeatherPortletInstance</instance-ref>
+ <region>left</region>
+ <height>0</height>
+ </window>
+ </page>
+ <page>
+ <page-name>Forums</page-name>
+ <window>
+ <window-name>JBossForumsWindow</window-name>
+ <instance-ref>JBossForumsInstance</instance-ref>
+ <properties>
+ <property>
<name>theme.renderSetId</name>
<value>emptyRenderer</value>
- </property>
- </properties>
- </window>
- <window>
- <window-name>FunnyCatGWidgetWindow</window-name>
- <content>
- <content-type>widget/google</content-type>
-
<
content-uri>http://blog.esaba.com/projects/catphotos/catphotos.xml<...
- </content>
- <region>center</region>
- <height>1</height>
- </window>
- <window>
- <window-name>BejeweledGWidgetWindow</window-name>
- <content>
- <content-type>widget/google</content-type>
-
<
content-uri>http://bejeweledg.googlecode.com/svn/trunk/bejeweled.xml&l...
- </content>
- <region>left</region>
- <height>1</height>
- </window>
- <window>
- <window-name>TVGuideNWidgetWindow</window-name>
- <content>
- <content-type>widget/netvibes</content-type>
-
<
content-uri>http://nvmodules.typhon.net/ben/tv.php</content-uri>
- </content>
- <region>center</region>
- <height>0</height>
- </window>
- </page>
- <page>
- <page-name>Samples</page-name>
- <properties>
- <property>
- <name>order</name>
- <value>2</value>
- </property>
- </properties>
- <window>
- <window-name>NewsPortletWindow</window-name>
- <instance-ref>NewsPortletInstance</instance-ref>
- <region>center</region>
- <height>1</height>
- </window>
- <window>
- <window-name>WeatherPortletWindow</window-name>
- <instance-ref>WeatherPortletInstance</instance-ref>
- <region>left</region>
- <height>0</height>
- </window>
- </page>
- </portal>
+ </property>
+ </properties>
+ <region>center</region>
+ <initial-window-state>maximized</initial-window-state>
+ <height>0</height>
+ </window>
+ </page>
+ </portal>
</deployment>
<deployment>
<if-exists>keep</if-exists>