From 5b89088f877fdc52d6e5de23be47da940838e4df Mon Sep 17 00:00:00 2001 From: "Shawn O. Pearce" Date: Sat, 31 Oct 2009 18:47:16 -0700 Subject: Switch pgm, test to proper plugin projects This way we depend upon the MANIFEST.MF to define our classpath and our build will act more like any other OSGI bundle build. Change-Id: I9e1f1f5a0bccb0ab0e39e49b75fb400fea446619 Signed-off-by: Shawn O. Pearce --- org.eclipse.jgit.pgm/.classpath | 4 +-- org.eclipse.jgit.pgm/.project | 11 ++++++++ .../.settings/org.eclipse.pde.core.prefs | 3 +++ org.eclipse.jgit.pgm/META-INF/MANIFEST.MF | 22 +++++++++++++++ .../services/org.eclipse.jgit.pgm.TextBuiltin | 31 ++++++++++++++++++++++ org.eclipse.jgit.pgm/build.properties | 5 ++++ org.eclipse.jgit.pgm/plugin.properties | 2 ++ .../services/org.eclipse.jgit.pgm.TextBuiltin | 31 ---------------------- 8 files changed, 75 insertions(+), 34 deletions(-) create mode 100644 org.eclipse.jgit.pgm/.settings/org.eclipse.pde.core.prefs create mode 100644 org.eclipse.jgit.pgm/META-INF/MANIFEST.MF create mode 100644 org.eclipse.jgit.pgm/META-INF/services/org.eclipse.jgit.pgm.TextBuiltin create mode 100644 org.eclipse.jgit.pgm/build.properties create mode 100644 org.eclipse.jgit.pgm/plugin.properties delete mode 100644 org.eclipse.jgit.pgm/src/META-INF/services/org.eclipse.jgit.pgm.TextBuiltin (limited to 'org.eclipse.jgit.pgm') diff --git a/org.eclipse.jgit.pgm/.classpath b/org.eclipse.jgit.pgm/.classpath index 058848cf20..304e86186a 100644 --- a/org.eclipse.jgit.pgm/.classpath +++ b/org.eclipse.jgit.pgm/.classpath @@ -2,8 +2,6 @@ - - - + diff --git a/org.eclipse.jgit.pgm/.project b/org.eclipse.jgit.pgm/.project index bbaafc2612..6fc89ae5e6 100644 --- a/org.eclipse.jgit.pgm/.project +++ b/org.eclipse.jgit.pgm/.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.pgm/.settings/org.eclipse.pde.core.prefs b/org.eclipse.jgit.pgm/.settings/org.eclipse.pde.core.prefs new file mode 100644 index 0000000000..75c779a483 --- /dev/null +++ b/org.eclipse.jgit.pgm/.settings/org.eclipse.pde.core.prefs @@ -0,0 +1,3 @@ +#Sat Oct 31 18:40:07 PDT 2009 +eclipse.preferences.version=1 +resolve.requirebundle=false diff --git a/org.eclipse.jgit.pgm/META-INF/MANIFEST.MF b/org.eclipse.jgit.pgm/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..5100d140a5 --- /dev/null +++ b/org.eclipse.jgit.pgm/META-INF/MANIFEST.MF @@ -0,0 +1,22 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %plugin_name +Bundle-SymbolicName: org.eclipse.jgit.pgm +Bundle-Version: 0.6.0.qualifier +Bundle-Vendor: %provider_name +Bundle-Localization: plugin +Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Import-Package: org.eclipse.jgit.awtui, + org.eclipse.jgit.dircache, + org.eclipse.jgit.errors, + org.eclipse.jgit.lib, + org.eclipse.jgit.revplot, + org.eclipse.jgit.revwalk, + org.eclipse.jgit.revwalk.filter, + org.eclipse.jgit.transport, + org.eclipse.jgit.treewalk, + org.eclipse.jgit.treewalk.filter, + org.kohsuke.args4j, + org.kohsuke.args4j.spi +Bundle-ActivationPolicy: lazy +Export-Package: org.eclipse.jgit.pgm diff --git a/org.eclipse.jgit.pgm/META-INF/services/org.eclipse.jgit.pgm.TextBuiltin b/org.eclipse.jgit.pgm/META-INF/services/org.eclipse.jgit.pgm.TextBuiltin new file mode 100644 index 0000000000..6c2a653066 --- /dev/null +++ b/org.eclipse.jgit.pgm/META-INF/services/org.eclipse.jgit.pgm.TextBuiltin @@ -0,0 +1,31 @@ +org.eclipse.jgit.pgm.AmazonS3Client +org.eclipse.jgit.pgm.Branch +org.eclipse.jgit.pgm.Clone +org.eclipse.jgit.pgm.Daemon +org.eclipse.jgit.pgm.DiffTree +org.eclipse.jgit.pgm.Fetch +org.eclipse.jgit.pgm.Glog +org.eclipse.jgit.pgm.IndexPack +org.eclipse.jgit.pgm.Init +org.eclipse.jgit.pgm.Log +org.eclipse.jgit.pgm.LsRemote +org.eclipse.jgit.pgm.LsTree +org.eclipse.jgit.pgm.MergeBase +org.eclipse.jgit.pgm.Push +org.eclipse.jgit.pgm.ReceivePack +org.eclipse.jgit.pgm.RevList +org.eclipse.jgit.pgm.RevParse +org.eclipse.jgit.pgm.Rm +org.eclipse.jgit.pgm.ShowRev +org.eclipse.jgit.pgm.ShowRef +org.eclipse.jgit.pgm.Tag +org.eclipse.jgit.pgm.UploadPack +org.eclipse.jgit.pgm.Version + +org.eclipse.jgit.pgm.debug.MakeCacheTree +org.eclipse.jgit.pgm.debug.ReadDirCache +org.eclipse.jgit.pgm.debug.RebuildCommitGraph +org.eclipse.jgit.pgm.debug.ShowCacheTree +org.eclipse.jgit.pgm.debug.ShowCommands +org.eclipse.jgit.pgm.debug.ShowDirCache +org.eclipse.jgit.pgm.debug.WriteDirCache diff --git a/org.eclipse.jgit.pgm/build.properties b/org.eclipse.jgit.pgm/build.properties new file mode 100644 index 0000000000..aa1a008269 --- /dev/null +++ b/org.eclipse.jgit.pgm/build.properties @@ -0,0 +1,5 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + plugin.properties diff --git a/org.eclipse.jgit.pgm/plugin.properties b/org.eclipse.jgit.pgm/plugin.properties new file mode 100644 index 0000000000..f8fbd725c1 --- /dev/null +++ b/org.eclipse.jgit.pgm/plugin.properties @@ -0,0 +1,2 @@ +plugin_name=Java Git Command Line Interface (Incubation) +provider_name=eclipse.org diff --git a/org.eclipse.jgit.pgm/src/META-INF/services/org.eclipse.jgit.pgm.TextBuiltin b/org.eclipse.jgit.pgm/src/META-INF/services/org.eclipse.jgit.pgm.TextBuiltin deleted file mode 100644 index 6c2a653066..0000000000 --- a/org.eclipse.jgit.pgm/src/META-INF/services/org.eclipse.jgit.pgm.TextBuiltin +++ /dev/null @@ -1,31 +0,0 @@ -org.eclipse.jgit.pgm.AmazonS3Client -org.eclipse.jgit.pgm.Branch -org.eclipse.jgit.pgm.Clone -org.eclipse.jgit.pgm.Daemon -org.eclipse.jgit.pgm.DiffTree -org.eclipse.jgit.pgm.Fetch -org.eclipse.jgit.pgm.Glog -org.eclipse.jgit.pgm.IndexPack -org.eclipse.jgit.pgm.Init -org.eclipse.jgit.pgm.Log -org.eclipse.jgit.pgm.LsRemote -org.eclipse.jgit.pgm.LsTree -org.eclipse.jgit.pgm.MergeBase -org.eclipse.jgit.pgm.Push -org.eclipse.jgit.pgm.ReceivePack -org.eclipse.jgit.pgm.RevList -org.eclipse.jgit.pgm.RevParse -org.eclipse.jgit.pgm.Rm -org.eclipse.jgit.pgm.ShowRev -org.eclipse.jgit.pgm.ShowRef -org.eclipse.jgit.pgm.Tag -org.eclipse.jgit.pgm.UploadPack -org.eclipse.jgit.pgm.Version - -org.eclipse.jgit.pgm.debug.MakeCacheTree -org.eclipse.jgit.pgm.debug.ReadDirCache -org.eclipse.jgit.pgm.debug.RebuildCommitGraph -org.eclipse.jgit.pgm.debug.ShowCacheTree -org.eclipse.jgit.pgm.debug.ShowCommands -org.eclipse.jgit.pgm.debug.ShowDirCache -org.eclipse.jgit.pgm.debug.WriteDirCache -- cgit v1.2.3