mirror of
https://github.com/AndorsTrailRelease/ATCS.git
synced 2025-10-27 18:44:03 +01:00
Compare commits
2 Commits
v0.6.15
...
git_integr
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
547f76de33 | ||
|
|
6701d9784d |
51
.classpath
51
.classpath
@@ -1,19 +1,32 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="src" path="res"/>
|
||||
<classpathentry kind="src" path="hacked-libtiled"/>
|
||||
<classpathentry kind="src" path="siphash-zackehh/src/main/java"/>
|
||||
<classpathentry kind="src" path="minify"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||
<classpathentry kind="lib" path="lib/jide-oss.jar"/>
|
||||
<classpathentry kind="lib" path="lib/json_simple-1.1.jar"/>
|
||||
<classpathentry kind="lib" path="lib/junit-4.10.jar"/>
|
||||
<classpathentry kind="lib" path="lib/prefuse.jar"/>
|
||||
<classpathentry kind="lib" path="lib/rsyntaxtextarea.jar"/>
|
||||
<classpathentry kind="lib" path="lib/ui.jar"/>
|
||||
<classpathentry kind="lib" path="lib/bsh-2.0b4.jar"/>
|
||||
<classpathentry kind="lib" path="lib/jsoup-1.10.2.jar" sourcepath="lib/jsoup-1.10.2-sources.jar"/>
|
||||
<classpathentry kind="lib" path="lib/AndorsTrainer_v0.1.4.jar"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="src" path="res"/>
|
||||
<classpathentry kind="src" path="hacked-libtiled"/>
|
||||
<classpathentry kind="src" path="siphash-zackehh/src/main/java"/>
|
||||
<classpathentry kind="src" path="minify"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.8.0_152"/>
|
||||
<classpathentry kind="lib" path="lib/jide-oss.jar"/>
|
||||
<classpathentry kind="lib" path="lib/json_simple-1.1.jar"/>
|
||||
<classpathentry kind="lib" path="lib/junit-4.10.jar"/>
|
||||
<classpathentry kind="lib" path="lib/prefuse.jar"/>
|
||||
<classpathentry kind="lib" path="lib/rsyntaxtextarea.jar"/>
|
||||
<classpathentry kind="lib" path="lib/ui.jar"/>
|
||||
<classpathentry kind="lib" path="lib/bsh-2.0b4.jar"/>
|
||||
<classpathentry kind="lib" path="lib/jsoup-1.10.2.jar" sourcepath="lib/jsoup-1.10.2-sources.jar"/>
|
||||
<classpathentry kind="lib" path="lib/AndorsTrainer_v0.1.4.jar"/>
|
||||
<classpathentry kind="lib" path="lib/JGit/commons-codec-1.6.jar"/>
|
||||
<classpathentry kind="lib" path="lib/JGit/commons-logging-1.1.3.jar"/>
|
||||
<classpathentry kind="lib" path="lib/JGit/httpclient-4.3.6.jar"/>
|
||||
<classpathentry kind="lib" path="lib/JGit/httpcore-4.3.3.jar"/>
|
||||
<classpathentry kind="lib" path="lib/JGit/JavaEWAH-1.1.6.jar"/>
|
||||
<classpathentry kind="lib" path="lib/JGit/jsch-0.1.54.jar"/>
|
||||
<classpathentry kind="lib" path="lib/JGit/jzlib-1.0.7.jar"/>
|
||||
<classpathentry kind="lib" path="lib/JGit/org.eclipse.jgit-4.9.0.201710071750-r.jar">
|
||||
<attributes>
|
||||
<attribute name="javadoc_location" value="jar:platform:/resource/ATContentStudio/lib/JGit/org.eclipse.jgit-4.9.0.201710071750-r-javadoc.jar!/"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="lib" path="lib/JGit/slf4j-api-1.7.2.jar"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
||||
@@ -1,11 +1,12 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
|
||||
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
|
||||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
|
||||
org.eclipse.jdt.core.compiler.compliance=1.6
|
||||
org.eclipse.jdt.core.compiler.compliance=1.8
|
||||
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
|
||||
org.eclipse.jdt.core.compiler.debug.localVariable=generate
|
||||
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
|
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.source=1.6
|
||||
org.eclipse.jdt.core.compiler.source=1.8
|
||||
|
||||
BIN
lib/JGit/JavaEWAH-1.1.6.jar
Executable file
BIN
lib/JGit/JavaEWAH-1.1.6.jar
Executable file
Binary file not shown.
BIN
lib/JGit/commons-codec-1.6.jar
Executable file
BIN
lib/JGit/commons-codec-1.6.jar
Executable file
Binary file not shown.
BIN
lib/JGit/commons-logging-1.1.3.jar
Executable file
BIN
lib/JGit/commons-logging-1.1.3.jar
Executable file
Binary file not shown.
BIN
lib/JGit/httpclient-4.3.6.jar
Executable file
BIN
lib/JGit/httpclient-4.3.6.jar
Executable file
Binary file not shown.
BIN
lib/JGit/httpcore-4.3.3.jar
Executable file
BIN
lib/JGit/httpcore-4.3.3.jar
Executable file
Binary file not shown.
BIN
lib/JGit/jsch-0.1.54.jar
Executable file
BIN
lib/JGit/jsch-0.1.54.jar
Executable file
Binary file not shown.
BIN
lib/JGit/jzlib-1.0.7.jar
Executable file
BIN
lib/JGit/jzlib-1.0.7.jar
Executable file
Binary file not shown.
BIN
lib/JGit/org.eclipse.jgit-4.9.0.201710071750-r-javadoc.jar
Executable file
BIN
lib/JGit/org.eclipse.jgit-4.9.0.201710071750-r-javadoc.jar
Executable file
Binary file not shown.
BIN
lib/JGit/org.eclipse.jgit-4.9.0.201710071750-r.jar
Executable file
BIN
lib/JGit/org.eclipse.jgit-4.9.0.201710071750-r.jar
Executable file
Binary file not shown.
BIN
lib/JGit/slf4j-api-1.7.2.jar
Executable file
BIN
lib/JGit/slf4j-api-1.7.2.jar
Executable file
Binary file not shown.
@@ -32,6 +32,17 @@ import javax.swing.event.HyperlinkEvent;
|
||||
import javax.swing.event.HyperlinkListener;
|
||||
import javax.swing.plaf.FontUIResource;
|
||||
|
||||
import org.eclipse.jgit.api.Git;
|
||||
import org.eclipse.jgit.api.errors.GitAPIException;
|
||||
import org.eclipse.jgit.attributes.AttributesNodeProvider;
|
||||
import org.eclipse.jgit.internal.storage.file.FileRepository;
|
||||
import org.eclipse.jgit.lib.ObjectDatabase;
|
||||
import org.eclipse.jgit.lib.Ref;
|
||||
import org.eclipse.jgit.lib.RefDatabase;
|
||||
import org.eclipse.jgit.lib.ReflogReader;
|
||||
import org.eclipse.jgit.lib.Repository;
|
||||
import org.eclipse.jgit.lib.StoredConfig;
|
||||
|
||||
import prefuse.data.expression.parser.ExpressionParser;
|
||||
|
||||
import com.gpl.rpg.atcontentstudio.model.Workspace;
|
||||
@@ -73,6 +84,19 @@ public class ATContentStudio {
|
||||
}
|
||||
}
|
||||
|
||||
// try {
|
||||
// Git git = new Git(new FileRepository("/home/xxx/git_repos/andors-trail/.git/"));
|
||||
// List<Ref> branches = git.branchList().call();
|
||||
// for (Ref branch : branches) {
|
||||
// System.out.println(branch.getName());
|
||||
// }
|
||||
// } catch (IOException e1) {
|
||||
// e1.printStackTrace();
|
||||
// } catch (GitAPIException e1) {
|
||||
// e1.printStackTrace();
|
||||
// }
|
||||
|
||||
|
||||
ConfigCache.init();
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user