Browse Source

Make HTTP test project work in Eclipse

The Jetty components are not available as part of Eclipse, but a
P2 packaged version can be found via [1] for Eclipse 3.5 and newer.

[1] http://wiki.eclipse.org/Jetty-OSGi_SDK

Change-Id: Ibd5930bb9fc9589125876ca50c52e58bd31b051c
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
stable-0.7
Robin Rosenberg 15 years ago committed by Shawn O. Pearce
parent
commit
56f6d9ebc3
  1. 7
      org.eclipse.jgit.http.test/.classpath
  2. 1
      org.eclipse.jgit.http.test/.gitignore
  3. 28
      org.eclipse.jgit.http.test/.project
  4. 7
      org.eclipse.jgit.http.test/.settings/org.eclipse.jdt.core.prefs
  5. 32
      org.eclipse.jgit.http.test/META-INF/MANIFEST.MF
  6. 4
      org.eclipse.jgit.http.test/build.properties
  7. 15
      org.eclipse.jgit.http.test/org.eclipse.jgit.http--All-Tests.launch

7
org.eclipse.jgit.http.test/.classpath

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="tst"/>
<classpathentry kind="output" path="bin"/>
</classpath>

1
org.eclipse.jgit.http.test/.gitignore vendored

@ -1 +1,2 @@
/target /target
/bin

28
org.eclipse.jgit.http.test/.project

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.jgit.http.test</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<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.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

7
org.eclipse.jgit.http.test/.settings/org.eclipse.jdt.core.prefs

@ -0,0 +1,7 @@
#Tue Jan 12 23:43:54 CET 2010
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
org.eclipse.jdt.core.compiler.compliance=1.5
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.5

32
org.eclipse.jgit.http.test/META-INF/MANIFEST.MF

@ -0,0 +1,32 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Java Git HTTP Tests (Incubation)
Bundle-SymbolicName: org.eclipse.jgit.http.test
Bundle-Version: 0.6.0.qualifier
Bundle-Vendor: Eclipse.org
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Import-Package: javax.servlet;version="2.5.0",
javax.servlet.http;version="2.5.0",
junit.framework;version="3.8.2",
org.eclipse.jetty.continuation;version="7.0.1",
org.eclipse.jetty.http;version="7.0.1",
org.eclipse.jetty.http.security;version="7.0.1",
org.eclipse.jetty.io;version="7.0.1",
org.eclipse.jetty.security;version="7.0.1",
org.eclipse.jetty.security.authentication;version="7.0.1",
org.eclipse.jetty.server;version="7.0.1",
org.eclipse.jetty.server.handler;version="7.0.1",
org.eclipse.jetty.server.nio;version="7.0.1",
org.eclipse.jetty.servlet;version="7.0.1",
org.eclipse.jetty.util.component;version="7.0.1",
org.eclipse.jetty.util.log;version="7.0.1",
org.eclipse.jetty.util.thread;version="7.0.1",
org.eclipse.jgit.errors;version="0.6.0",
org.eclipse.jgit.http.server;version="0.6.0",
org.eclipse.jgit.http.server.glue;version="0.6.0",
org.eclipse.jgit.http.server.resolver;version="0.6.0",
org.eclipse.jgit.junit;version="0.6.0",
org.eclipse.jgit.lib;version="0.6.0",
org.eclipse.jgit.revwalk;version="0.6.0",
org.eclipse.jgit.transport;version="0.6.0",
org.eclipse.jgit.util;version="0.6.0"

4
org.eclipse.jgit.http.test/build.properties

@ -0,0 +1,4 @@
source.. = tst/
output.. = bin/
bin.includes = META-INF/,\
.

15
org.eclipse.jgit.http.test/org.eclipse.jgit.http--All-Tests.launch

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.jdt.junit.launchconfig">
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/org.eclipse.jgit.http.test"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="4"/>
</listAttribute>
<stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value="=org.eclipse.jgit.http.test"/>
<booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/>
<stringAttribute key="org.eclipse.jdt.junit.TESTNAME" value=""/>
<stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit4"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value=""/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.eclipse.jgit.http.test"/>
</launchConfiguration>
Loading…
Cancel
Save