ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nico Seessle" <Nico.Sees...@epost.de>
Subject Re: [PATCH] Cab.java - use libcabinet on Unix to create Cab-Files
Date Mon, 06 Nov 2000 21:53:08 GMT
----- Original Message -----
From: "Stefan Bodewig" <bodewig@bost.de>
To: <ant-dev@jakarta.apache.org>
Sent: Monday, November 06, 2000 3:35 PM
Subject: Re: [PATCH] Cab.java - use libcabinet on Unix to create Cab-Files


> >>>>> "NS" == Nico Seessle <Nico.Seessle@epost.de> writes:
>
>  NS> Another possibility would be to use com.ms.util.cab-Package but
>  NS> the user would need to provide the corrent jar-file containing
>  NS> these classes by hand
>
> Danger, non-Microsoft user alert, this questions may be stupid!

Maybe it seemed more complicated than it was meant :-)

> Why would one need to pass the JAR file by hand? Wouldn't it be enough
> to place the classes in the CLASSPATH?
>
> Furthermore, are these classes pure Java or do they require native
> code?

They seem to be pure java (I succesfully tested it on RedHat 7.0 :-) )

> What about the license, can I go to Microsoft and download them
> freely, place them on my FreeBSD box and play with them?

That was what I meant with "the user would need to provide the corrent
jar-file containing these classes by hand" - these classes are included with
the MS VM, you can create a files C:\WinNT\java\classes\classes.zip from the
internal magic package-store (Package-Manager) MS is using, extract the
classes from there, put them in a new JAR and put this on your CLASSPATH.
Not the simpliest thing to do :-) I don't know what licensing issues are
coming into place then, I don't think anyone will say something if you
repackage some classes for personal use (but we could not distribute them
with Ant I guess :-) )

On the other hand it was easier to implement this than to compile libcabinet
on RH7 :-(

Nico



Mime
View raw message