summaryrefslogtreecommitdiffstats
path: root/build/buildhelpers
diff options
context:
space:
mode:
authorJoonas Lehtinen <joonas.lehtinen@itmill.com>2008-12-18 19:28:34 +0000
committerJoonas Lehtinen <joonas.lehtinen@itmill.com>2008-12-18 19:28:34 +0000
commit1c4d396442b3f8fce41c426e4332499be6684a06 (patch)
treedb9d21272ad9cea31e42ce3ce042c441c797a4ce /build/buildhelpers
parent5dd389db5da9a0b4240d39ce24f2a861c34aa833 (diff)
downloadvaadin-framework-1c4d396442b3f8fce41c426e4332499be6684a06.tar.gz
vaadin-framework-1c4d396442b3f8fce41c426e4332499be6684a06.zip
Fixed #2383
svn changeset:6290/svn branch:trunk
Diffstat (limited to 'build/buildhelpers')
-rw-r--r--build/buildhelpers/com/itmill/toolkit/buildhelpers/PortletConfigurationGenerator.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/buildhelpers/com/itmill/toolkit/buildhelpers/PortletConfigurationGenerator.java b/build/buildhelpers/com/itmill/toolkit/buildhelpers/PortletConfigurationGenerator.java
index 8b026232d3..e7e4ab1cc6 100644
--- a/build/buildhelpers/com/itmill/toolkit/buildhelpers/PortletConfigurationGenerator.java
+++ b/build/buildhelpers/com/itmill/toolkit/buildhelpers/PortletConfigurationGenerator.java
@@ -140,7 +140,7 @@ public class PortletConfigurationGenerator {
/**
* @param args
- * <path to directory with web.xml> [widgetset to use]
+ * <path to directory with web.xml> [widgetset to use]
*/
public static void main(String[] args) {
if (args.length < 1 || !new File(args[0]).isDirectory()) {
@@ -257,7 +257,7 @@ public class PortletConfigurationGenerator {
Pattern p1 = Pattern
.compile("<servlet-mapping>.*?<servlet-name>(.*?)<\\/servlet-name>.*?<url-pattern>(.*?)<\\/url-pattern>(.*?)<\\/servlet-mapping>");
Pattern p2 = Pattern
- .compile(".*?<!--\\s+portlet\\s?(style=\\S+)?\\s+-->.*?");
+ .compile(".*?<!--\\s+portlet\\s?style=(\\S+)?\\s+-->.*?");
Matcher m = p1.matcher(webXml);
while (m.find()) {
if (m.groupCount() < 3) {