Re: [Spacewalk-devel] java/code/libsrc in our repo?
On Thu, 10 Jun 2010 11:53:38 +0200 Jan Pazdziora wrote: > On Mon, Jun 07, 2010 at 07:53:28AM -0400, Tomas Lestach wrote: > > - "Jan Pazdziora" wrote: > > > > > Hello, > > > > > > we have 27 .jars in java/code/libsrc in our repo. What are they > > > used for? > > > > These are the sources of the external java libraries used in our > > project. Unfortunately not all of them. Unfortunately not all of > > them really match the runtime version. But very useful for > > debugging. > > So you say that it's useful to debug using sources that do not match > the compiled code? > > Isn't this what -debuginfo packages are exactly for? Having the > benefit of giving you the exact version that you debug, with exactly > the patches applied to your rpm, etc? > > > When you start coding and debugging java code, you'll really be > > grateful for them. :-) > > I sure hope I won't be forced to debug using sources that do not match > the code that I'm running. > > Please bring some more arguments because now even more than before > I feel that I'd be doing the world a service if I removed those > jars and forced people to use debuginfos properly. > There are no -debuginfo packages for noarch packages (e.g. java packages). Currently rpmbuild stores the the stripped symbols from the ELF binaries only. I think you need only to extract sources (and apply patches) from SRPMs. -- Jan Blazek Release Engineering, Red Hat ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel
Re: [Spacewalk-devel] java/code/libsrc in our repo?
On Mon, Jun 07, 2010 at 07:53:28AM -0400, Tomas Lestach wrote: > - "Jan Pazdziora" wrote: > > > Hello, > > > > we have 27 .jars in java/code/libsrc in our repo. What are they used > > for? > > These are the sources of the external java libraries used in our project. > Unfortunately not all of them. Unfortunately not all of them really match the > runtime version. But very useful for debugging. So you say that it's useful to debug using sources that do not match the compiled code? Isn't this what -debuginfo packages are exactly for? Having the benefit of giving you the exact version that you debug, with exactly the patches applied to your rpm, etc? > When you start coding and debugging java code, you'll really be grateful for > them. :-) I sure hope I won't be forced to debug using sources that do not match the code that I'm running. Please bring some more arguments because now even more than before I feel that I'd be doing the world a service if I removed those jars and forced people to use debuginfos properly. -- Jan Pazdziora Principal Software Engineer, Satellite Engineering, Red Hat ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel
Re: [Spacewalk-devel] java/code/libsrc in our repo?
- "Jan Pazdziora" wrote: > Hello, > > we have 27 .jars in java/code/libsrc in our repo. What are they used > for? These are the sources of the external java libraries used in our project. Unfortunately not all of them. Unfortunately not all of them really match the runtime version. But very useful for debugging. When you start coding and debugging java code, you'll really be grateful for them. :-) Please, do not remove. Regards, Tomas -- Tomas Lestach RHN Satellite Engineering, Red Hat > I can see references to libsrc in > > build.xml: > buildconf/build-props.xml: location="${basedir}/code/libsrc" /> > conf/eclipse/rhn_eclipse_libraries.xml: path="/usr/share/java/commons-beanutils.jar" > source="/rhn-java/code/libsrc/commons-beanutils-1.7.0-src.j > [...] > conf/eclipse/rhn_eclipse_libraries.xml: path="/usr/share/java/quartz.jar" > source="/rhn-java/code/libsrc/quartz-1.5.1-src.jar"/> > conf/eclipse/rhn_eclipse_libraries.xml: javadoc="file:/usr/share/javadoc/jakarta-commons-cli/" > path="/usr/share/java/commons-cli.jar" source="/r > > But why are we using .jars from our source repo which might be out > of date with libraries that our Java stack is compiled with/against, > or run with? > > Can we remove this directory and references to it? > > -- > Jan Pazdziora > Principal Software Engineer, Satellite Engineering, Red Hat > > ___ > Spacewalk-devel mailing list > Spacewalk-devel@redhat.com > https://www.redhat.com/mailman/listinfo/spacewalk-devel ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel
[Spacewalk-devel] java/code/libsrc in our repo?
Hello, we have 27 .jars in java/code/libsrc in our repo. What are they used for? I can see references to libsrc in build.xml: buildconf/build-props.xml: conf/eclipse/rhn_eclipse_libraries.xml: conf/eclipse/rhn_eclipse_libraries.xml:https://www.redhat.com/mailman/listinfo/spacewalk-devel