Re: Java wrappers and java-common

2008-01-04 Thread Vincent Fourmond
Michael Koch wrote: > On Fri, Jan 04, 2008 at 04:42:30PM +0100, Vincent Fourmond wrote: > java-common in Ubuntu has another mechanism applied to it (but its > unused currently). Perhaps its possible to merge stuff from that. If I read the code right, they just have a list of possible JAVA_HOME i

Re: Java wrappers and java-common

2008-01-04 Thread Michael Koch
On Fri, Jan 04, 2008 at 04:42:30PM +0100, Vincent Fourmond wrote: > > Hello, > > Michael Koch wrote: > > "find_java_runtime" is harder. You actually need to run the programs to > > really find out if a runtime works with a given program. > > Well, this approach won't be practical. I preferre

Re: Java wrappers and java-common

2008-01-04 Thread Vincent Fourmond
Hello, Michael Koch wrote: > "find_java_runtime" is harder. You actually need to run the programs to > really find out if a runtime works with a given program. Well, this approach won't be practical. I preferred to use a system of 'capacities' : do we need swing, some of sun's classes, a jav

Re: File locations: EAR, WAR, XML datasource

2008-01-04 Thread Michael Koch
> Ultimately, here is the use case I am looking at: > > - a user decides they want a particular package (e.g. xwiki, a WAR file) > > - they type apt-get install xwiki Easy. > - the package depends on other packages: j2ee-war-container and > jdbc-driver, and it recommends relational-database Eas