]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixed #2383
authorJoonas Lehtinen <joonas.lehtinen@itmill.com>
Thu, 18 Dec 2008 19:28:34 +0000 (19:28 +0000)
committerJoonas Lehtinen <joonas.lehtinen@itmill.com>
Thu, 18 Dec 2008 19:28:34 +0000 (19:28 +0000)
svn changeset:6290/svn branch:trunk

build/buildhelpers/com/itmill/toolkit/buildhelpers/PortletConfigurationGenerator.java

index 8b026232d30039c94ab055d09328d34f8e7885c2..e7e4ab1cc6dd08fa0c045a22c6b64ca376387efa 100644 (file)
@@ -140,7 +140,7 @@ public class PortletConfigurationGenerator {
 \r
     /**\r
      * @param args\r
-     *                <path to directory with web.xml> [widgetset to use]\r
+     *            <path to directory with web.xml> [widgetset to use]\r
      */\r
     public static void main(String[] args) {\r
         if (args.length < 1 || !new File(args[0]).isDirectory()) {\r
@@ -257,7 +257,7 @@ public class PortletConfigurationGenerator {
             Pattern p1 = Pattern\r
                     .compile("<servlet-mapping>.*?<servlet-name>(.*?)<\\/servlet-name>.*?<url-pattern>(.*?)<\\/url-pattern>(.*?)<\\/servlet-mapping>");\r
             Pattern p2 = Pattern\r
-                    .compile(".*?<!--\\s+portlet\\s?(style=\\S+)?\\s+-->.*?");\r
+                    .compile(".*?<!--\\s+portlet\\s?style=(\\S+)?\\s+-->.*?");\r
             Matcher m = p1.matcher(webXml);\r
             while (m.find()) {\r
                 if (m.groupCount() < 3) {\r