Change-Id: I6e7f4f910cc1d04354a543343e5c3dfd6c6a1df9
Signed-off-by: hyunsik.noh <hyunsik.noh@samsung.com>
if (!file.exists()) {
file.mkdir();
}
- dataPath = importPath + File.separator + "headless";
+ String workParent = workingDir.getParent();
+ if(workParent != null) {
+ dataPath = workParent + File.separator + "headless";
+ } else {
+ dataPath = idePath + File.separator + "headless";
+ }
if(!getBuildTarget()) {
log.debug(TizenCLIMessages.BN_CANNOT_CREATE_BUILD_TARGET);
if(validateOptions()) {
if(makeCommand()) {
String command = String.format(HEADLESS_CMD, idePath, importPath, buildPath, dataPath, targetId);
+ log.debug(command);
progressLog.info(HostUtil.returnExecute(command));
removeDataDir();
if(isSuccessful()) {