[fedora-java] java help properly packaging LightZone

Michael Simacek msimacek at redhat.com
Sun Jun 1 17:49:21 UTC 2014


----- Original Message -----
> From: "Matthew Miller" <mattdm at fedoraproject.org>
> To: "Michael Simacek" <msimacek at redhat.com>
> Cc: java-devel at lists.fedoraproject.org
> Sent: Sunday, June 1, 2014 7:15:51 PM
> Subject: Re: [fedora-java] java help properly packaging LightZone
> 
> On Sun, Jun 01, 2014 at 01:10:08PM -0400, Michael Simacek wrote:
> > You should probably create a stripped version of the source archive without
> > the
> 
> Thanks, yeah -- looking into that, and I appreciate the pointers.
> 
> > You need to point the build system to the right locations. You need to
> > either
> > patch the build files or make symlinks to system-wide files. There is a
> > script -
> > build-jar-repository that could simplify this task. Since the build file is
> > looking
> > for the jars in lib/ directory, create symlinks with build-jar-repository
> > there.
> 
> Cool.
> 
> > The native files that are really produced during the build belong to
> > %{_jnidir} (.jar files using native parts) and %{_libdir} (.so files).
> 
> How do I tell which jar files use native parts?
> 
> 

AFAIK, those which call System.loadLibrary or System.load.
But I'm not experienced with that.

Michael Simacek

> 
> --
> Matthew Miller    --   Fedora Project    --    <mattdm at fedoraproject.org>
>                                   "Tepid change for the somewhat better!"
> 


More information about the java-devel mailing list