From ebebae294f3de7d852af49a2592f1294ec2b282d Mon Sep 17 00:00:00 2001 From: "kh5325.kim" Date: Mon, 19 Aug 2013 15:02:07 +0900 Subject: Modified NAME_PATTERN to allow '.' Change-Id: I4f16131911867822a25c86be4fe83e60e8352fc8 --- .../src/org/tizen/common/project/CommonProjectConstants.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/org.tizen.common.project/src/org/tizen/common/project/CommonProjectConstants.java b/org.tizen.common.project/src/org/tizen/common/project/CommonProjectConstants.java index 502834768..3e2a49acf 100644 --- a/org.tizen.common.project/src/org/tizen/common/project/CommonProjectConstants.java +++ b/org.tizen.common.project/src/org/tizen/common/project/CommonProjectConstants.java @@ -36,13 +36,14 @@ public final class CommonProjectConstants { public final static char[] INVALID_RESOURCE_CHARACTERS; static { - PROJECT_NAME_PATTERN = "^[a-zA-Z][a-zA-Z0-9-]{" //$NON-NLS-1$ + PROJECT_NAME_PATTERN = "^[a-zA-Z][a-zA-Z0-9-\\.]{" //$NON-NLS-1$ + ( PROJECT_NAME_MIN_LENGTH - 1 ) + "," //$NON-NLS-1$ - + ( PROJECT_NAME_MAX_LENGTH - 1 ) + "}$"; //$NON-NLS-1$ + + ( PROJECT_NAME_MAX_LENGTH - 1 ) + "}(?