[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Packaging a library, with JNI and javadocs



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> Well. It is mostly because to help the build daemons. Many java packages
> (especially in the contrib section) depend on non-packaged stuff to build
> the package. So arch independent -java packages are really nice.

I'm not sure I see how this helps the build daemons.  If something depends on 
non-packaged stuff at build time, the build daemons can't build it anyway 
since they won't have the build dependencies available to them.  If something 
doesn't depend on non-packaged stuff at build time then the build daemons 
should be fine regardless of architecture.

> I have now taken a _quick_ look at it. Would it be possible to use the
> .c stuff (arch dependent) stuff outside of java?

Not really.  The C library contains java-specific wrappers.  In fact, all 
that's really in the libreadline-java C library is java-specific wrappers to 
the usual libedit routines.

> Can the java classes be used without the .c (arch dependent) stuff?

No.  They will not function without the C library (the JVM will throw an 
exception if the C library is not available).

> I know I'm in favour of splitting things but I also know that all people
> are not. :)

I do believe in this instance that neither the java classes nor the C library 
make sense without the other.

Ben. :)

- -- 

Ben Burton
benb@acm.org  |  bab@debian.org
Public Key: finger bab@debian.org

To love oneself is the beginning of a lifelong romance.
	- Oscar Wilde

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9gJKjMQNuxza4YcERAoq5AJ9pV9P8GLKNQx4iChrj4cC2XcQ9aQCgmpFe
p6haJIjTU/7MV1CyK0vcgcY=
=gCmJ
-----END PGP SIGNATURE-----



Reply to: