Skip to content

Instantly share code, notes, and snippets.

@THUFIR
Created March 29, 2012 14:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save THUFIR/2237973 to your computer and use it in GitHub Desktop.
Save THUFIR/2237973 to your computer and use it in GitHub Desktop.
activation.jar
thufir@dur:~/gnu$
thufir@dur:~/gnu$
thufir@dur:~/gnu$ wget http://ftp.gnu.org/gnu/classpathx/activation-1.1.1.tar.gz
--2012-03-29 07:27:05-- http://ftp.gnu.org/gnu/classpathx/activation-1.1.1.tar.gz
Resolving ftp.gnu.org... 208.118.235.20, 2001:4830:134:3::b
Connecting to ftp.gnu.org|208.118.235.20|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 157018 (153K) [application/x-gzip]
Saving to: `activation-1.1.1.tar.gz'
100%[==================================================>] 157,018 104K/s in 1.5s
2012-03-29 07:27:07 (104 KB/s) - `activation-1.1.1.tar.gz' saved [157018/157018]
thufir@dur:~/gnu$
thufir@dur:~/gnu$ ll
total 164
drwxrwxr-x 2 thufir thufir 4096 2012-03-29 07:27 ./
drwxr-xr-x 67 thufir thufir 4096 2012-03-29 07:26 ../
-rw-rw-r-- 1 thufir thufir 157018 2006-05-13 02:54 activation-1.1.1.tar.gz
thufir@dur:~/gnu$
thufir@dur:~/gnu$ tar -xf activation-1.1.1.tar.gz
thufir@dur:~/gnu$
thufir@dur:~/gnu$ cd activation-1.1.1/
thufir@dur:~/gnu/activation-1.1.1$
thufir@dur:~/gnu/activation-1.1.1$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcj... no
checking for jikes... no
checking for ejc... no
checking for guavac... no
checking for javac... javac
checking if javac works... yes
checking for fastjar... no
checking for jar... jar
checking for gjdoc... no
checking for javadoc... javadoc
You have no CLASSPATH, I hope it is good
configure: creating ./config.status
config.status: creating Makefile
thufir@dur:~/gnu/activation-1.1.1$
thufir@dur:~/gnu/activation-1.1.1$ ./make
-bash: ./make: No such file or directory
thufir@dur:~/gnu/activation-1.1.1$
thufir@dur:~/gnu/activation-1.1.1$ make
mkdir -p classes
mkdir -p classes/META-INF
cp ./COPYING classes/META-INF/
cp ./mailcap.default classes/META-INF/
cp ./mimetypes.default classes/META-INF/
javac -classpath classes:./source -d classes source/javax/activation/ActivationDataFlavor.java
Note: source/javax/activation/ActivationDataFlavor.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
javac -classpath classes:./source -d classes source/javax/activation/CommandInfo.java
javac -classpath classes:./source -d classes source/javax/activation/CommandMap.java
javac -classpath classes:./source -d classes source/javax/activation/CommandObject.java
javac -classpath classes:./source -d classes source/javax/activation/DataContentHandler.java
javac -classpath classes:./source -d classes source/javax/activation/DataContentHandlerFactory.java
javac -classpath classes:./source -d classes source/javax/activation/DataHandler.java
javac -classpath classes:./source -d classes source/javax/activation/DataHandlerDataSource.java
javac -classpath classes:./source -d classes source/javax/activation/DataSource.java
javac -classpath classes:./source -d classes source/javax/activation/DataSourceDataContentHandler.java
javac -classpath classes:./source -d classes source/javax/activation/FileDataSource.java
javac -classpath classes:./source -d classes source/javax/activation/FileTypeMap.java
javac -classpath classes:./source -d classes source/javax/activation/MailcapCommandMap.java
Note: source/javax/activation/MailcapCommandMap.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
javac -classpath classes:./source -d classes source/javax/activation/MimeType.java
source/javax/activation/MimeType.java:262: error: no suitable constructor found for MimeTypeParseException(String,String)
throw new MimeTypeParseException(message, token);
^
constructor MimeTypeParseException.MimeTypeParseException(String) is not applicable
(actual and formal argument lists differ in length)
constructor MimeTypeParseException.MimeTypeParseException() is not applicable
(actual and formal argument lists differ in length)
source/javax/activation/MimeType.java:269: error: no suitable constructor found for MimeTypeParseException(String,String)
throw new MimeTypeParseException(message, token);
^
constructor MimeTypeParseException.MimeTypeParseException(String) is not applicable
(actual and formal argument lists differ in length)
constructor MimeTypeParseException.MimeTypeParseException() is not applicable
(actual and formal argument lists differ in length)
2 errors
make: *** [classes/javax/activation/MimeType.class] Error 1
thufir@dur:~/gnu/activation-1.1.1$
thufir@dur:~/gnu/activation-1.1.1$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment