]> source.dussan.org Git - jgit.git/commitdiff
Refactor org.eclipse.jgit.test to be a bundle 64/64/2
authorChris Aniszczyk <caniszczyk@gmail.com>
Tue, 13 Oct 2009 20:53:55 +0000 (15:53 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Fri, 16 Oct 2009 16:13:35 +0000 (09:13 -0700)
This way dependencies are described by the MANIFEST.MF,
and the same build tools can be used to compile the tests.

Change-Id: I4dc926148410ecbadcf71b9474aeeb509691aa32

org.eclipse.jgit.test/.classpath
org.eclipse.jgit.test/.project
org.eclipse.jgit.test/META-INF/MANIFEST.MF [new file with mode: 0644]
org.eclipse.jgit.test/build.properties [new file with mode: 0644]
org.eclipse.jgit.test/plugin.properties [new file with mode: 0644]

index af7d1e93233abc1737383cbedf9efe76a9906e1a..3c42728dbfaa35f58b6ed4d3539cd4208cb7799a 100644 (file)
@@ -5,7 +5,6 @@
        <classpathentry kind="src" path="exttst"/>
        <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
        <classpathentry combineaccessrules="false" kind="src" path="/org.eclipse.jgit"/>
-       <classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/3.8.1"/>
-       <classpathentry combineaccessrules="false" kind="lib" path="/com.jcraft.jsch"/>
+       <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
        <classpathentry kind="output" path="bin"/>
 </classpath>
index a7242a0684056e72dd62162143a82895fd6d22d7..84c971100e9675d1e0ddd9cc1bb0e5f268ade774 100644 (file)
                        <arguments>
                        </arguments>
                </buildCommand>
+               <buildCommand>
+                       <name>org.eclipse.pde.ManifestBuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>org.eclipse.pde.SchemaBuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
        </buildSpec>
        <natures>
                <nature>org.eclipse.jdt.core.javanature</nature>
+               <nature>org.eclipse.pde.PluginNature</nature>
        </natures>
 </projectDescription>
diff --git a/org.eclipse.jgit.test/META-INF/MANIFEST.MF b/org.eclipse.jgit.test/META-INF/MANIFEST.MF
new file mode 100644 (file)
index 0000000..8c89f04
--- /dev/null
@@ -0,0 +1,12 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %plugin_name
+Bundle-SymbolicName: org.eclipse.jgit.test
+Bundle-Version: 0.6.0.qualifier
+Bundle-Localization: plugin
+Bundle-Vendor: %provider_name
+Bundle-ActivationPolicy: lazy
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Import-Package: com.jcraft.jsch,
+ junit.framework,
+ junit.textui
diff --git a/org.eclipse.jgit.test/build.properties b/org.eclipse.jgit.test/build.properties
new file mode 100644 (file)
index 0000000..afc4855
--- /dev/null
@@ -0,0 +1,6 @@
+source.. = tst/,\
+           tst-rsrc/,\
+           exttst/
+bin.includes = META-INF/,\
+               .,\
+               plugin.properties
diff --git a/org.eclipse.jgit.test/plugin.properties b/org.eclipse.jgit.test/plugin.properties
new file mode 100644 (file)
index 0000000..68e67f8
--- /dev/null
@@ -0,0 +1,2 @@
+plugin_name=Java Git Core Tests (Incubation)
+provider_name=eclipse.org