import org.eclipse.jgit.lib.Ref;
import org.eclipse.jgit.lib.Repository;
import org.eclipse.jgit.lib.RepositoryCache.FileKey;
-import org.eclipse.jgit.storage.file.FileRepository;
+import org.eclipse.jgit.storage.file.FileRepositoryBuilder;
import org.eclipse.jgit.transport.URIish;
import org.eclipse.jgit.util.FS;
import org.eclipse.ui.PlatformUI;
URIish uri = new URIish(sshConn + GITPATH_DELIMITER2 + gitPath);
int timeout = 0;
- Repository db = new FileRepository(new File(PlatformFileUtil.getTmpDir()));
+ Repository db = FileRepositoryBuilder.create(new File(PlatformFileUtil.getTmpDir()));
listRemoteOp = new ListRemoteOperation(db, uri, timeout);
if (container != null) {
listRemoteOp.run(null);
}
+
final Ref idHEAD = listRemoteOp.getRemoteRef(Constants.HEAD);
Ref head = null;
for (final Ref r : listRemoteOp.getRemoteRefs()) {
package org.tizen.nativeplatform.wizards;
+import java.io.File;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.net.URISyntaxException;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.Path;
import org.eclipse.core.runtime.SubProgressMonitor;
-import org.eclipse.jgit.storage.file.FileRepository;
+import org.eclipse.jgit.lib.Repository;
+import org.eclipse.jgit.storage.file.FileRepositoryBuilder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
result = super.performFinish();
try {
- FileRepository gitRepos = new FileRepository(newProject.getLocation().toString()
- + "/.git");
+ Repository gitRepos = FileRepositoryBuilder.create(new File(newProject.getLocation().toString() + "/.git"));
if (!gitRepos.getDirectory().exists()) {
gitRepos.create();
}
Version:2.1.96
Source:nativeplatform-eplugin
-Maintainer:Kangho Kim <kh5325.kim@samsung.com>, Yoonki Park<yoonki.park@samsung.com>, Hyunsik Noh<hyunsik.noh@samsung.com>, Gun Kim<gune.kim@samsung.com>, Ho Namkoong<ho.namkoong@samsung.com>, Taeyoung Son<taeyoung2.son@samsung.com>
+Maintainer:Donghee Yang <donghee.yang@samsung.com>, Donghyuk Yang<donghyuk.yang@samsung.com>, Jaemin Kim<jm.jaemin.kim@samsung.com>
Package:nativeplatform-eplugin
OS:ubuntu-32
Build-host-os:ubuntu-32
-Build-dependency:base-ide-product [ubuntu-32], base-ide-product-add-ons [ubuntu-32], pde-build [ubuntu-32], common-eplugin [ubuntu-32], nativecommon-eplugin [ubuntu-32], nativeappcommon-eplugin [ubuntu-32]
-Install-dependency:base-ide-product [ubuntu-32], base-ide-product-add-ons [ubuntu-32], common-eplugin [ubuntu-32], nativecommon-eplugin [ubuntu-32], nativeappcommon-eplugin [ubuntu-32]
+Build-dependency:pde-build [ubuntu-32], nativeappcommon-eplugin [ubuntu-32]
+Install-dependency:nativeappcommon-eplugin [ubuntu-32]
Description:Nativeplatform plugin
Package:nativeplatform-eplugin
OS:ubuntu-64
Build-host-os:ubuntu-64
-Build-dependency:base-ide-product [ubuntu-64], base-ide-product-add-ons [ubuntu-64], pde-build [ubuntu-64], common-eplugin [ubuntu-64], nativecommon-eplugin [ubuntu-64], nativeappcommon-eplugin [ubuntu-64]
-Install-dependency:base-ide-product [ubuntu-64], base-ide-product-add-ons [ubuntu-64], common-eplugin [ubuntu-64], nativecommon-eplugin [ubuntu-64], nativeappcommon-eplugin [ubuntu-64]
+Build-dependency:pde-build [ubuntu-64], nativeappcommon-eplugin [ubuntu-64]
+Install-dependency:nativeappcommon-eplugin [ubuntu-64]
Description:Nativeplatform plugin
Package:nativeplatform-eplugin
OS:windows-32
Build-host-os:ubuntu-64
-Build-dependency:base-ide-product [windows-32], base-ide-product-add-ons [windows-32], pde-build [windows-32], common-eplugin [windows-32], nativecommon-eplugin [windows-32], nativeappcommon-eplugin [windows-32]
-Install-dependency:base-ide-product [windows-32], base-ide-product-add-ons [windows-32], common-eplugin [windows-32], nativecommon-eplugin [windows-32], nativeappcommon-eplugin [windows-32]
+Build-dependency:pde-build [windows-32], nativeappcommon-eplugin [windows-32]
+Install-dependency:nativeappcommon-eplugin [windows-32]
Description:Nativeplatform plugin
Package:nativeplatform-eplugin
OS:windows-64
Build-host-os:ubuntu-64
-Build-dependency:base-ide-product [windows-64], base-ide-product-add-ons [windows-64], pde-build [windows-64], common-eplugin [windows-64], nativecommon-eplugin [windows-64], nativeappcommon-eplugin [windows-64]
-Install-dependency:base-ide-product [windows-64], base-ide-product-add-ons [windows-64], common-eplugin [windows-64], nativecommon-eplugin [windows-64], nativeappcommon-eplugin [windows-64]
+Build-dependency:pde-build [windows-64], nativeappcommon-eplugin [windows-64]
+Install-dependency:nativeappcommon-eplugin [windows-64]
Description:Nativeplatform plugin
Package:nativeplatform-eplugin
OS:macos-64
Build-host-os:ubuntu-32
-Build-dependency:base-ide-product [macos-64], base-ide-product-add-ons [macos-64], pde-build [macos-64], common-eplugin [macos-64], nativecommon-eplugin [macos-64], nativeappcommon-eplugin [macos-64]
-Install-dependency:base-ide-product [macos-64], base-ide-product-add-ons [macos-64], common-eplugin [macos-64], nativecommon-eplugin [macos-64], nativeappcommon-eplugin [macos-64]
+Build-dependency:pde-build [macos-64], nativeappcommon-eplugin [macos-64]
+Install-dependency:nativeappcommon-eplugin [macos-64]
Description:Nativeplatform plugin
Package:nativeplatform-eplugin-test