[jboss-svn-commits] JBL Code SVN: r24968 - in labs/jbosslabs/labs-3.0-build/integration/cs-settings: src/main and 1 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Wed Jan 28 04:54:51 EST 2009


Author: lkrzyzanek
Date: 2009-01-28 04:54:51 -0500 (Wed, 28 Jan 2009)
New Revision: 24968

Added:
   labs/jbosslabs/labs-3.0-build/integration/cs-settings/pom.xml
   labs/jbosslabs/labs-3.0-build/integration/cs-settings/src/main/web/
   labs/jbosslabs/labs-3.0-build/integration/cs-settings/src/main/web/settings.ftl
Log:
added

Added: labs/jbosslabs/labs-3.0-build/integration/cs-settings/pom.xml
===================================================================
--- labs/jbosslabs/labs-3.0-build/integration/cs-settings/pom.xml	                        (rev 0)
+++ labs/jbosslabs/labs-3.0-build/integration/cs-settings/pom.xml	2009-01-28 09:54:51 UTC (rev 24968)
@@ -0,0 +1,110 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.jboss.labs.clearspace.plugin</groupId>
+  <artifactId>cs-settings</artifactId>
+  <name>Clearspace plugin: Settings</name>
+  <description>Plugin offers management of additional settings in Clearspace administration</description>
+  <version>1.0.0-SNAPSHOT</version>
+
+  <parent>
+    <groupId>org.jboss.labs</groupId>
+    <artifactId>integration</artifactId>
+    <version>1.0-SNAPSHOT</version>
+  </parent>
+
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <source>1.5</source>
+          <target>1.5</target>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>com.jivesoftware.maven</groupId>
+        <artifactId>maven-clearspace-plugin-packager</artifactId>
+        <executions>
+          <execution>
+            <goals>
+              <goal>package-plugin</goal>
+            </goals>
+            <phase>package</phase>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <configuration>
+          <finalName>tmp-classes</finalName>
+        </configuration>
+      </plugin>
+      <plugin>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <version>1.1</version>
+        <executions>
+          <execution>
+            <id>rename-exploded</id>
+            <goals>
+              <goal>run</goal>
+            </goals>
+            <phase>package</phase>
+            <configuration>
+              <tasks>
+                <delete>
+                  <fileset dir="target" includes="tmp-classes*" />
+                </delete>
+              </tasks>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>4.4</version>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>com.jivesoftware</groupId>
+      <artifactId>clearspace-all</artifactId>
+      <version>2.5.0.rc</version>
+      <type>pom</type>
+      <scope>provided</scope>
+    </dependency>
+  </dependencies>
+
+  <pluginRepositories>
+    <pluginRepository>
+      <id>jive.ext.central</id>
+      <name>Jive Repository</name>
+      <url>http://maven.jivesoftware.com/central</url>
+    </pluginRepository>
+    <pluginRepository>
+      <id>jive.ext.snapshots</id>
+      <name>Jive Snapshot Repository</name>
+      <url>http://maven.jivesoftware.com/snapshots</url>
+    </pluginRepository>
+  </pluginRepositories>
+  <repositories>
+    <repository>
+      <id>jive.ext.central</id>
+      <name>Jive Repository</name>
+      <url>http://maven.jivesoftware.com/central</url>
+    </repository>
+    <repository>
+      <id>jive.ext.snapshots</id>
+      <name>Jive Snapshot Repository</name>
+      <url>http://maven.jivesoftware.com/snapshots</url>
+    </repository>
+  </repositories>
+</project>


Property changes on: labs/jbosslabs/labs-3.0-build/integration/cs-settings/pom.xml
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: labs/jbosslabs/labs-3.0-build/integration/cs-settings/src/main/web/settings.ftl
===================================================================
--- labs/jbosslabs/labs-3.0-build/integration/cs-settings/src/main/web/settings.ftl	                        (rev 0)
+++ labs/jbosslabs/labs-3.0-build/integration/cs-settings/src/main/web/settings.ftl	2009-01-28 09:54:51 UTC (rev 24968)
@@ -0,0 +1,30 @@
+<!--
+	This FreeMarker template generates UI for the admin console. The plugin.xml file
+	defines the structure for a tab added to the console. This template is 
+	specified at the UI for the tab, retrieved via a WebWork action defined
+	in the struts.xml file. 
+-->
+<html>
+    <head>
+        <#assign pageTitle=action.getText('org.jboss.labs.cs.settings.admin.item.settings.name') />
+        <title>${pageTitle}</title>
+        <content tag="pagetitle">${pageTitle}</content>
+        <content tag="pageID">page-settings</content>
+    </head>
+    <body>
+        <@s.actionmessage />
+        <@s.fielderror />
+        <@s.form theme="simple" action="jboss-settings">
+            <table>
+                <tr>
+                    <td><@s.text name="org.jboss.labs.cs.settings.item.settings.form.maxClauseCount.label"/>:</td>
+                    <td><@s.textfield name="maxClauseCount" maxlength="6"/></td>
+                </tr>
+                <tr>
+                    <td></td>
+                    <td align="right"><@s.submit value="${action.getText('org.jboss.labs.cs.settings.item.settings.form.submit')}"/></td>
+                </tr>
+            </table>
+        </@s.form>
+    </body>
+</html>
\ No newline at end of file




More information about the jboss-svn-commits mailing list