commit 7f7efafe70498dbb80c22f7dff780440a465add2 Author: Taro L. Saito Date: Tue Mar 29 16:57:23 2011 +0900 add Makefile diff --git a/.hgignore b/.hgignore new file mode 100755 index 0000000..b5b67d8 --- /dev/null +++ b/.hgignore @@ -0,0 +1,6 @@ +target +.classpath +.project + +syntax: glob +*~ diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs new file mode 100755 index 0000000..26e8589 --- /dev/null +++ b/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,6 @@ +#Tue Mar 29 16:49:37 JST 2011 +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.source=1.6 diff --git a/.settings/org.maven.ide.eclipse.prefs b/.settings/org.maven.ide.eclipse.prefs new file mode 100755 index 0000000..01a37d2 --- /dev/null +++ b/.settings/org.maven.ide.eclipse.prefs @@ -0,0 +1,9 @@ +#Tue Mar 29 16:49:37 JST 2011 +activeProfiles= +eclipse.preferences.version=1 +fullBuildGoals=process-test-resources +includeModules=false +resolveWorkspaceProjects=true +resourceFilterGoals=process-resources resources\:testResources +skipCompilerPlugin=true +version=1 diff --git a/Makefile b/Makefile new file mode 100755 index 0000000..a52a3ab --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ + + +SRC:=src/main/java +TARGET:=target + + +include $(SRC)/org/xerial/snappy/VERSION + +SNAPPY_ARCHIVE:=$(TARGET)/snappy-$(VERSION).tar.gz + +$(SNAPPY_ARCHIVE): + @mkdir -p $(@D) + curl -o$@ http://snappy.googlecode.com/files/snappy-$(VERSION).tar.gz + + +$(TARGET)/snappy-$(VERSION): $(SNAPPY_ARCHIVE) + tar xvfz $< -C $(TARGET) diff --git a/pom.xml b/pom.xml new file mode 100755 index 0000000..a530f8d --- /dev/null +++ b/pom.xml @@ -0,0 +1,89 @@ + + + 4.0.0 + org.xerial.snappy + snappy-java + 1.0.1 + Snappy for Java + Compression/decompression library + + + org.xerial + xerial-project + 1.1 + + + + + + src/main/java + + + src/main/resources + + org/xerial/snappy/native/** + org/** + + + + ${basedir} + META-INF/maven/${groupId}/${artifactId} + + VERSION + LICENSE* + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 2.0.2 + + 1.6 + 1.6 + + + + + maven-release-plugin + 2.1 + + + deploy + + + + + + + + + org.apache.maven.wagon + wagon-ssh-external + 1.0-beta-7 + + + + + + + + + + org.xerial.thirdparty + jdbc-api + 1.4 + provided + + + diff --git a/src/main/java/org/xerial/snappy/VERSION b/src/main/java/org/xerial/snappy/VERSION new file mode 100755 index 0000000..1121272 --- /dev/null +++ b/src/main/java/org/xerial/snappy/VERSION @@ -0,0 +1 @@ +VERSION=1.0.1