Re: Solution for CLASSPATH

2003-04-19 Thread Nicos Panayides
> > > It works here. Try editing the shell script and replace > java -Djava.system.class.loader=DebianClassLoader "$@" > with: java DebianClassLoader "$@" > > The problem might be that the particular property was introduced in later > versions. I am using 1.4.1 I created a fixed package. It w

Re: Solution for CLASSPATH

2003-04-19 Thread Nicos Panayides
On Sat, 2003-04-19 at 09:15, Mark Howard wrote: > On Sat, 2003-04-19 at 12:40, Nicos Panayides wrote: > > What do you think? > > sounds good > > What happens if a class is in multiple jar files? which will be used? It is arbitrary (the ordering depends on the order java.Files.getFiles() returns

Re: Solution for CLASSPATH

2003-04-19 Thread Nicos Panayides
On Sat, 2003-04-19 at 09:14, Arnaud Vandyck wrote: > Great idea but it does not work for me... > > ant1.5.1-1, j2sdk1.3 - 1.3.1.02b-2 - Blackdown Java(TM) 2 SDK, > Standard Edition and debian-classloader are installed. > > $ deb-java org.apache.tools.ant.Main > Exception in thread "main" java.lan

Sponsor for a bootstrapping Java++ compiler

2003-04-19 Thread Daniel Bonniot
Hi, I am the upstream author of the Nice language, which is an extension of Java with many advanced features. It is released under the GPL. Homepage: http://nice.sourceforge.net Being a faithful Debian user, I started building and distributing debian packages for the compiler a few month ago. T

Re: Solution for CLASSPATH

2003-04-19 Thread Arnaud Vandyck
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nicos Panayides <[EMAIL PROTECTED]> wrote: [...] > I have created the classloader (extends java.net.URLClassLoader) and > it works ok. deb-java is the wrapper script for the classloader. It > sets the classpath only for the jar file with the classload

Re: Solution for CLASSPATH

2003-04-19 Thread Mark Howard
On Sat, 2003-04-19 at 12:40, Nicos Panayides wrote: > What do you think? sounds good What happens if a class is in multiple jar files? which will be used? Does this has any performance impact? (i.e. does it take a while to search through the jar files). -- .''`. Mark Howard : :' : `. `' h

Updates to Debian Java FAQ

2003-04-19 Thread Egon
Hi all, because the current maintainer is having a holiday, a recent and updated Debian Java FAQ can be found here: http://www-woc.sci.kun.nl/devel/egonw/debjava/debian-java-faq.html/ All changes made in this version, based on 1.20 in CVS, will be integrated (in arrangement with Javier) with th

Solution for CLASSPATH

2003-04-19 Thread Nicos Panayides
Hi all, I figured a way to make the job of java packaging a bit easier. The current approach is to create wrapper scripts that define the classpath and call java with the name of class containing the main. The problem is with package A depending on libraries from package B which in turns depends o