You are not logged in.

#1 2005-10-16 15:14:55

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Java apps again!

While trying to follow Dusty's guidelines I have had some problems with two apps.  The guidelines call for you to place non-jar files in /usr/share but I can't figure out how to pint these apps to their other files.  I figure the secret is in the .jars themselves but I dunno where to look - ideas and suggestions welcome!

The build files for the apps can be found in http://dtw.jiwe.org/share/errors/interlis-compiler and http://dtw.jiwe.org/share/errors/umleditor

Offline

#2 2005-10-16 15:58:16

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Java apps again!

I'm looking at the interlis one right now, will get back to you eventually....

FTR, the java packaging guidelines are here: http://www.buchuki.com/misc/archjava.html and if somebody wanted to copy them to the wiki, they will find that.... ugh, I have to be honest.... they'll find that its a thankless job. But they would still be glad to have done something for Arch....

Dusty

Offline

#3 2005-10-16 18:45:26

arooaroo
Member
From: London, UK
Registered: 2005-01-13
Posts: 1,268
Website

Re: Java apps again!

It's all done with setting the classpath flag (or env) so that java can find the required jars.

When creating the PKGBUILD for jacman, I based it on Dusty's JEdit PKGBUILD. I'm sure if you look at a few Java-based packages, you'll get the gist.

Offline

#4 2005-10-16 18:55:48

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Java apps again!

No, that's not the prob here. The problem is that the jar file appears to expect the non-classpath files (ie: support files, config files, images, etc) to be in the same directory is the jar or something. The sources don't appear to be available so I don't know how to get around it -- I'd say this was one of those special case problems to go in /opt...  sad

Dusty

Offline

Board footer

Powered by FluxBB