Did you take a look at jpackage project, a rpm java distribution ? www.jpackage.org
2005/5/12, Bill Campbell <[EMAIL PROTECTED]>: > On Thu, May 12, 2005, Michael Schloh wrote: > >Triggered by a thoughtful observation from Matthias KURZ [0], we > >considered how the future package structure should be for packages > >containing java bytecodes (.jar or .class files). Please post objections > >to the standard we concluded on. > > > >A java package contains bytecode files in %{l_prefix}/lib/<pkgname> > >along with all its runtime resources. > > > >The j2se package itself stays in %{l_prefix}/libexec/j2se due to its > >platform specific code. > > > >So for example in the instance /openpkg we have: > > > > /openpkg/libexec/j2se > > /openpkg/lib/ant > > > >It is unclear if a new abstraction is needed along the lines of > >the package perl-openpkg. If so it would be called java-openpkg. > >The main question is how to coerce java bytecode to recognize > >the redirected destination paths of any resource dependencies. > > Some of this was discussed in a thread I started in March 2003, > subject ``Java CLASSPATH Standards''. On 6 March 2003, Michael > Schloh von Bennewitz <[EMAIL PROTECTED]> wrote: > > There's no standard so let's make one ;-) %{l_prefix}/lib/java/ > is generic and makes sense to me. If nobody complains, then > it's the new CLASSPATH standard and will be documented as such. > > There are already some jar files installed to > %{l_prefix}/libexec/j2se/, but I think we need to leave those > there (Sun has their own standard for where to find things.) I > ponder symlinks to %{l_prefix}/lib/java/, though. > > Bill > -- > INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Systems, Inc. > UUCP: camco!bill PO Box 820; 6641 E. Mercer Way > FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 > URL: http://www.celestial.com/ > > ``But how is this legal plunder to be identified? Quite simply. See if the > law takes from some persons what belongs to them, and gives it to other > persons to whom it does not belong. See if the law benefits one citizen at > the expense of another by doing what the citizen himself cannot do without > committing a crime.'' -- Frederic Bastiat, The Law > ______________________________________________________________________ > The OpenPKG Project www.openpkg.org > Developer Communication List openpkg-dev@openpkg.org > ______________________________________________________________________ The OpenPKG Project www.openpkg.org Developer Communication List openpkg-dev@openpkg.org