Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
moving the library/client side of the connector into its own repo.
- Loading branch information
John Connolly
committed
Feb 6, 2012
0 parents
commit e737821
Showing
53 changed files
with
7,508 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,9 @@ | |||
<?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/JavaSE-1.6"/> | |||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> | |||
<classpathentry kind="src" path="src"/> | |||
<classpathentry kind="src" path="test"/> | |||
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/3"/> | |||
<classpathentry kind="output" path="bin"/> | |||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,28 @@ | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<projectDescription> | |||
<name>com.buglabs.bug.swarm.client</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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,14 @@ | |||
Manifest-Version: 1.0 | |||
Bundle-ManifestVersion: 2 | |||
Bundle-Name: BUGswarm ReST Client | |||
Bundle-SymbolicName: com.buglabs.bug.swarm.client | |||
Bundle-Version: 1.0.0.qualifier | |||
Bundle-Vendor: Bug Labs, Inc. | |||
Bundle-RequiredExecutionEnvironment: JavaSE-1.6 | |||
Import-Package: | |||
junit.framework;resolution:=optional, | |||
org.codehaus.jackson, | |||
org.codehaus.jackson.map, | |||
org.touge.restclient;version="1.0" | |||
Export-Package: com.buglabs.bug.swarm.client;version="0.3.0", | |||
com.buglabs.bug.swarm.client.model;version="0.3.0" |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1 @@ | |||
The tests for restclient are now in bugswarm-connector project. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,4 @@ | |||
source.. = src/ | |||
output.. = bin/ | |||
bin.includes = META-INF/,\ | |||
. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,62 @@ | |||
<?xml version="1.0"?> | |||
<project name="com.buglabs.bug.swarm.client" basedir="."> | |||
<!-- PROJECT CONSTANTS --> | |||
|
|||
<target name="build.jars" description="Package the java class files into a jar."> | |||
<echo message="## PROJECT: ${ant.project.name} ## TARGET: build.jars" /> | |||
|
|||
<property name="dist.jar.name" value="${ant.project.name}" /> | |||
<property name="manifest.location" location="${basedir}/META-INF/MANIFEST.MF"/> | |||
|
|||
<fail unless="distDirectory" message="distDirectory must be defined." /> | |||
<fail unless="buildDirectory" message="buildDirectory must be defined." /> | |||
|
|||
<jar destfile="${distDirectory}/${dist.jar.name}.jar" | |||
basedir="${buildDirectory}" | |||
manifest="${manifest.location}"> | |||
<fileset dir="${buildDirectory}" excludes="**/*.java,build/**,**/.settings/**,**/build.xml/**,**/build.properties/**,**/.classpath,**/.project,src/**,test/**,junit-reports/**,.git/**,**.gitignore,**/.checkstyle,**/README.*,**/build*.sh,checkstyle-reports/**" /> | |||
<fileset dir="${basedir}" includes="images/**,includes/**,javascripts/**,stylesheets/**,templates/**" /> | |||
</jar> | |||
</target> | |||
|
|||
<!-- target: test Run JUnit tests --> | |||
<target name="test"> | |||
<echo message="## PROJECT: ${ant.project.name} ## TARGET: test" /> | |||
<fail unless="report.dir" message="Ant variable report.dir must be defined." /> | |||
<echo message="Generating test result output in ${report.dir}..." /> | |||
<junit printsummary="yes"> | |||
<classpath refid="bin.classpath" /> | |||
<sysproperty key="report.misc" value="${report.misc}" /> | |||
<formatter type="xml" /> | |||
<batchtest todir="${report.dir}"> | |||
<fileset dir="${report.src}"> | |||
<include name="**/*Test*.java" /> | |||
<exclude name="**/*OSGiTest*.java" /> | |||
</fileset> | |||
</batchtest> | |||
</junit> | |||
</target> | |||
|
|||
<!-- PROJECT IMPORTS --> | |||
<exec executable="/usr/bin/wget"> | |||
<arg line="-P ${base.build.dir}" /> | |||
<arg line="--no-check-certificate" /> | |||
<arg line="-nc" /> | |||
<arg line="https://github.com/downloads/buglabs/bug-osgi/common-osgi.xml" /> | |||
</exec> | |||
<property name="common.ant.file" location="${base.build.dir}/common-osgi.xml" /> | |||
<import file="${common.ant.file}" /> | |||
|
|||
<!-- JUnit tests --> | |||
<property environment="env" /> | |||
<property name="report.misc" value="${env.TEST_HOST}" /> | |||
<echo message="report.misc is ${report.misc}"> | |||
</echo> | |||
<property name="report.dir" location="junit-reports" /> | |||
<property name="report.src" location="test/" /> | |||
|
|||
<!-- Checkstyle --> | |||
<property name="checkstyle.config" location="${base.build.dir}/toolbox/checkstyle/buglabs_checks.xml" /> | |||
<property name="checkstyle.dir" location="checkstyle-reports" /> | |||
<property name="checkstyle.src" location="src/" /> | |||
</project> |
Oops, something went wrong.