Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Move to lein.

  • Loading branch information...
commit d79c8ef2d3b0033e58805dfcb70eb29ea4e49cb1 1 parent e2b7fa1
Phil Hagelberg authored
Showing with 6 additions and 75 deletions.
  1. +3 −0  .gitignore
  2. +0 −53 build.xml
  3. +0 −22 pom.xml
  4. +3 −0  project.clj
3  .gitignore
View
@@ -1,4 +1,7 @@
target
local.properties
+lib
classes
*.jar
+Manifest.txt
+pom.xml
53 build.xml
View
@@ -1,53 +0,0 @@
-<project name="saxon" default="jar">
- <description>
- Clojure HTTP Client.
- </description>
-
- <property name="build.dir" location="classes"/>
- <property name="source.dir" location="src"/>
- <property name="jar.name" location="clojure-http-client.jar"/>
- <property file="local.properties"/>
- <available property="hasclojure" file="${clojure.jar}"/>
- <available property="hascontrib" file="${contrib.jar}"/>
-
- <target name="checkforjars" depends="init">
- <condition property="hasjars">
- <and>
- <isset property="hasclojure"/>
- <isset property="hascontrib"/>
- </and>
- </condition>
- </target>
-
- <target name="clean" description="Remove generated classfiles">
- <delete dir="${build.dir}"/>
- </target>
-
- <target name="init" depends="clean">
- <tstamp/>
- <mkdir dir="${build.dir}"/>
- </target>
-
- <target name="compile" depends="checkforjars" description="Compile sources" if="hasjars">
- <java classname="clojure.lang.Compile">
- <classpath>
- <path location="${clojure.jar}"/>
- <path location="${contrib.jar}"/>
- <path location="${build.dir}"/>
- <path location="${source.dir}"/>
- </classpath>
- <sysproperty key="clojure.compile.path" value="${build.dir}"/>
- <arg value="clojure.http.client"/>
- <arg value="clojure.http.resourcefully"/>
- </java>
- </target>
-
- <target name="jar" description="Create jar file" depends="compile">
- <jar jarfile="${jar.name}" index="true">
- <path location="MIT.txt"/>
- <fileset dir="${source.dir}" includes="**/*.clj"/>
- <fileset dir="${build.dir}" includes="**/*.class"/>
- </jar>
- </target>
-
-</project>
22 pom.xml
View
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.clojure</groupId>
- <artifactId>clojure-pom</artifactId>
- <version>1.1.0-alpha-SNAPSHOT</version>
- </parent>
- <groupId>org.clojure</groupId>
- <artifactId>clojure-http-client</artifactId>
- <name>${artifactId}</name>
- <version>1.0.0-SNAPSHOT</version>
- <dependencies>
- <dependency>
- <groupId>org.clojure</groupId>
- <artifactId>clojure-contrib</artifactId>
- <version>1.0-SNAPSHOT</version>
- </dependency>
- </dependencies>
-</project>
3  project.clj
View
@@ -0,0 +1,3 @@
+(defproject org.clojure/clojure-http-client "1.0.0-SNAPSHOT"
+ :description "An HTTP client for Clojure."
+ :dependencies [[org.clojure/clojure-contrib "1.0-SNAPSHOT"]])
Please sign in to comment.
Something went wrong with that request. Please try again.