summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkh5325.kim <kh5325.kim@samsung.com>2013-04-17 18:08:55 +0900
committerkh5325.kim <kh5325.kim@samsung.com>2013-04-17 18:08:55 +0900
commitcc3adf5d27ff181a53676b5ffdf565d1152f0c27 (patch)
treed236ebb83399e58b819542c10871ef834b20f63b
parenta6b4aca6d58dbe4e450ff8ae0a05dc23baf148c3 (diff)
downloadcodecoverage-eplugin-tizen_2.1.tar.gz
codecoverage-eplugin-tizen_2.1.tar.bz2
codecoverage-eplugin-tizen_2.1.zip
Upload tizen_2.1 source2.1b_releasetizen_2.1
Change-Id: I1640f83e0313829eef5c72fe6e74701c72ba2238
-rw-r--r--org.tizen.codecoverage/src/org/tizen/codecoverage/helper/GcovHelper.java16
-rw-r--r--package/changelog3
-rw-r--r--package/pkginfo.manifest2
3 files changed, 11 insertions, 10 deletions
diff --git a/org.tizen.codecoverage/src/org/tizen/codecoverage/helper/GcovHelper.java b/org.tizen.codecoverage/src/org/tizen/codecoverage/helper/GcovHelper.java
index 401f671..20d1ddf 100644
--- a/org.tizen.codecoverage/src/org/tizen/codecoverage/helper/GcovHelper.java
+++ b/org.tizen.codecoverage/src/org/tizen/codecoverage/helper/GcovHelper.java
@@ -23,10 +23,6 @@ package org.tizen.codecoverage.helper;
import java.util.LinkedList;
import java.util.List;
-import org.eclipse.cdt.core.model.CModelException;
-import org.eclipse.cdt.core.model.CoreModel;
-import org.eclipse.cdt.core.model.IBinary;
-import org.eclipse.cdt.core.model.ICProject;
import org.eclipse.cdt.managedbuilder.core.IConfiguration;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IProject;
@@ -39,10 +35,11 @@ import org.eclipse.linuxtools.gcov.parser.CovManager;
import org.eclipse.linuxtools.gcov.view.CovView;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.PlatformUI;
+import org.tizen.common.TizenPlatformConstants;
+import org.tizen.common.sdb.command.SdbCommand;
import org.tizen.common.connection.ConnectionPlugin;
import org.tizen.common.util.IOUtil;
import org.tizen.nativecommon.ProjectUtil;
-import org.tizen.nativecpp.editors.manifest.PackageModel;
import org.tizen.sdblib.IDevice;
import org.tizen.sdblib.SyncService;
import org.tizen.sdblib.SyncService.SyncResult;
@@ -143,8 +140,6 @@ public class GcovHelper {
String targetPath = getGcdaPath(project, currentDevice);
-
-
try {
for (String gcdaPath: gcdaPathsInGcno) {
dstFile = gcdaPath;
@@ -157,14 +152,17 @@ public class GcovHelper {
}
}
} finally {
+// String removeCommand = String.format(TizenPlatformConstants.REMOVE_FILE_COMMAND, targetPath);
+// SdbCommand sdbCommand = new SdbCommand(currentDevice);
+// sdbCommand.runCommand(removeCommand);
IOUtil.tryClose(syncService);
}
}
private static String getGcdaPath(IProject project, IDevice device) {
- String installPath = ProjectUtil.getAppTmpDirectory(project, device);
- String gcdaPath = installPath + DATA_DIR;
+ String parrentDirectory = ProjectUtil.getRootTmpDirectory(project);
+ String gcdaPath = parrentDirectory + DATA_DIR;
return gcdaPath;
}
}
diff --git a/package/changelog b/package/changelog
index 45e759e..9704cea 100644
--- a/package/changelog
+++ b/package/changelog
@@ -1,3 +1,6 @@
+* 2.1.6
+- Changed result directory to /tmp/<pkgId>/data
+== kh5325.kim <ho.namkoong@samsung.com> 2013-04-17
* 2.1.5
- Applied nativecommon-eplugin's change.
== gune.kim <gune.kim@samsung.com> 2013-04-10 22:15
diff --git a/package/pkginfo.manifest b/package/pkginfo.manifest
index 48832f3..837fd34 100644
--- a/package/pkginfo.manifest
+++ b/package/pkginfo.manifest
@@ -1,4 +1,4 @@
-Version:2.1.5
+Version:2.1.6
Source:codecoverage-eplugin
Maintainer:kangho kim <kh5325.kim@samsung.com>, yoonki park <yoonki.park@samsung.com>, hyunsik non <hyunsik.noh@samsung.com>, taeyoung son <taeyoung2.son@samsung.com>, gune Kim <gune.kim@samsung.com>, ho namkoong <ho.namkoong@samsung.com>, hyeongseok heo <hyeong-seok.heo@samsung.com>, gyeongseok seo <gyeongseok.seo@samsung.com>, jihoon song <jihoon80.song@samsung.com>, changhyun lee <changhyun1.lee@samsung.com>, bonyong lee <bonyong.lee@samsung.com>