diff options
-rw-r--r-- | dev-db/octopus/ChangeLog | 10 | ||||
-rw-r--r-- | dev-db/octopus/Manifest | 3 | ||||
-rw-r--r-- | dev-db/octopus/files/digest-octopus-3.0.1 | 2 | ||||
-rw-r--r-- | dev-db/octopus/files/octopus-3.0.1-gentoo-build.xml | 497 | ||||
-rw-r--r-- | dev-db/octopus/metadata.xml | 5 | ||||
-rw-r--r-- | dev-db/octopus/octopus-3.0.1.ebuild | 65 |
6 files changed, 582 insertions, 0 deletions
diff --git a/dev-db/octopus/ChangeLog b/dev-db/octopus/ChangeLog new file mode 100644 index 000000000000..fd11ec0d1285 --- /dev/null +++ b/dev-db/octopus/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-db/octopus +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/octopus/ChangeLog,v 1.1 2005/01/22 17:28:32 luckyduck Exp $ + +*octopus-3.0.1 (22 Jan 2005) + + 22 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org> +metadata.xml, + +files/octopus-3.0.1-gentoo-build.xml, +octopus-3.0.1.ebuild: + Initial import. Fixes bug #75622. + diff --git a/dev-db/octopus/Manifest b/dev-db/octopus/Manifest new file mode 100644 index 000000000000..e487b51e4252 --- /dev/null +++ b/dev-db/octopus/Manifest @@ -0,0 +1,3 @@ +MD5 89950dc8b4d68012d6ce58320dd43688 octopus-3.0.1.ebuild 1575 +MD5 24925210eca628235c1f8a498f261dc2 files/octopus-3.0.1-gentoo-build.xml 15173 +MD5 a634674c47f2213dc1b3903c4f9a1264 files/digest-octopus-3.0.1 141 diff --git a/dev-db/octopus/files/digest-octopus-3.0.1 b/dev-db/octopus/files/digest-octopus-3.0.1 new file mode 100644 index 000000000000..082387fe869a --- /dev/null +++ b/dev-db/octopus/files/digest-octopus-3.0.1 @@ -0,0 +1,2 @@ +MD5 f10c24812c25006dedf71ee8e9c1a754 octopus-3.0-1.src.tar.gz 25968343 +MD5 68e08cccd4251b577b2becef5d64b26c octopus-xmls-3.0.1.tar.bz2 22492 diff --git a/dev-db/octopus/files/octopus-3.0.1-gentoo-build.xml b/dev-db/octopus/files/octopus-3.0.1-gentoo-build.xml new file mode 100644 index 000000000000..fbd16ba766a8 --- /dev/null +++ b/dev-db/octopus/files/octopus-3.0.1-gentoo-build.xml @@ -0,0 +1,497 @@ +<?xml version="1.0"?> + +<project name="octopus" default="jar"> + <!-- some properties --> + <property name="dist.dir" value="dist" /> + <property name="build.top.dir" value="build" /> + <property name="docs.top.dir" value="docs" /> + <property name="target.jdk" value="1.4" /> + + <!-- init --> + <target name="init"> + <mkdir dir="${dist.dir}" /> + <mkdir dir="${docs.top.dir}" /> + <mkdir dir="${build.top.dir}" /> + + <mkdir dir="${build.octopus.dir}" /> + <mkdir dir="${docs.octopus.dir}" /> + + <mkdir dir="${build.octopus-generator.dir}" /> + <mkdir dir="${docs.octopus-generator.dir}" /> + + <mkdir dir="${build.octopus-task.dir}" /> + <mkdir dir="${docs.octopus-task.dir}" /> + + <mkdir dir="${build.octopus-test.dir}" /> + <mkdir dir="${docs.octopus-test.dir}" /> + + <mkdir dir="${build.csvjdbc.dir}" /> + <mkdir dir="${docs.csvjdbc.dir}" /> + + <mkdir dir="${build.xmljdbc.dir}" /> + <mkdir dir="${docs.xmljdbc.dir}" /> + + <mkdir dir="${build.log4jlogger.dir}" /> + <mkdir dir="${docs.log4jlogger.dir}" /> + + <mkdir dir="${build.i18njdbc.dir}" /> + <mkdir dir="${docs.i18njdbc.dir}" /> + + <mkdir dir="${build.xmlutil.dir}" /> + <mkdir dir="${docs.xmlutil.dir}" /> + </target> + + + <!-- jar all --> + <target name="jar-all" + depends="jar-octopus, jar-xmlutil, jar-octopus-generator, jar-octopus-task, jar-octopus-test, jar-xmlutil, jar-csvjdbc, jar-xmljdbc, jar-log4jlogger, jar-i18njdbc" /> + + <!-- docs all --> + <target name="docs-all" + depends="docs-octopus, docs-xmlutil, docs-octopus-generator, docs-octopus-task, docs-octopus-test, docs-xmlutil, docs-csvjdbc, docs-xmljdbc, docs-log4jlogger, docs-i18njdbc" /> + + <!-- sourcezip all --> + <target name="sourcezip-all" + depends="sourcezip-octopus, sourcezip-xmlutil, sourcezip-octopus-generator, sourcezip-octopus-task, sourcezip-octopus-test, sourcezip-xmlutil, sourcezip-csvjdbc, sourcezip-xmljdbc, sourcezip-log4jlogger, sourcezip-i18njdbc" /> + + + <!-- ############## --> + <!-- Octopus module --> + <!-- ############## --> + <property name="build.octopus.dir" value="build/Octopus" /> + <property name="docs.octopus.dir" value="docs/Octopus" /> + <property name="src.octopus.dir" value="Octopus" /> + <property name="jar.octopus" value="${dist.dir}/Octopus.jar" /> + + <!-- compile everything --> + <target name="compile-octopus" depends="init"> + <javac srcdir="${src.octopus.dir}/src" + destdir="${build.octopus.dir}" + source="${target.jdk}" + target="${target.jdk}" /> + + <copy todir="${build.octopus.dir}"> + <fileset dir="${src.octopus.dir}/xmls" /> + </copy> + </target> + + <!-- build the jar file --> + <target name="jar-octopus" depends="compile-octopus"> + <jar jarfile="${jar.octopus}" basedir="${build.octopus.dir}" /> + </target> + + <!-- generate javadocs --> + <target name="docs-octopus" depends="init"> + <javadoc sourcepath="${src.octopus.dir}/src" + packagenames="org.*" + destdir="${docs.octopus.dir}" + author="true" + version="true" + use="true" + source="${target.jdk}" + windowtitle="${ant.project.name} API" /> + </target> + + <!-- zip Octopus sources --> + <target name="sourcezip-octopus"> + <zip destfile="${dist.dir}/Octopus-src.zip"> + <zipfileset dir="${src.octopus.dir}/src" /> + </zip> + </target> + + + + <!-- ############## --> + <!-- xmlutil module --> + <!-- ############## --> + <property name="build.xmlutil.dir" value="build/XMLutil" /> + <property name="docs.xmlutil.dir" value="docs/XMLutil" /> + <property name="src.xmlutil.dir" value="XMLutil" /> + <property name="jar.xmlutil" value="${dist.dir}/xmlutil.jar" /> + + <!-- compile everything --> + <target name="compile-xmlutil" depends="init"> + <javac srcdir="${src.xmlutil.dir}/src/src" + destdir="${build.xmlutil.dir}" + source="${target.jdk}" + target="${target.jdk}" /> + </target> + + <!-- build the jar file --> + <target name="jar-xmlutil" depends="compile-xmlutil"> + <jar jarfile="${jar.xmlutil}" basedir="${build.xmlutil.dir}" /> + </target> + + <!-- generate javadocs --> + <target name="docs-xmlutil" depends="init"> + <javadoc sourcepath="${src.xmlutil.dir}/src/src" + packagenames="org.*" + destdir="${docs.xmlutil.dir}" + author="true" + version="true" + use="true" + source="${target.jdk}" + windowtitle="${ant.project.name} API" /> + </target> + + <!-- zip xmlutil sources --> + <target name="sourcezip-xmlutil"> + <zip destfile="${dist.dir}/XMLutil-src.zip"> + <zipfileset dir="${src.xmlutil.dir}/src/src" /> + </zip> + </target> + + + + <!-- ####################### --> + <!-- OctopusGenerator module --> + <!-- ####################### --> + <property name="build.octopus-generator.dir" value="build/OctopusGenerator" /> + <property name="docs.octopus-generator.dir" value="docs/OctopusGenerator" /> + <property name="src.octopus-generator.dir" value="OctopusGenerator" /> + <property name="jar.octopus-generator" value="${dist.dir}/OctopusGenerator.jar" /> + + <!-- compile everything --> + <target name="compile-octopus-generator" depends="init, jar-xmlutil, jar-octopus"> + <javac srcdir="${src.octopus-generator.dir}/src" + destdir="${build.octopus-generator.dir}" + source="${target.jdk}" + target="${target.jdk}"> + <classpath> + <pathelement path="${jar.octopus}" /> + <pathelement path="${jar.xmlutil}" /> + </classpath> + </javac> + + <copy todir="${build.octopus-generator.dir}"> + <fileset dir="${src.octopus-generator.dir}/src"> + <exclude name="**/*.java" /> + </fileset> + </copy> + </target> + + <!-- build the jar file --> + <target name="jar-octopus-generator" depends="compile-octopus-generator"> + <jar jarfile="${jar.octopus-generator}" basedir="${build.octopus-generator.dir}"> + <manifest> + <attribute name="Main-Class" value="org.webdocwf.util.loader.wizard.WizardFrame" /> + </manifest> + </jar> + </target> + + <!-- generate javadocs --> + <target name="docs-octopus-generator" depends="init, jar-xmlutil, jar-octopus"> + <javadoc sourcepath="${src.octopus-generator.dir}/src" + packagenames="org.*" + destdir="${docs.octopus-generator.dir}" + author="true" + version="true" + use="true" + source="${target.jdk}" + windowtitle="${ant.project.name} API"> + <classpath> + <pathelement path="${jar.octopus}" /> + <pathelement path="${jar.xmlutil}" /> + </classpath> + </javadoc> + </target> + + <!-- zip OctopusGenerator sources --> + <target name="sourcezip-octopus-generator"> + <zip destfile="${dist.dir}/OctopusGenerator-src.zip"> + <zipfileset dir="${src.octopus-generator.dir}/src" /> + </zip> + </target> + + + + + + <!-- ################### --> + <!-- OctopusTasks module --> + <!-- ################### --> + <property name="build.octopus-task.dir" value="build/OctopusTask" /> + <property name="docs.octopus-task.dir" value="docs/OctopusTask" /> + <property name="src.octopus-task.dir" value="OctopusTask" /> + <property name="jar.octopus-task" value="${dist.dir}/OctopusTask.jar" /> + + <!-- compile everything --> + <target name="compile-octopus-task" depends="init"> + <javac srcdir="${src.octopus-task.dir}/src" + destdir="${build.octopus-task.dir}" + source="${target.jdk}" + target="${target.jdk}" /> + </target> + + <!-- build the jar file --> + <target name="jar-octopus-task" depends="compile-octopus-task"> + <jar jarfile="${jar.octopus-task}" basedir="${build.octopus-task.dir}" /> + </target> + + <!-- generate javadocs --> + <target name="docs-octopus-task" depends="init"> + <javadoc sourcepath="${src.octopus-task.dir}/src" + packagenames="org.*" + destdir="${docs.octopus-task.dir}" + author="true" + version="true" + use="true" + source="${target.jdk}" + windowtitle="${ant.project.name} API" /> + </target> + + <!-- zip OctopusTask sources --> + <target name="sourcezip-octopus-task"> + <zip destfile="${dist.dir}/OctopusTask-src.zip"> + <zipfileset dir="${src.octopus-task.dir}/src" /> + </zip> + </target> + + + + <!-- ################## --> + <!-- OctopusTest module --> + <!-- ################## --> + <property name="build.octopus-test.dir" value="build/OctopusTest" /> + <property name="docs.octopus-test.dir" value="docs/OctopusTest" /> + <property name="src.octopus-test.dir" value="OctopusTest" /> + <property name="jar.octopus-test" value="${dist.dir}/OctopusTest.jar" /> + + <!-- compile everything --> + <target name="compile-octopus-test" depends="init, jar-octopus"> + <javac srcdir="${src.octopus-test.dir}/src" + destdir="${build.octopus-test.dir}" + source="${target.jdk}" + target="${target.jdk}"> + <classpath> + <pathelement path="${jar.octopus}" /> + </classpath> + </javac> + </target> + + <!-- build the jar file --> + <target name="jar-octopus-test" depends="compile-octopus-test"> + <jar jarfile="${jar.octopus-test}" basedir="${build.octopus-test.dir}" /> + </target> + + <!-- generate javadocs --> + <target name="docs-octopus-test" depends="init, jar-octopus"> + <javadoc sourcepath="${src.octopus-test.dir}/src" + packagenames="org.*" + destdir="${docs.octopus-test.dir}" + author="true" + version="true" + use="true" + source="${target.jdk}" + windowtitle="${ant.project.name} API"> + <classpath> + <pathelement path="${jar.octopus}" /> + </classpath> + </javadoc> + </target> + + <!-- zip OctopusTest sources --> + <target name="sourcezip-octopus-test"> + <zip destfile="${dist.dir}/OctopusTest-src.zip"> + <zipfileset dir="${src.octopus-test.dir}/src" /> + </zip> + </target> + + + + + <!-- ############## --> + <!-- Csvjdbc module --> + <!-- ############## --> + <property name="build.csvjdbc.dir" value="build/Csvjdbc" /> + <property name="docs.csvjdbc.dir" value="docs/Csvjdbc" /> + <property name="src.csvjdbc.dir" value="Csvjdbc" /> + <property name="jar.csvjdbc" value="${dist.dir}/csvjdbc.jar" /> + + <!-- compile everything --> + <target name="compile-csvjdbc" depends="init"> + <javac srcdir="${src.csvjdbc.dir}/src/src/java" + destdir="${build.csvjdbc.dir}" + source="${target.jdk}" + target="${target.jdk}" /> + </target> + + <!-- build the jar file --> + <target name="jar-csvjdbc" depends="compile-csvjdbc"> + <jar jarfile="${jar.csvjdbc}" basedir="${build.csvjdbc.dir}" /> + </target> + + <!-- generate javadocs --> + <target name="docs-csvjdbc" depends="init"> + <javadoc sourcepath="${src.csvjdbc.dir}/src/src/java" + packagenames="org.*" + destdir="${docs.csvjdbc.dir}" + author="true" + version="true" + use="true" + source="${target.jdk}" + windowtitle="${ant.project.name} API" /> + </target> + + <!-- zip Csvjdbc sources --> + <target name="sourcezip-csvjdbc"> + <zip destfile="${dist.dir}/Csvjdbc-src.zip"> + <zipfileset dir="${src.csvjdbc.dir}/src/src/java" /> + </zip> + </target> + + + + + <!-- ############## --> + <!-- xmljdbc module --> + <!-- ############## --> + <property name="build.xmljdbc.dir" value="build/XMLjdbc" /> + <property name="docs.xmljdbc.dir" value="docs/XMLjdbc" /> + <property name="src.xmljdbc.dir" value="XMLjdbc" /> + <property name="jar.xmljdbc" value="${dist.dir}/xmljdbc.jar" /> + + <!-- compile everything --> + <target name="compile-xmljdbc" depends="init, jar-xmlutil"> + <javac srcdir="${src.xmljdbc.dir}/src/src" + destdir="${build.xmljdbc.dir}" + source="${target.jdk}" + target="${target.jdk}"> + <classpath> + <pathelement path="${jar.xmlutil}" /> + </classpath> + </javac> + </target> + + <!-- build the jar file --> + <target name="jar-xmljdbc" depends="compile-xmljdbc"> + <jar jarfile="${jar.xmljdbc}" basedir="${build.xmljdbc.dir}" /> + </target> + + <!-- generate javadocs --> + <target name="docs-xmljdbc" depends="init, jar-xmlutil"> + <javadoc sourcepath="${src.xmljdbc.dir}/src/src" + packagenames="org.*" + destdir="${docs.xmljdbc.dir}" + author="true" + version="true" + use="true" + source="${target.jdk}" + windowtitle="${ant.project.name} API"> + <classpath> + <pathelement path="${jar.xmlutil}" /> + </classpath> + </javadoc> + </target> + + <!-- zip XMLjdbc sources --> + <target name="sourcezip-xmljdbc"> + <zip destfile="${dist.dir}/XMLjdbc-src.zip"> + <zipfileset dir="${src.xmljdbc.dir}/src" /> + </zip> + </target> + + + + + <!-- ################## --> + <!-- Log4jlogger module --> + <!-- ################## --> + <property name="build.log4jlogger.dir" value="build/Log4jlogger" /> + <property name="docs.log4jlogger.dir" value="docs/Log4jlogger" /> + <property name="src.log4jlogger.dir" value="Log4jlogger" /> + <property name="jar.log4jlogger" value="${dist.dir}/Log4jlogger.jar" /> + + <!-- compile everything --> + <target name="compile-log4jlogger" depends="init, jar-octopus"> + <javac srcdir="${src.log4jlogger.dir}/src" + destdir="${build.log4jlogger.dir}" + source="${target.jdk}" + target="${target.jdk}"> + <classpath> + <pathelement path="${jar.octopus}" /> + </classpath> + </javac> + </target> + + <!-- build the jar file --> + <target name="jar-log4jlogger" depends="compile-log4jlogger"> + <jar jarfile="${jar.log4jlogger}" basedir="${build.log4jlogger.dir}" /> + </target> + + <!-- generate javadocs --> + <target name="docs-log4jlogger" depends="init, jar-octopus"> + <javadoc sourcepath="${src.log4jlogger.dir}/src" + packagenames="org.*" + destdir="${docs.log4jlogger.dir}" + author="true" + version="true" + use="true" + source="${target.jdk}" + windowtitle="${ant.project.name} API"> + <classpath> + <pathelement path="${jar.octopus}" /> + </classpath> + </javadoc> + </target> + + <!-- zip Log4jlogger sources --> + <target name="sourcezip-log4jlogger"> + <zip destfile="${dist.dir}/Log4jlogger-src.zip"> + <zipfileset dir="${src.log4jlogger.dir}/src" /> + </zip> + </target> + + + + + <!-- ############### --> + <!-- i18njdbc module --> + <!-- ############### --> + <property name="build.i18njdbc.dir" value="build/i18njdbc" /> + <property name="docs.i18njdbc.dir" value="docs/i18njdbc" /> + <property name="src.i18njdbc.dir" value="i18njdbc" /> + <property name="jar.i18njdbc" value="${dist.dir}/i18njdbc.jar" /> + + <!-- compile everything --> + <target name="compile-i18njdbc" depends="init"> + <javac srcdir="${src.i18njdbc.dir}/src" + destdir="${build.i18njdbc.dir}" + source="${target.jdk}" + target="${target.jdk}" /> + </target> + + <!-- build the jar file --> + <target name="jar-i18njdbc" depends="compile-i18njdbc"> + <jar jarfile="${jar.i18njdbc}" basedir="${build.i18njdbc.dir}" /> + </target> + + <!-- generate javadocs --> + <target name="docs-i18njdbc" depends="init"> + <javadoc sourcepath="${src.i18njdbc.dir}/src" + packagenames="org.*" + destdir="${docs.i18njdbc.dir}" + author="true" + version="true" + use="true" + source="${target.jdk}" + windowtitle="${ant.project.name} API" /> + </target> + + <!-- zip Octopus sources --> + <target name="sourcezip-i18njdbc"> + <zip destfile="${dist.dir}/i18njdbc-src.zip"> + <zipfileset dir="${src.i18njdbc.dir}/src" /> + </zip> + </target> + + + <!-- clean up --> + <target name="clean"> + <delete dir="${build.top.dir}" /> + <delete dir="${docs.top.dir}" /> + <delete dir="${dist.dir}" /> + </target> + + +</project> diff --git a/dev-db/octopus/metadata.xml b/dev-db/octopus/metadata.xml new file mode 100644 index 000000000000..838c00a4a448 --- /dev/null +++ b/dev-db/octopus/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>java</herd> +</pkgmetadata> diff --git a/dev-db/octopus/octopus-3.0.1.ebuild b/dev-db/octopus/octopus-3.0.1.ebuild new file mode 100644 index 000000000000..ac518180c1c6 --- /dev/null +++ b/dev-db/octopus/octopus-3.0.1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/octopus/octopus-3.0.1.ebuild,v 1.1 2005/01/22 17:28:32 luckyduck Exp $ + +inherit java-pkg + +MY_PV=${PV//./-} +MY_PV=${MY_PV/-/.} +DESCRIPTION="A Java-based Extraction, Transformation, and Loading (ETL) tool. It +may connect to any JDBC data sources and perform transformations defined in an +XML file." +SRC_URI="http://download.forge.objectweb.org/${PN}/${PN}-${MY_PV}.src.tar.gz + mirror://gentoo/${PN}-xmls-${PV}.tar.bz2" +HOMEPAGE="http://octopus.objectweb.org" +LICENSE="LGPL-2.1" +SLOT="3.0" +KEYWORDS="~x86 ~amd64" +IUSE="doc jikes source" +DEPEND=">=virtual/jdk-1.4 + jikes? ( >=dev-java/jikes-1.21 ) + source?( app-arch/zip ) + >=dev-java/ant-core-1.4 + >=app-arch/unzip-5.50-r1" +RDEPEND=">=virtual/jre-1.4 + >=dev-java/xerces-2.6 + >=dev-java/log4j-1.2.8 + >=dev-java/rhino-1.6.1 + >=dev-java/fop-0.20.5 + >=dev-db/hsqldb-1.7.2.4" + +S=${WORKDIR}/${PN}-3.0/Octopus-src + +src_unpack() { + unpack ${A} + + mv xmls ${S}/modules/Octopus + + cd ${S}/modules + cp ${FILESDIR}/${P}-gentoo-build.xml build.xml +} + +src_compile() { + cd ${S}/modules + + local antflags="jar-all" + use doc && antflags="${antflags} docs-all" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + use source && antflags="${antflags} sourcezip-all" + ant ${antflags} || die "failed to build" +} + +src_install() { + dodoc ChangeLog.txt LICENSE.txt ReleaseNotes.txt + + cd ${S}/modules + java-pkg_dojar dist/*.jar + + if use source; then + dodir /usr/share/doc/${PF}/source + cp dist/*-src.zip ${D}usr/share/doc/${PF}/source + fi + if use doc; then + java-pkg_dohtml -r docs/* + fi +} |