You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2010/07/23 18:40:01 UTC

svn commit: r967160 - in /myfaces/tobago/trunk/tobago-theme/tobago-theme-speyside: pom.xml src/main/resources/META-INF/NOTICE.txt

Author: lofwyr
Date: Fri Jul 23 16:40:00 2010
New Revision: 967160

URL: http://svn.apache.org/viewvc?rev=967160&view=rev
Log:
TOBAGO-897: Components with a FacesMessage severity warn/info/fatal should render a special css-style, especially for labels.
 - adding nice icons for the error state of the labels from the Tango Desktop Project

Modified:
    myfaces/tobago/trunk/tobago-theme/tobago-theme-speyside/pom.xml
    myfaces/tobago/trunk/tobago-theme/tobago-theme-speyside/src/main/resources/META-INF/NOTICE.txt

Modified: myfaces/tobago/trunk/tobago-theme/tobago-theme-speyside/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-theme/tobago-theme-speyside/pom.xml?rev=967160&r1=967159&r2=967160&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-speyside/pom.xml (original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-speyside/pom.xml Fri Jul 23 16:40:00 2010
@@ -83,4 +83,65 @@
       </dependencies>
     </profile>
   </profiles>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-dependency-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>unpack-external-images</id>
+            <phase>prepare-package</phase>
+            <goals>
+              <goal>unpack</goal>
+            </goals>
+            <configuration>
+              <artifactItems>
+                <artifactItem>
+                  <groupId>org.tango-project</groupId>
+                  <artifactId>tango-icon-theme</artifactId>
+                  <version>0.8.0</version>
+                </artifactItem>
+              </artifactItems>
+              <outputDirectory>${project.build.directory}/external-images</outputDirectory>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <artifactId>maven-resources-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>copy-external-images</id>
+            <phase>prepare-package</phase>
+            <goals>
+              <goal>copy-resources</goal>
+            </goals>
+            <configuration>
+              <outputDirectory>${project.build.outputDirectory}</outputDirectory>
+              <resources>
+                <resource>
+                  <targetPath>org/apache/myfaces/tobago/renderkit/html/speyside/standard/image</targetPath>
+                  <directory>${project.build.directory}/external-images/org/tango-project/tango-icon-theme/16x16/status</directory>
+                  <includes>
+                    <include>dialog-error.png</include>
+                    <include>dialog-information.png</include>
+                    <include>dialog-warning.png</include>
+                  </includes>
+                </resource>
+                <resource>
+                  <targetPath>org/apache/myfaces/tobago/renderkit/html/speyside/standard/image</targetPath>
+                  <directory>${project.build.directory}/external-images/org/tango-project/tango-icon-theme/16x16/actions</directory>
+                  <includes>
+                    <include>process-stop.png</include>
+                  </includes>
+                </resource>
+              </resources>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
 </project>

Modified: myfaces/tobago/trunk/tobago-theme/tobago-theme-speyside/src/main/resources/META-INF/NOTICE.txt
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-theme/tobago-theme-speyside/src/main/resources/META-INF/NOTICE.txt?rev=967160&r1=967159&r2=967160&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-speyside/src/main/resources/META-INF/NOTICE.txt (original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-speyside/src/main/resources/META-INF/NOTICE.txt Fri Jul 23 16:40:00 2010
@@ -7,3 +7,6 @@ The Apache Software Foundation (http://w
 Based on source code originally developed by
 Atanion GmbH (http://www.atanion.com/)
 Copyright 2002-2005 Atanion GmbH.
+
+This product includes images developed by
+the Tango Desktop Project (http://tango.freedesktop.org/).