Re: Shipping of binaries in jar files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Andrew Haley (2013-04-26 11:11:41)
> On 04/22/2013 11:01 PM, Orion Poplawski wrote:
> > The eclipse PTP project that I package is starting to ship an executable in 
> > one of its plugins.  The executable is packed into a jar file.  This prevents 
> > debuginfo creation for the executable.
> > 
> > I started taking a look at how this might be handled elsewhere and found:
> > 
> > /usr/lib64/eclipse/dropins/cdt/eclipse/plugins/org.eclipse.cdt.core.linux.x86_64_5.2.0.201302132326.jar:
> >     13327  Defl:X     3624  73% 02-13-2013 23:21 326488c7 
> > os/linux/x86_64/libpty.so
> >     23720  Defl:X     7151  70% 02-13-2013 23:21 c26c2c94 
> > os/linux/x86_64/libspawner.so
> > 
> > but no debuginfo package.
> > 
> > Thoughts, comments?
> 
> This is pretty obviously a breach of packaging guidelines.  We shouldn't
> be hiding DSOs in archives.

Hmm, I am not aware of any guideline touching this topic (perhaps because it's
not that common). But from practical perspective these jars are extremely
practical because they don't have to deal with JNI file locations and similar
things which ten to be quite variable.

I don't consider this approach hiding, but we could surely improve the tooling
support for it. 

WRT original question, I am not sure how to proceed. Even if you generate
debuginfo packages I have to wonder how easy will it be to use in a debugger?

-- 
Stanislav Ochotnicky <sochotnicky@xxxxxxxxxx>
Software Engineer - Developer Experience

PGP: 7B087241
Red Hat Inc.                               http://cz.redhat.com

Attachment: signature.asc
Description: signature

--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/java-devel

[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux