[Title] Fixed bug that sbi plugin-id does not allow dot(.)
authordonghee yang <donghee.yang@samsung.com>
Fri, 28 Dec 2012 06:11:20 +0000 (15:11 +0900)
committerdonghee yang <donghee.yang@samsung.com>
Fri, 28 Dec 2012 06:11:20 +0000 (15:11 +0900)
org.tizen.nativeplatform/src/org/tizen/nativeplatform/rootstrap/RootstrapManager.java

index fa68fd4..0b01187 100644 (file)
@@ -217,7 +217,7 @@ public class RootstrapManager {
                        }
                        String pluginFilePath = xmlFiles[0].getPath().toString();
                        String pluginFileName = new File(pluginFilePath).getName();
-                       String pluginId = pluginFileName.split("\\.")[0];
+                       String pluginId = pluginFileName.split("\\.xml")[0];
                        
                        // check already exist?
                        if( RootstrapManager.getRootstrap(pluginId) != null ) {