summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2007-01-05 02:33:12 +0000
committerJoshua Nichols <nichoj@gentoo.org>2007-01-05 02:33:12 +0000
commit144722e1f863a5d1469a613acae5991eef2f3bcf (patch)
treee42c92e3d4f39a003bcd5d0b48d9de679e587934 /dev-java/jline/files
parentVersion bump #159936 by Frank Zschockelt. (diff)
downloadhistorical-144722e1f863a5d1469a613acae5991eef2f3bcf.tar.gz
historical-144722e1f863a5d1469a613acae5991eef2f3bcf.tar.bz2
historical-144722e1f863a5d1469a613acae5991eef2f3bcf.zip
Initial commit. Added as a dependency of dev-java/jruby.
Package-Manager: portage-2.1.2_rc4-r4
Diffstat (limited to 'dev-java/jline/files')
-rw-r--r--dev-java/jline/files/build-0.9.9.xml77
-rw-r--r--dev-java/jline/files/digest-jline-0.9.93
2 files changed, 80 insertions, 0 deletions
diff --git a/dev-java/jline/files/build-0.9.9.xml b/dev-java/jline/files/build-0.9.9.xml
new file mode 100644
index 000000000000..8ac806c4ad28
--- /dev/null
+++ b/dev-java/jline/files/build-0.9.9.xml
@@ -0,0 +1,77 @@
+<project name="jline" default="jar" basedir=".">
+ <property file="${user.home}/.m2/maven.properties"/>
+ <property name="maven.build.output" value="target/classes"/>
+ <property name="maven.build.directory" value="target"/>
+ <property name="maven.build.final.name" value="jline-0.9.9"/>
+ <property name="maven.test.reports" value="${maven.build.directory}/test-reports"/>
+ <property name="maven.test.output" value="target/test-classes"/>
+ <property name="maven.repo.local" value="${user.home}/.m2/repository"/>
+ <path id="build.classpath">
+ <fileset dir="lib" includes="**/*.jar"/>
+ </path>
+ <target name="clean" description="Clean the output directory">
+ <delete dir="${maven.build.directory}"/>
+ </target>
+ <target name="compile" depends="" description="Compile the code">
+ <mkdir dir="${maven.build.output}"/>
+ <javac destdir="${maven.build.output}" excludes="**/package.html" debug="true" deprecation="true" optimize="false">
+ <src>
+ <pathelement location="src/main/java"/>
+ </src>
+ <classpath refid="build.classpath"/>
+ </javac>
+ <copy todir="${maven.build.output}">
+ <fileset dir="src/main/resources"/>
+ </copy>
+ </target>
+ <target name="jar" depends="compile,test" description="Clean the JAR">
+ <jar jarfile="${maven.build.directory}/${maven.build.final.name}.jar" basedir="${maven.build.output}" excludes="**/package.html"/>
+ </target>
+ <target name="compile-tests" depends="junit-present, compile" description="Compile the test code" if="junit.present">
+ <mkdir dir="${maven.test.output}"/>
+ <javac destdir="${maven.test.output}" excludes="**/package.html" debug="true" deprecation="true" optimize="false">
+ <src>
+ <pathelement location="src/test/java"/>
+ </src>
+ <classpath>
+ <path refid="build.classpath"/>
+ <pathelement location="${maven.build.output}"/>
+ </classpath>
+ </javac>
+ <copy todir="${maven.test.output}">
+ <fileset dir="src/test/resources"/>
+ </copy>
+ </target>
+ <target name="test" depends="junit-present, compile-tests" if="junit.present" description="Run the test cases">
+ <mkdir dir="${maven.test.reports}"/>
+ <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
+ <sysproperty key="basedir" value="."/>
+ <formatter type="xml"/>
+ <formatter type="plain" usefile="false"/>
+ <classpath>
+ <path refid="build.classpath"/>
+ <pathelement location="${maven.build.output}"/>
+ <pathelement location="${maven.test.output}"/>
+ </classpath>
+ <batchtest todir="${maven.test.reports}">
+ <fileset dir="src/test/java">
+ <include name="**/*Test.java"/>
+ <exclude name="**/*Abstract*Test.java"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ </target>
+ <target name="test-junit-present">
+ <available classname="junit.framework.Test" property="junit.present"/>
+ </target>
+ <target name="junit-present" depends="test-junit-present" unless="junit.present">
+ <echo>================================= WARNING ================================</echo>
+ <echo> Junit isn&apos;t present in your $ANT_HOME/lib directory. Tests not executed. </echo>
+ <echo>==========================================================================</echo>
+ </target>
+ <target name="test-offline">
+ <condition property="maven.mode.offline">
+ <equals arg1="${build.sysclasspath}" arg2="only"/>
+ </condition>
+ </target>
+</project>
diff --git a/dev-java/jline/files/digest-jline-0.9.9 b/dev-java/jline/files/digest-jline-0.9.9
new file mode 100644
index 000000000000..f5517e92a160
--- /dev/null
+++ b/dev-java/jline/files/digest-jline-0.9.9
@@ -0,0 +1,3 @@
+MD5 c5164fb17d33315fa2c1ad10ab84aef7 jline-0.9.9.zip 692022
+RMD160 62e45ddadf1eb175cf0271df5f8f8d6075f62f07 jline-0.9.9.zip 692022
+SHA256 f1ac3b06fbb9b81c03555874ab748c3e674644736f0003ac3ed81d6201332e9b jline-0.9.9.zip 692022