summaryrefslogtreecommitdiff
path: root/dummy/compiler
diff options
context:
space:
mode:
authorOla Nordmann <olapc@yahoo.no>2002-02-05 15:23:01 +0000
committerOla Nordmann <olapc@yahoo.no>2002-02-05 15:23:01 +0000
commit71d2bfb3ae80d6a977224cb332c53c849b03de5c (patch)
treef126a38684486c11174b94aa545c2138f7f5237e /dummy/compiler
parent196406f5864796382aaec1b375744b0574f0fa2c (diff)
downloadjava-common-71d2bfb3ae80d6a977224cb332c53c849b03de5c.tar.gz
Removed the dummy package code.
Diffstat (limited to 'dummy/compiler')
-rw-r--r--dummy/compiler/java-c60
-rw-r--r--dummy/compiler/java-c.131
-rw-r--r--dummy/compiler/java-c.conf-gcj4
-rw-r--r--dummy/compiler/java-c.conf-guavac4
-rw-r--r--dummy/compiler/java-c.conf-jdk3
-rw-r--r--dummy/compiler/java-c.conf-jikes4
6 files changed, 0 insertions, 106 deletions
diff --git a/dummy/compiler/java-c b/dummy/compiler/java-c
deleted file mode 100644
index edfa90b..0000000
--- a/dummy/compiler/java-c
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/bin/sh
-
-# java-c
-# Copyright 1999 Stephane Bortzmeyer.
-# 2001 Ola Lundqvist
-# Licensed under the GNU GPL.
-set -e
-
-repository=/usr/share/java/repository
-conf=/etc/java/java-c.conf
-
-javac=`head -1 $conf`
-
-if [ ! -n "$javac" ]
-then
- echo "Cannot find a Java compiler in $conf"
- exit 1
-fi
-
-defclasspath=`head -2 $conf | tail -1`
-
-if [ -n "$defclasspath" ]
-then
- MYCLASSPATH=${defclasspath}
-fi
-
-compliant=`head -3 $conf | tail -1`
-
-if [ "xx$compliant" != "xxCOMPLIANT" ]
-then
- if [ -n "$MYCLASSPATH" ]
- then
- MYCLASSPATH=${MYCLASSPATH}:$repository
- else
- MYCLASSPATH=$repository
- fi
-fi
-
-if [ -n "$CLASSPATH" ]
-then
- if [ -n "$MYCLASSPATH" ]
- then
- MYCLASSPATH=${MYCLASSPATH}:${CLASSPATH}
- else
- MYCLASSPATH=${CLASSPATH}
- fi
-fi
-
-if [ -n "$MYCLASSPATH" ]
-then
- CLASSPATH=$MYCLASSPATH
- export CLASSPATH
- #echo $CLASSPATH
-fi
-
-exec "$javac" "$@"
-
-echo "Cannot run $javac (found in $conf)"
-exit 1
-
diff --git a/dummy/compiler/java-c.1 b/dummy/compiler/java-c.1
deleted file mode 100644
index 6627181..0000000
--- a/dummy/compiler/java-c.1
+++ /dev/null
@@ -1,31 +0,0 @@
-.TH JAVA-C 1
-.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
-.\" other parms are allowed: see man(7), man(1)
-.SH JAVA-C
-java-c \- A dummy Java compiler for the Java policy
-.SH SYNOPSIS
-.B java-c
-.I "[options] files ..."
-.SH "DESCRIPTION"
-This manual page documents briefly the
-.BR java-c
-command.
-.PP
-.B java-c
-is a wrapper around the real Java compiler. It sets the CLASSPATH according
-to the Debian Java policy (if the compiler is not already compliant) and
-can also add other mandatory directories to the CLASSPATH. This is configured
-in
-/etc/java-c
-(see examples hereunder).
-.PP
-Your own CLASSPATH will be saved and appended.
-.SH OPTIONS
-They are passed uninterpreted to the compiler.
-.SH "SEE ALSO"
-/usr/doc/java-compiler-dummy
-and specially the "examples" directory.
-.SH AUTHOR
-This manual page was written by Stephane Bortzmeyer <bortzmeyer@debian.org>,
-and updated by Ola Lundqvist <opal@debian.org>,
-for the Debian GNU/Linux system (but may be used by others).
diff --git a/dummy/compiler/java-c.conf-gcj b/dummy/compiler/java-c.conf-gcj
deleted file mode 100644
index f8c7653..0000000
--- a/dummy/compiler/java-c.conf-gcj
+++ /dev/null
@@ -1,4 +0,0 @@
-/usr/bin/gcj
-
-COMPLIANT
-
diff --git a/dummy/compiler/java-c.conf-guavac b/dummy/compiler/java-c.conf-guavac
deleted file mode 100644
index bf2077a..0000000
--- a/dummy/compiler/java-c.conf-guavac
+++ /dev/null
@@ -1,4 +0,0 @@
-/usr/bin/guavac
-
-COMPLIANT
-
diff --git a/dummy/compiler/java-c.conf-jdk b/dummy/compiler/java-c.conf-jdk
deleted file mode 100644
index 7ac8b85..0000000
--- a/dummy/compiler/java-c.conf-jdk
+++ /dev/null
@@ -1,3 +0,0 @@
-/usr/lib/jdk1.1/bin/javac
-
-COMPLIANT
diff --git a/dummy/compiler/java-c.conf-jikes b/dummy/compiler/java-c.conf-jikes
deleted file mode 100644
index bdefc14..0000000
--- a/dummy/compiler/java-c.conf-jikes
+++ /dev/null
@@ -1,4 +0,0 @@
-/usr/bin/jikes
-/usr/share/kaffe/Klasses.jar:/usr/share/java/repository
-COMPLIANT
-