Fixed bug in web-gen. added org.eclipse.equinox.common plugin for usin ProjectValidationUtil.
Change-Id: I35185ab5e7ce32e4ab9f41682d66c9d04a57c7b6
Signed-off-by: Taeyoung Son <taeyoung2.son@samsung.com>
String name = cmdLine.getOptionValue( OPT_NAME );
String path = cmdLine.getOptionValue( OPT_PATH );
- if (!ProjectValidationUtil.isValidNameForAppID(name)) {
- prompter.error(Messages.getString("Web.ERROR_MSG_INVALID_PROJECT_NAME"));
- return;
+ if (!StringUtil.isEmpty(name)) {
+ if (!ProjectValidationUtil.isValidNameForAppID(name)) {
+ prompter.error(Messages.getString("Web.ERROR_MSG_INVALID_PROJECT_NAME"));
+ return;
+ }
}
-
logger.trace( "set user input options" );
command.setProjectName( name );
command.setTargetPath( new File(StringUtil.isEmpty(path) ? "." : path).getAbsolutePath() );
mkdir -p $LIB
SRC_LIST="
+ org.eclipse.equinox.common_*
org.eclipse.osgi_*
org.tizen.common.project_*
org.tizen.web.common_*