Change-Id: Id9a6bc4d82cda2beb6ea6e1ade90a63eeb0a55bc
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
// set output directory
try
{
- File outputDirectory = (workingDir != null ? workingDir : currentWorkspacePath);
- nativeCommand.setOutputName(outputDirectory.getCanonicalPath() + File.separatorChar + nativeCommand.getProjectName());
+ nativeCommand.setOutputName(getRealWorkingPath().getCanonicalPath() + File.separatorChar + nativeCommand.getProjectName());
} catch (IOException e)
{
log.error(TizenCLIMessages.CR_CANNOT_CREATE_OUTDIR);
// set output directory
try
{
- File outputDirectory = (workingDir != null ? workingDir : currentWorkspacePath);
- webCommand.setOutputName(outputDirectory.getCanonicalPath() + File.separatorChar + webCommand.getProjectName());
+ webCommand.setOutputName(getRealWorkingPath().getCanonicalPath() + File.separatorChar + webCommand.getProjectName());
} catch (IOException e)
{
log.error(TizenCLIMessages.CR_CANNOT_CREATE_OUTDIR);