Re: Problem with awt.Panel

2003-05-12 Thread Nicos Panayides
Hi, On Mon, 2003-05-12 at 02:33, Tom Badran wrote: > I have an application that uses a borderlayout, where the BorderLayout.CENTER > component is a Panel reference, to a class instance that is a subclass of > Panel. The initial add is fine, and it all works well, however if i do a > remove(Pane

Packager friendly classloader attempt 3

2003-04-26 Thread Nicos Panayides
Hi again, after more suggestions from the list the classloader works as follows: Typical invocation: deb-java package class - Reads a file with the name of the package (which is to provided by the package) under /usr/share/debian-classloader/ - Loads classpath and dependency information from the

Re: Solution for CLASSPATH revisited

2003-04-22 Thread Nicos Panayides
On Tue, 2003-04-22 at 00:17, Ola Lundqvist wrote: > Hello > > On Mon, Apr 21, 2003 at 07:25:30PM -0700, Nicos Panayides wrote: > > After suggestions from Ola I extended the classloaded and it now works with > > package dependencies. > > > > How it works: >

Solution for CLASSPATH revisited

2003-04-21 Thread Nicos Panayides
After suggestions from Ola I extended the classloaded and it now works with package dependencies. How it works: Every package has a file in /etc/debian-classloader/ with the following format: classpath = /usr/share/java/x.jar ... depends = package1 package2 A class is started with: deb-

Re: Solution for CLASSPATH

2003-04-20 Thread Nicos Panayides
On Sun, 2003-04-20 at 09:37, Ola Lundqvist wrote: > > It is arbitrary (the ordering depends on the order java.Files.getFiles() > > returns filenames. That is why classes should have a unique name (this > > is the case for most packages, if not all) and it has the same effect as > > adding everythin

Re: Sun J2SDK 1.4 installation in debian way

2003-04-20 Thread Nicos Panayides
ure java and javac are in your PATH, or use alternatives. Nicos -- Nicos Panayides <[EMAIL PROTECTED]>

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 orde

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

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

Re: How to package part of Java tool as binary? (Was: Debian/Java)

2003-04-10 Thread Nicos Panayides
There are more than one ways to do this. My suggestion is to have two packages: cdk-java (command line) cdk-gui-java (swing stuff) the command line package needs to be compilable with a free javac (gij, jikes etc). As for the binary I don't think it provides any real benefit besides a slightly re

Re: deb for netbeans

2002-05-06 Thread Nicos Panayides
After the whole discussion whether the package can be packaged or not let me say this. Even if it is packaged most people will not use it simply because it is so damn slow. I try almost every Forte/Netbeans release it comes out hoping that it can run at a decent speed on my p3/500. So far it is so

Re: deb for netbeans

2002-05-06 Thread Nicos Panayides
After the whole discussion whether the package can be packaged or not let me say this. Even if it is packaged most people will not use it simply because it is so damn slow. I try almost every Forte/Netbeans release it comes out hoping that it can run at a decent speed on my p3/500. So far it is so

Re: deb for netbeans

2002-05-03 Thread Nicos Panayides
ian officially but hopefully someday there will be, and not handling specification dependencies will cause some headaches to the users. On Fri, 2002-05-03 at 06:45, Matt Zimmerman wrote: > On Thu, May 02, 2002 at 11:46:42PM -0700, Nicos Panayides wrote: > > > I was wondering now that yo

Re: deb for netbeans

2002-05-03 Thread Nicos Panayides
ian officially but hopefully someday there will be, and not handling specification dependencies will cause some headaches to the users. On Fri, 2002-05-03 at 06:45, Matt Zimmerman wrote: > On Thu, May 02, 2002 at 11:46:42PM -0700, Nicos Panayides wrote: > > > I was wondering now that yo

Re: deb for netbeans

2002-05-03 Thread Nicos Panayides
I was wondering now that you mensioned the java2 vm. I've seen on the "packages being worked on" list that openoffice debs are being prepared. I am not sure how accurate this list is but openoffice is on. As far as i know both openoffice and sun's jdk have the same licenses. How come sun's jdk (or

Re: deb for netbeans

2002-05-02 Thread Nicos Panayides
I was wondering now that you mensioned the java2 vm. I've seen on the "packages being worked on" list that openoffice debs are being prepared. I am not sure how accurate this list is but openoffice is on. As far as i know both openoffice and sun's jdk have the same licenses. How come sun's jdk (or