From 1a41a89e4c99250a9710e57894fd6af983f7d94d Mon Sep 17 00:00:00 2001 From: Chris Aniszczyk Date: Tue, 13 Oct 2009 15:53:55 -0500 Subject: Refactor org.eclipse.jgit.test to be a bundle 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 | 3 +-- org.eclipse.jgit.test/.project | 11 +++++++++++ org.eclipse.jgit.test/META-INF/MANIFEST.MF | 12 ++++++++++++ org.eclipse.jgit.test/build.properties | 6 ++++++ org.eclipse.jgit.test/plugin.properties | 2 ++ 5 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 org.eclipse.jgit.test/META-INF/MANIFEST.MF create mode 100644 org.eclipse.jgit.test/build.properties create mode 100644 org.eclipse.jgit.test/plugin.properties (limited to 'org.eclipse.jgit.test') diff --git a/org.eclipse.jgit.test/.classpath b/org.eclipse.jgit.test/.classpath index af7d1e9323..3c42728dbf 100644 --- a/org.eclipse.jgit.test/.classpath +++ b/org.eclipse.jgit.test/.classpath @@ -5,7 +5,6 @@ - - + diff --git a/org.eclipse.jgit.test/.project b/org.eclipse.jgit.test/.project index a7242a0684..84c971100e 100644 --- a/org.eclipse.jgit.test/.project +++ b/org.eclipse.jgit.test/.project @@ -10,8 +10,19 @@ + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature diff --git a/org.eclipse.jgit.test/META-INF/MANIFEST.MF b/org.eclipse.jgit.test/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..8c89f045cf --- /dev/null +++ b/org.eclipse.jgit.test/META-INF/MANIFEST.MF @@ -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 index 0000000000..afc4855d67 --- /dev/null +++ b/org.eclipse.jgit.test/build.properties @@ -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 index 0000000000..68e67f8107 --- /dev/null +++ b/org.eclipse.jgit.test/plugin.properties @@ -0,0 +1,2 @@ +plugin_name=Java Git Core Tests (Incubation) +provider_name=eclipse.org -- cgit v1.2.3