From overholt at redhat.com Mon Mar 3 18:32:15 2008 From: overholt at redhat.com (Andrew Overholt) Date: Mon, 03 Mar 2008 13:32:15 -0500 Subject: [fedora-java] IcedTea and fontconfig (was: [Fwd: Re: file dependencies and packages and [blocker] bugs]) Message-ID: <1204569135.596.30.camel@blingbling> -------- Forwarded Message -------- > From: Nicolas Mailhot > Reply-To: Development discussions related to Fedora > > To: Development discussions related to Fedora > > Subject: Re: file dependencies and packages and [blocker] bugs > Date: Mon, 03 Mar 2008 19:19:20 +0100 > > BTW I sure hope the icedtea plan involves moving java to fontconfig, > and not just replacing the crappy font renderer with freetype while > keeping the crappy font configuration engine intact. > > -- > fedora-devel-list mailing list > fedora-devel-list at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-devel-list From overholt at redhat.com Tue Mar 4 15:44:49 2008 From: overholt at redhat.com (Andrew Overholt) Date: Tue, 04 Mar 2008 10:44:49 -0500 Subject: [fedora-java] Anyone fancy taking over jython? Message-ID: <1204645489.31885.32.camel@blingbling> Hi, Does anyone have an interest in owning the jython package? I'm a horrible owner but thankfully there are only a handful of open bugs. I think there's actually a new release upstream as well. Anyone? Andrew From timothy.selivanow at virtualxistenz.com Tue Mar 4 17:24:09 2008 From: timothy.selivanow at virtualxistenz.com (Timothy Selivanow) Date: Tue, 04 Mar 2008 09:24:09 -0800 Subject: [fedora-java] Anyone fancy taking over jython? In-Reply-To: <1204645489.31885.32.camel@blingbling> References: <1204645489.31885.32.camel@blingbling> Message-ID: <1204651449.20402.7.camel@denkiteki-penpen.easystreet.com> On Tue, 2008-03-04 at 10:44 -0500, Andrew Overholt wrote: > Hi, > > Does anyone have an interest in owning the jython package? I'm a > horrible owner but thankfully there are only a handful of open bugs. I > think there's actually a new release upstream as well. > > Anyone? > > Andrew Oops, didn't notice that Andrew was the only one in the "To:" field the first time... I'm interested, but I'm still in NEEDSPONSOR and only have one pending package (pysvn). I'm sure there are other people that already have more experience (and therefore a better fit), but I'm still willing ;) --Tim __________________________________________________________ / "Love your country but never trust its government." \ \ -- from a hand-painted road sign in central Pennsylvania / ---------------------------------------------------------- \ \ \ \ /\ ( ) .( o ). From overholt at redhat.com Tue Mar 4 18:07:00 2008 From: overholt at redhat.com (Andrew Overholt) Date: Tue, 04 Mar 2008 13:07:00 -0500 Subject: [fedora-java] Anyone fancy taking over jython? In-Reply-To: <1204651449.20402.7.camel@denkiteki-penpen.easystreet.com> References: <1204645489.31885.32.camel@blingbling> <1204651449.20402.7.camel@denkiteki-penpen.easystreet.com> Message-ID: <1204654020.31885.44.camel@blingbling> On Tue, 2008-03-04 at 09:24 -0800, Timothy Selivanow wrote: > I'm interested, but I'm still in NEEDSPONSOR and only have one pending > package (pysvn). I'm sure there are other people that already have more > experience (and therefore a better fit), but I'm still willing ;) John Matthews offered as well. Maybe the two of you can work together once you're sponsored, Tim? Thanks, Andrew From overholt at redhat.com Fri Mar 7 14:00:21 2008 From: overholt at redhat.com (Andrew Overholt) Date: Fri, 07 Mar 2008 09:00:21 -0500 Subject: [fedora-java] [Fwd: [orbit-dev] Rename: Apache Commons is no longer Jakarta Commons] Message-ID: <1204898421.28606.14.camel@blingbling> Hi, > I noticed that the Apache Commons project got their completely > own server and other infrastructure, and they don't like to refer > to themselves as "Jakarta Commons" any more. > > Currently, links pointing to http://jakarta.apache.org/commons/net > for instance are redirectred to http://commons.apache.org/net/ > but it's unclear how long that will be the case. Does this affect Fedora package naming at all? Andrew From overholt at redhat.com Fri Mar 7 18:23:33 2008 From: overholt at redhat.com (Andrew Overholt) Date: Fri, 7 Mar 2008 13:23:33 -0500 Subject: [fedora-java] [mike.cloaked@gmail.com: Java security update and Iced Tea] Message-ID: <20080307182332.GA24663@redhat.com> ----- Forwarded message from Mike ----- > From: Mike > To: fedora-list at redhat.com > User-Agent: Loom/3.14 (http://gmane.org/) > Date: Fri, 7 Mar 2008 18:14:08 +0000 (UTC) > Subject: Java security update and Iced Tea > > Today I received a notification from US-CERT that > Sun Java Runtime Environment versions JDK and JRE 6 Update 4 and earlier > have multiple vulnerabilities and Java 1.6.0_05 is available as an update. > > Does anybody know if Iced Tea as current in F8 is immune from this problem? > This is effectively version 1.7.0 > > -- > fedora-list mailing list > fedora-list at redhat.com > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list ----- End forwarded message ----- From ihok at hotmail.com Sat Mar 8 18:39:32 2008 From: ihok at hotmail.com (Jack Tanner) Date: Sat, 8 Mar 2008 18:39:32 +0000 (UTC) Subject: [fedora-java] eclipse 3.3.2 Message-ID: New Eclipse is out. I couldn't even get through the new feature list, it's enormous. http://tinyurl.com/3btmmx At the same time, I didn't see much that I was dying to have in my development work. Does this release affect Fedora 9? From overholt at redhat.com Sat Mar 8 22:35:23 2008 From: overholt at redhat.com (Andrew Overholt) Date: Sat, 8 Mar 2008 17:35:23 -0500 Subject: [fedora-java] eclipse 3.3.2 In-Reply-To: References: Message-ID: <20080308223522.GA4418@redhat.com> * Jack Tanner [2008-03-08 13:40]: > New Eclipse is out. I couldn't even get through the new feature list, it's > enormous. > > http://tinyurl.com/3btmmx That's the feature list for 3.3.0 from June 2007. > At the same time, I didn't see much that I was dying to have in my > development work. Does this release affect Fedora 9? Fedora 9 will go out with 3.3.2 but I'm *hoping* to get 3.4 ready as an update sometime in the F9 cycle. It'll be tough, but I think we might be able to do it. Andrew -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From aph at redhat.com Mon Mar 10 14:56:12 2008 From: aph at redhat.com (Andrew Haley) Date: Mon, 10 Mar 2008 14:56:12 +0000 Subject: [fedora-java] [mike.cloaked@gmail.com: Java security update and Iced Tea] In-Reply-To: <20080307182332.GA24663@redhat.com> References: <20080307182332.GA24663@redhat.com> Message-ID: <47D54C0C.9010402@redhat.com> Andrew Overholt wrote: > ----- Forwarded message from Mike ----- > >> From: Mike >> To: fedora-list at redhat.com >> User-Agent: Loom/3.14 (http://gmane.org/) >> Date: Fri, 7 Mar 2008 18:14:08 +0000 (UTC) >> Subject: Java security update and Iced Tea >> >> Today I received a notification from US-CERT that >> Sun Java Runtime Environment versions JDK and JRE 6 Update 4 and earlier >> have multiple vulnerabilities and Java 1.6.0_05 is available as an update. >> >> Does anybody know if Iced Tea as current in F8 is immune from this problem? >> This is effectively version 1.7.0 Given thaht we don't know what vulnerabilities were described in the notification, the answer must be no. Unless someone on this list has some idea what vulnerabilities you're talking about... Andrew. From ihok at hotmail.com Mon Mar 10 19:45:00 2008 From: ihok at hotmail.com (Jack Tanner) Date: Mon, 10 Mar 2008 19:45:00 +0000 (UTC) Subject: [fedora-java] Re: eclipse 3.3.2 References: <20080308223522.GA4418@redhat.com> Message-ID: Andrew Overholt writes: > That's the feature list for 3.3.0 from June 2007. Ha! Well, that's the one linked from http://www.eclipse.org/downloads/ . :) > Fedora 9 will go out with 3.3.2 but I'm *hoping* to get 3.4 ready as an > update sometime in the F9 cycle. It'll be tough, but I think we might > be able to do it. Good luck, looking forward to it. From mike.cloaked at gmail.com Mon Mar 10 20:31:04 2008 From: mike.cloaked at gmail.com (Mike) Date: Mon, 10 Mar 2008 20:31:04 +0000 (UTC) Subject: [fedora-java] Re: [mike.cloaked@...: Java security update and Iced Tea] References: <20080307182332.GA24663@redhat.com> <47D54C0C.9010402@redhat.com> Message-ID: Andrew Haley writes: > Given thaht we don't know what vulnerabilities were described in the > notification, the answer must be no. Unless someone on this list > has some idea what vulnerabilities you're talking about... Copying from the US-CERT notice: Overview Sun has released alerts to address multiple vulnerabilities affecting the Sun Java Runtime Environment. The most severe of these vulnerabilities could allow a remote attacker to execute arbitrary code. I. Description The Sun Java Runtime Environment (JRE) allows users to run Java applications in a browser or as standalone programs. Sun has released updates to the Java Runtime Environment software to address multiple vulnerabilities. Further details about these vulnerabilities are available in the US-CERT Vulnerability Notes Database. Sun released the following alerts to address these issues: * 233321 Two Security Vulnerabilities in the Java Runtime Environment Virtual Machine * 233322 Security Vulnerability in the Java Runtime Environment With the Processing of XSLT Transformations * 233323 Multiple Security Vulnerabilities in Java Web Start May Allow an Untrusted Application to Elevate Privileges * 233324 A Security Vulnerability in the Java Plug-in May Allow an Untrusted Applet to Elevate Privileges * 233325 Vulnerabilties in the Java Runtime Environment image Parsing Library * 233326 Security Vulnerability in the Java Runtime Environment May Allow Untrusted JavaScript Code to Elevate Privileges Through Java APIs * 233327 Buffer Overflow Vulnerability in Java Web Start May Allow an Untrusted Application to Elevate its Privileges II. Impact The impacts of these vulnerabilities vary. The most severe of these vulnerabilities allows a remote attacker to execute arbitrary code. From mike.cloaked at gmail.com Mon Mar 10 20:37:16 2008 From: mike.cloaked at gmail.com (Mike) Date: Mon, 10 Mar 2008 20:37:16 +0000 (UTC) Subject: [fedora-java] Re: [mike.cloaked@...: Java security update and Iced Tea] References: <20080307182332.GA24663@redhat.com> <47D54C0C.9010402@redhat.com> Message-ID: Andrew Haley writes: > Given thaht we don't know what vulnerabilities were described in the > notification, the answer must be no. Unless someone on this list > has some idea what vulnerabilities you're talking about... On Mon, Mar 10, 2008 at 2:56 PM, Andrew Haley wrote: > Given thaht we don't know what vulnerabilities were described in the > notification, the answer must be no. Unless someone on this list > has some idea what vulnerabilities you're talking about... Copying from the US-CERT notice: Overview Sun has released alerts to address multiple vulnerabilities affecting the Sun Java Runtime Environment. The most severe of these vulnerabilities could allow a remote attacker to execute arbitrary code. I. Description The Sun Java Runtime Environment (JRE) allows users to run Java applications in a browser or as standalone programs. Sun has released updates to the Java Runtime Environment software to address multiple vulnerabilities. Further details about these vulnerabilities are available in the US-CERT Vulnerability Notes Database. Sun released the following alerts to address these issues: * 233321 Two Security Vulnerabilities in the Java Runtime Environment Virtual Machine * 233322 Security Vulnerability in the Java Runtime Environment With the Processing of XSLT Transformations * 233323 Multiple Security Vulnerabilities in Java Web Start May Allow an Untrusted Application to Elevate Privileges * 233324 A Security Vulnerability in the Java Plug-in May Allow an Untrusted Applet to Elevate Privileges * 233325 Vulnerabilties in the Java Runtime Environment image Parsing Library * 233326 Security Vulnerability in the Java Runtime Environment May Allow Untrusted JavaScript Code to Elevate Privileges Through Java APIs * 233327 Buffer Overflow Vulnerability in Java Web Start May Allow an Untrusted Application to Elevate its Privileges II. Impact The impacts of these vulnerabilities vary. The most severe of these vulnerabilities allows a remote attacker to execute arbitrary code. From ihok at hotmail.com Tue Mar 11 15:05:59 2008 From: ihok at hotmail.com (Jack Tanner) Date: Tue, 11 Mar 2008 15:05:59 +0000 (UTC) Subject: [fedora-java] Re: [mike.cloaked@...: Java security update and Iced Tea] References: <20080307182332.GA24663@redhat.com> <47D54C0C.9010402@redhat.com> Message-ID: Andrew Haley writes: > Andrew Overholt wrote: > > ----- Forwarded message from Mike ----- > >> > >> Today I received a notification from US-CERT that > >> Sun Java Runtime Environment versions JDK and JRE 6 Update 4 and earlier > >> have multiple vulnerabilities and Java 1.6.0_05 is available as an update. > >> > >> Does anybody know if Iced Tea as current in F8 is immune from this problem? > >> This is effectively version 1.7.0 > > Given thaht we don't know what vulnerabilities were described in the > notification, the answer must be no. Unless someone on this list > has some idea what vulnerabilities you're talking about... >From http://java.sun.com/javase/6/webnotes/ReleaseNotes.html#160_05 , wherein you'll find hyperlinks: This release contains fixes for one or more security vulnerabilities. For more information, please see Sun Alerts 233321 233322 233323 233324 233325 233326 and 233327. From jtulach at netbeans.org Wed Mar 19 17:35:20 2008 From: jtulach at netbeans.org (Jaroslav Tulach) Date: Wed, 19 Mar 2008 18:35:20 +0100 Subject: [fedora-java] Package NetBeans for Fedora Message-ID: <200803191835.21023.jtulach@netbeans.org> Hi. I'd like to package NetBeans Platform and IDE for Fedora. Can someone tell me how to do it? I would personally imagine that I prepare source RPMS, let you know where they are and you will make them available in your repository. Is that reasonable to expect such kind of cooperation or am I over simplifying? To start, I'd like to upload the NetBeans Platform 6.0.1. It requires JavaHelp and swing-layout, so here are links to all the srpms: http://www.xelfi.cz/download/dev/SRPMS/javahelp2-2.0.05-2.rpm http://www.xelfi.cz/download/dev/SRPMS/swing-layout-1.0.3-0.src.rpm http://www.xelfi.cz/download/dev/SRPMS/libnb-platform7-6.0.1-2.src.rpm Can you look at these packages and tell me if they are acceptable for Fedora? -jst From walters at redhat.com Wed Mar 19 17:42:45 2008 From: walters at redhat.com (Colin Walters) Date: Wed, 19 Mar 2008 13:42:45 -0400 Subject: [fedora-java] Package NetBeans for Fedora In-Reply-To: <200803191835.21023.jtulach@netbeans.org> References: <200803191835.21023.jtulach@netbeans.org> Message-ID: <1205948565.15023.12.camel@space-ghost.verbum.private> On Wed, 2008-03-19 at 18:35 +0100, Jaroslav Tulach wrote: > Hi. > I'd like to package NetBeans Platform and IDE for Fedora. Can someone tell me > how to do it? I would personally imagine that I prepare source RPMS, let you > know where they are and you will make them available in your repository. Fedora has a peer-reviewed process for adding software to the distribution. Our model is currently based on .spec files in a common CVS repository; we do not work in terms of SRPMs, except as a transmission format during initial review. > Is > that reasonable to expect such kind of cooperation or am I over simplifying? > > To start, I'd like to upload the NetBeans Platform 6.0.1. It requires JavaHelp > and swing-layout, so here are links to all the srpms: > > http://www.xelfi.cz/download/dev/SRPMS/javahelp2-2.0.05-2.rpm > http://www.xelfi.cz/download/dev/SRPMS/swing-layout-1.0.3-0.src.rpm > http://www.xelfi.cz/download/dev/SRPMS/libnb-platform7-6.0.1-2.src.rpm > > Can you look at these packages and tell me if they are acceptable for Fedora? Unfortunately the wiki appears to be down so I can't get the link for you. But the basic idea is to file a bug at http://bugzilla.redhat.com in the Fedora product, component "Package Review". See this bug for an example: https://bugzilla.redhat.com/show_bug.cgi?id=433070 From fitzsim at redhat.com Wed Mar 19 18:53:45 2008 From: fitzsim at redhat.com (Thomas Fitzsimmons) Date: Wed, 19 Mar 2008 14:53:45 -0400 Subject: [fedora-java] Package NetBeans for Fedora In-Reply-To: <200803191835.21023.jtulach@netbeans.org> References: <200803191835.21023.jtulach@netbeans.org> Message-ID: <47E16139.4050103@redhat.com> Jaroslav Tulach wrote: > Hi. > I'd like to package NetBeans Platform and IDE for Fedora. Can someone tell me > how to do it? I would personally imagine that I prepare source RPMS, let you > know where they are and you will make them available in your repository. Is > that reasonable to expect such kind of cooperation or am I over simplifying? Yes, there's a formal process for introducing and maintaining a new package in Fedora. Here's the overview: http://fedoraproject.org/wiki/PackageMaintainers/Join Tom From konrad at tylerc.org Wed Mar 19 20:39:27 2008 From: konrad at tylerc.org (Konrad Meyer) Date: Wed, 19 Mar 2008 13:39:27 -0700 Subject: [fedora-java] Package NetBeans for Fedora In-Reply-To: <200803191835.21023.jtulach@netbeans.org> References: <200803191835.21023.jtulach@netbeans.org> Message-ID: <200803191339.27214.konrad@tylerc.org> Quoth Jaroslav Tulach: > Hi. > I'd like to package NetBeans Platform and IDE for Fedora. Can someone tell me > how to do it? I would personally imagine that I prepare source RPMS, let you > know where they are and you will make them available in your repository. Is > that reasonable to expect such kind of cooperation or am I over simplifying? > > To start, I'd like to upload the NetBeans Platform 6.0.1. It requires JavaHelp > and swing-layout, so here are links to all the srpms: > > http://www.xelfi.cz/download/dev/SRPMS/javahelp2-2.0.05-2.rpm > http://www.xelfi.cz/download/dev/SRPMS/swing-layout-1.0.3-0.src.rpm > http://www.xelfi.cz/download/dev/SRPMS/libnb-platform7-6.0.1-2.src.rpm > > Can you look at these packages and tell me if they are acceptable for Fedora? > -jst Also, keep in mind that your packages may sit in the review queue for a while because the Java packaging guidelines have not been approved yet. (Mine are.) -- Konrad Meyer http://konrad.sobertillnoon.com/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. URL: From curoli at gmail.com Wed Mar 26 14:55:11 2008 From: curoli at gmail.com (Oliver Ruebenacker) Date: Wed, 26 Mar 2008 10:55:11 -0400 Subject: [fedora-java] Fedora Java and Jena Message-ID: <5639badd0803260755h75202ab0p6e10da795aca400b@mail.gmail.com> Dear friends, I saved a project which was running fine on one Fedora 8 machine with Eclipse to a SVN repository, and when I checked it out on another Fedora 8 machine via Eclipse, it compiles fine, but when I run it, I get: Exception in thread "main" java.lang.ExceptionInInitializerError at java.lang.Class.initializeClass(libgcj.so.8rh) at com.hp.hpl.jena.iri.IRIFactory.(IRIFactory.java:98) at java.lang.Class.initializeClass(libgcj.so.8rh) at com.hp.hpl.jena.rdf.arp.impl.XMLHandler.(XMLHandler.java:424) at com.hp.hpl.jena.rdf.arp.impl.RDFXMLParser.(RDFXMLParser.java:40) at com.hp.hpl.jena.rdf.arp.impl.RDFXMLParser.create(RDFXMLParser.java:83) at com.hp.hpl.jena.rdf.arp.JenaReader.(JenaReader.java:76) at java.lang.Class.newInstance(libgcj.so.8rh) at com.hp.hpl.jena.rdf.model.impl.RDFReaderFImpl.getReader(RDFReaderFImpl.java:101) at com.hp.hpl.jena.rdf.model.impl.RDFReaderFImpl.getReader(RDFReaderFImpl.java:86) at com.hp.hpl.jena.rdf.model.impl.ModelCom.read(ModelCom.java:192) at org.vcell.sybil.models.config.SchemaFileParser.parseFile(SchemaFileParser.java:24) at org.vcell.sybil.models.config.SchemaFileParser.parseFile(SchemaFileParser.java:17) at org.vcell.sybil.models.BlackBoard.(BlackBoard.java:28) at org.vcell.sybil.init.StartSybil.main(StartSybil.java:26) Caused by: java.lang.IllegalArgumentException: Internal IRI code error. Did not find CLOSE_SQ in until(). at com.hp.hpl.jena.iri.impl.ComponentPatternParser.untilCloseSq(ComponentPatternParser.java:107) at com.hp.hpl.jena.iri.impl.ComponentPatternParser.next(ComponentPatternParser.java:120) at com.hp.hpl.jena.iri.impl.ComponentPatternParser.(ComponentPatternParser.java:67) at com.hp.hpl.jena.iri.impl.ComponentPattern.(ComponentPattern.java:26) at com.hp.hpl.jena.iri.impl.SchemeSpecification.setPattern(SchemeSpecification.java:48) at com.hp.hpl.jena.iri.ViolationCodes$Initialize.(ViolationCodes.java:1854) at java.lang.Class.initializeClass(libgcj.so.8rh) ...14 more There are no complaints about missing class dependencies. What can I do? Thanks! Take care Oliver -- Oliver Ruebenacker, Post-Doc Researcher Center for Cell Analysis and Modelling http://www.ccam.uchc.edu/ From overholt at redhat.com Wed Mar 26 15:24:28 2008 From: overholt at redhat.com (Andrew Overholt) Date: Wed, 26 Mar 2008 11:24:28 -0400 Subject: [fedora-java] Fedora Java and Jena In-Reply-To: <5639badd0803260755h75202ab0p6e10da795aca400b@mail.gmail.com> References: <5639badd0803260755h75202ab0p6e10da795aca400b@mail.gmail.com> Message-ID: <20080326152428.GB13301@redhat.com> Hi, * Oliver Ruebenacker [2008-03-26 10:55]: > I saved a project which was running fine on one Fedora 8 machine > with Eclipse to a SVN repository, and when I checked it out on another > Fedora 8 machine via Eclipse, it compiles fine, but when I run it, I > get: Did it run with gij on the first machine? Try with IcedTea/OpenJDK. > Caused by: java.lang.IllegalArgumentException: Internal IRI code > error. Did not find CLOSE_SQ in until(). > at com.hp.hpl.jena.iri.impl.ComponentPatternParser.untilCloseSq(ComponentPatternParser.java:107) At first glance this looks like some sort of error internal to com.hp.hpl.jena.iri. Andrew From curoli at gmail.com Wed Mar 26 15:26:27 2008 From: curoli at gmail.com (Oliver Ruebenacker) Date: Wed, 26 Mar 2008 11:26:27 -0400 Subject: [fedora-java] Fedora Java and Jena In-Reply-To: <20080326152428.GB13301@redhat.com> References: <5639badd0803260755h75202ab0p6e10da795aca400b@mail.gmail.com> <20080326152428.GB13301@redhat.com> Message-ID: <5639badd0803260826o1e9a5608q398442276019e417@mail.gmail.com> yes, gij on both machines. On Wed, Mar 26, 2008 at 11:24 AM, Andrew Overholt wrote: > Hi, > > * Oliver Ruebenacker [2008-03-26 10:55]: > > > I saved a project which was running fine on one Fedora 8 machine > > with Eclipse to a SVN repository, and when I checked it out on another > > Fedora 8 machine via Eclipse, it compiles fine, but when I run it, I > > get: > > Did it run with gij on the first machine? Try with IcedTea/OpenJDK. > > > > Caused by: java.lang.IllegalArgumentException: Internal IRI code > > error. Did not find CLOSE_SQ in until(). > > at com.hp.hpl.jena.iri.impl.ComponentPatternParser.untilCloseSq(ComponentPatternParser.java:107) > > At first glance this looks like some sort of error internal to > > > com.hp.hpl.jena.iri. > > Andrew > -- Oliver Ruebenacker, Post-Doc Researcher Center for Cell Analysis and Modelling http://www.ccam.uchc.edu/ From overholt at redhat.com Wed Mar 26 15:47:15 2008 From: overholt at redhat.com (Andrew Overholt) Date: Wed, 26 Mar 2008 11:47:15 -0400 Subject: [fedora-java] Fedora Java and Jena In-Reply-To: <5639badd0803260826o1e9a5608q398442276019e417@mail.gmail.com> References: <5639badd0803260755h75202ab0p6e10da795aca400b@mail.gmail.com> <20080326152428.GB13301@redhat.com> <5639badd0803260826o1e9a5608q398442276019e417@mail.gmail.com> Message-ID: <20080326154715.GA22587@redhat.com> > yes, gij on both machines. Then I have no idea. Sorry. If the code's all open you could file a bug or something. Andrew From jtulach at netbeans.org Thu Mar 27 19:06:33 2008 From: jtulach at netbeans.org (Jaroslav Tulach) Date: Thu, 27 Mar 2008 20:06:33 +0100 Subject: [fedora-java] Package NetBeans for Fedora In-Reply-To: <47E16139.4050103@redhat.com> References: <200803191835.21023.jtulach@netbeans.org> <47E16139.4050103@redhat.com> Message-ID: <200803272006.33746.jtulach@netbeans.org> Dne Wednesday 19 March 2008 19:53:45 Thomas Fitzsimmons napsal(a): > Jaroslav Tulach wrote: > > Hi. > > I'd like to package NetBeans Platform and IDE for Fedora. Can someone > > tell me how to do it? I would personally imagine that I prepare source > > RPMS, let you know where they are and you will make them available in > > your repository. Is that reasonable to expect such kind of cooperation or > > am I over simplifying? > > Yes, there's a formal process for introducing and maintaining a new package > in Fedora. Here's the overview: > > http://fedoraproject.org/wiki/PackageMaintainers/Join Hello Thomas and others. It took me ages, but here it is: https://bugzilla.redhat.com/show_bug.cgi?id=439265 I am looking forward your comments. -jst From overholt at redhat.com Thu Mar 27 20:23:55 2008 From: overholt at redhat.com (Andrew Overholt) Date: Thu, 27 Mar 2008 16:23:55 -0400 Subject: [fedora-java] Eclipse plugin building script Message-ID: <20080327202355.GA22911@redhat.com> Hi, Someone on the FPC (Fedora Packaging Committee) voted -1 to the Eclipse plugin packaging guidelines in the recent meeting due to the verbosity of our PDE Build invocation. While I was annoyed with this at first, I took the opportunity to write a bash script to wrap our copy-platform and PDE build calls. I made it so that if there's only one feature in the source directory, it finds it automatically. I've attached it so that my horrible bash skills can be laughed at. Suggestions greatly welcome. I'm going to put it into the eclipse-pde RPM when it's ready. I tried it locally with eclipse-quickrex and here's what the diff looks like: -# See comments in the script to understand this. -/bin/sh -x %{eclipse_base}/buildscripts/copy-platform SDK %{eclipse_base} -mkdir home - %build -SDK=$(cd SDK > /dev/null && pwd) - -# Eclipse may try to write to the home directory. -homedir=$(cd home > /dev/null && pwd) - -java -cp $SDK/startup.jar \ - -Dosgi.sharedConfiguration.area=%{_libdir}/eclipse/configuration \ - org.eclipse.core.launcher.Main \ - -application org.eclipse.ant.core.antRunner \ - -Dtype=feature \ - -Did=de.babe.eclipse.plugins.QuickREx \ - -DbaseLocation=$SDK \ - -DsourceDirectory=$(pwd) \ - -DbuildDirectory=$(pwd)/build \ - -Dbuilder=%{eclipse_base}/plugins/org.eclipse.pde.build/templates/package-build \ - -f %{eclipse_base}/plugins/org.eclipse.pde.build/scripts/build.xml \ - -vmargs -Duser.home=$homedir +%{eclipse_base}/plugins/org.eclipse.pde.build/templates/package-build/pdebuild I've attached the diff for Mylyn (eclipse-mylyn). Both packages build the same with and without the script (which I have on my path for testing). A drawback is that we're calling copy-platform multiple times for multiple-feature projects like Mylyn and the calls after the first one all say "file exists" for the mkdir and ln -s calls. The nice thing here is that if we get package-build or something like it into pde.build upstream, we can just change the script. I'd really appreciate some feedback. Andrew -------------- next part -------------- #!/bin/bash # args: [-f ] [-d ] [-a ] [-j ] [-v] [-D] function usage { cat << _EOF_ usage: $0 [] Use PDE Build to build Eclipse features Optional arguments: -h Show this help message -f Feature ID to build -d Plugin dependencies in addition to Eclipse SDK (space-separated, names on which to glob features and plugins) -a Additional build arguments (ex. -DjavacSource=1.5) -j VM arguments (ex. -DJ2SE-1.5=%{_jvmdir}/java/jre/lib/rt.jar) -v Be verbose -D Debug platform itself (passes -consolelog -debug to Eclipse) _EOF_ } function copyPlatform { # This seems silly but I was running into issues with empty strings # counting as arguments to copy-platform if [ -z $dependencies ]; then if [ $verbose -eq 1 ]; then echo "/bin/sh -x $datadir/eclipse/buildscripts/copy-platform $SDK $datadir/eclipse" /bin/sh -x $datadir/eclipse/buildscripts/copy-platform $SDK $datadir/eclipse else echo "/bin/sh $datadir/eclipse/buildscripts/copy-platform $SDK $datadir/eclipse" /bin/sh $datadir/eclipse/buildscripts/copy-platform $SDK $datadir/eclipse fi else if [ $verbose -eq 1 ]; then echo "/bin/sh -x $datadir/eclipse/buildscripts/copy-platform $SDK $datadir/eclipse $dependencies" /bin/sh -x $datadir/eclipse/buildscripts/copy-platform $SDK $datadir/eclipse $dependencies else echo "/bin/sh $datadir/eclipse/buildscripts/copy-platform $SDK $datadir/eclipse $dependencies" /bin/sh $datadir/eclipse/buildscripts/copy-platform $SDK $datadir/eclipse $dependencies fi fi } function findFeatureId { # We can determine the feature ID if we have only one numFeatures=$(find $sourceDir -name feature.xml | wc -l) if [ $numFeatures -ne 1 ]; then #echo "# features found = $numFeatures" echo "Cannot determine feature ID. Please specify with -f." usage exit 1 fi featureXml=$(find $sourceDir -name feature.xml) # Taken from Ben Konrath's package-build # make an ant build files to extract the id from the feature.xml buildFile=$buildDir/findFeatureForRPM-tmp-build.xml echo " " > $buildFile featureId=$(ant -Dbasedir=$sourceDir -f $buildFile 2>&1 | grep echo | cut --delimiter=' ' -f 7) rm $buildFile } sourceDir=$PWD buildDir=$PWD/build SDK=$buildDir/SDK homeDir=$buildDir/home libdir=`rpm --eval "%{_libdir}"` datadir=`rpm --eval "%{_datadir}"` pdeBuildDir=$datadir/eclipse/plugins/org.eclipse.pde.build featureId= dependencies= additionalArgs= vmArgs= verbose=0 dryRun=0 debugPlatform=0 # See above. r = dry run (used for testing) while getopts ?hf:d:a:j:vrD? OPTION do case $OPTION in h) usage exit ;; f) featureId=$OPTARG ;; d) dependencies=$OPTARG ;; a) additionalArgs=$OPTARG ;; j) vmArgs=$OPTARG ;; v) verbose=1 ;; r) dryRun=1 ;; D) debugPlatform=1 ;; ?) usage exit ;; esac done echo "mkdir -p $buildDir" if [ $dryRun -ne 1 ]; then mkdir -p $buildDir fi # Eclipse may try to write to the building user's home directory so we create a # temporary one for use by the build. echo "mkdir -p $homeDir" if [ $dryRun -ne 1 ]; then mkdir -p $homeDir fi if [ -z $featureId ]; then findFeatureId fi if [ -z $featureId ]; then echo "Cannot determine feature ID. Please specify with -f." usage exit 1 fi echo "Building feature = $featureId." if [ -z "$dependencies" ]; then if [ $verbose -eq 1 ]; then echo "Assuming no dependencies except Eclipse SDK." fi fi # Symlink the SDK and dependencies for build if [ -z "$dependencies" ]; then echo "Symlinking SDK into $SDK directory." else echo "Symlinking SDK and \"$dependencies\" into $SDK directory." fi if [ $dryRun -ne 1 ]; then copyPlatform fi if [ $debugPlatform -eq 1 ]; then debugPlatformArgs="-debug -consolelog" fi echo echo "Starting build:" echo " java -cp $SDK/startup.jar \ -Dosgi.sharedConfiguration.area=$libdir/eclipse/configuration \ org.eclipse.core.launcher.Main \ -application org.eclipse.ant.core.antRunner \ $debugPlatformArgs \ -Dtype=feature \ -Did=$featureId \ -DbaseLocation=$SDK \ -DsourceDirectory=$sourceDir \ -DbuildDirectory=$buildDir \ -Dbuilder=$datadir/eclipse/plugins/org.eclipse.pde.build/templates/package-build \ $additionalArgs \ -f $pdeBuildDir/scripts/build.xml \ -vmargs \ -Duser.home=$homeDir \ $vmArgs " if [ $dryRun -ne 1 ]; then java -cp $SDK/startup.jar \ -Dosgi.sharedConfiguration.area=$libdir/eclipse/configuration \ org.eclipse.core.launcher.Main \ -application org.eclipse.ant.core.antRunner \ $debugPlatformArgs \ -Dtype=feature \ -Did=$featureId \ -DbaseLocation=$SDK \ -DsourceDirectory=$sourceDir \ -DbuildDirectory=$buildDir \ -Dbuilder=$datadir/eclipse/plugins/org.eclipse.pde.build/templates/package-build \ $additionalArgs \ -f $pdeBuildDir/scripts/build.xml \ -vmargs \ -Duser.home=$homeDir \ $vmArgs fi -------------- next part -------------- Index: eclipse-mylyn.spec =================================================================== RCS file: /cvs/pkgs/rpms/eclipse-mylyn/devel/eclipse-mylyn.spec,v retrieving revision 1.14 diff -u -r1.14 eclipse-mylyn.spec --- eclipse-mylyn.spec 19 Feb 2008 17:31:43 -0000 1.14 +++ eclipse-mylyn.spec 27 Mar 2008 20:14:59 -0000 @@ -144,9 +144,6 @@ %patch4 popd -/bin/sh -x %{eclipse_base}/buildscripts/copy-platform SDK %{eclipse_base} -mkdir home - # symlink out to jars we built pushd org.eclipse.mylyn.web.core/lib-httpclient rm commons-*.jar @@ -177,130 +174,27 @@ %{__grep} mylar org.eclipse.mylyn-feature/feature.xml && exit 1 %build -SDK=$(cd SDK > /dev/null && pwd) - -# Eclipse may try to write to the home directory. -homedir=$(cd home > /dev/null && pwd) - -# build the main mylyn feature -java -cp $SDK/startup.jar \ - -Dosgi.sharedConfiguration.area=%{_libdir}/eclipse/configuration \ - org.eclipse.core.launcher.Main \ - -application org.eclipse.ant.core.antRunner \ - -DjavacSource=1.5 \ - -DjavacTarget=1.5 \ - -Dtype=feature \ - -Did=org.eclipse.mylyn_feature \ - -DbaseLocation=$SDK \ - -DsourceDirectory=$(pwd) \ - -DbuildDirectory=$(pwd)/build \ - -Dbuilder=%{eclipse_base}/plugins/org.eclipse.pde.build/templates/package-build \ - -f %{eclipse_base}/plugins/org.eclipse.pde.build/scripts/build.xml \ - -vmargs -Duser.home=$homedir \ - -DJ2SE-1.5=%{_jvmdir}/java/jre/lib/rt.jar - -# build the mylyn bugzilla feature -java -cp $SDK/startup.jar \ - -Dosgi.sharedConfiguration.area=%{_libdir}/eclipse/configuration \ - org.eclipse.core.launcher.Main \ - -application org.eclipse.ant.core.antRunner \ - -DjavacSource=1.5 \ - -DjavacTarget=1.5 \ - -Dtype=feature \ - -Did=org.eclipse.mylyn.bugzilla_feature \ - -DbaseLocation=$SDK \ - -DsourceDirectory=$(pwd) \ - -DbuildDirectory=$(pwd)/build \ - -Dbuilder=%{eclipse_base}/plugins/org.eclipse.pde.build/templates/package-build \ - -f %{eclipse_base}/plugins/org.eclipse.pde.build/scripts/build.xml \ - -vmargs -Duser.home=$homedir \ - -DJ2SE-1.5=%{_jvmdir}/java/jre/lib/rt.jar - -# build the mylyn context feature -java -cp $SDK/startup.jar \ - -Dosgi.sharedConfiguration.area=%{_libdir}/eclipse/configuration \ - org.eclipse.core.launcher.Main \ - -application org.eclipse.ant.core.antRunner \ - -DjavacSource=1.5 \ - -DjavacTarget=1.5 \ - -Dtype=feature \ - -Did=org.eclipse.mylyn.context_feature \ - -DbaseLocation=$SDK \ - -DsourceDirectory=$(pwd) \ - -DbuildDirectory=$(pwd)/build \ - -Dbuilder=%{eclipse_base}/plugins/org.eclipse.pde.build/templates/package-build \ - -f %{eclipse_base}/plugins/org.eclipse.pde.build/scripts/build.xml \ - -vmargs -Duser.home=$homedir \ - -DJ2SE-1.5=%{_jvmdir}/java/jre/lib/rt.jar - -# build the mylyn ide feature -java -cp $SDK/startup.jar \ - -Dosgi.sharedConfiguration.area=%{_libdir}/eclipse/configuration \ - org.eclipse.core.launcher.Main \ - -application org.eclipse.ant.core.antRunner \ - -DjavacSource=1.5 \ - -DjavacTarget=1.5 \ - -Dtype=feature \ - -Did=org.eclipse.mylyn.ide_feature \ - -DbaseLocation=$SDK \ - -DsourceDirectory=$(pwd) \ - -DbuildDirectory=$(pwd)/build \ - -Dbuilder=%{eclipse_base}/plugins/org.eclipse.pde.build/templates/package-build \ - -f %{eclipse_base}/plugins/org.eclipse.pde.build/scripts/build.xml \ - -vmargs -Duser.home=$homedir \ - -DJ2SE-1.5=%{_jvmdir}/java/jre/lib/rt.jar - -# build the mylyn trac feature -java -cp $SDK/startup.jar \ - -Dosgi.sharedConfiguration.area=%{_libdir}/eclipse/configuration \ - org.eclipse.core.launcher.Main \ - -application org.eclipse.ant.core.antRunner \ - -DjavacSource=1.5 \ - -DjavacTarget=1.5 \ - -Dtype=feature \ - -Did=org.eclipse.mylyn.trac_feature \ - -DbaseLocation=$SDK \ - -DsourceDirectory=$(pwd) \ - -DbuildDirectory=$(pwd)/build \ - -Dbuilder=%{eclipse_base}/plugins/org.eclipse.pde.build/templates/package-build \ - -f %{eclipse_base}/plugins/org.eclipse.pde.build/scripts/build.xml \ - -vmargs -Duser.home=$homedir \ - -DJ2SE-1.5=%{_jvmdir}/java/jre/lib/rt.jar - -# build the mylyn java feature -java -cp $SDK/startup.jar \ - -Dosgi.sharedConfiguration.area=%{_libdir}/eclipse/configuration \ - org.eclipse.core.launcher.Main \ - -application org.eclipse.ant.core.antRunner \ - -DjavacSource=1.5 \ - -DjavacTarget=1.5 \ - -Dtype=feature \ - -Did=org.eclipse.mylyn.java_feature \ - -DbaseLocation=$SDK \ - -DsourceDirectory=$(pwd) \ - -DbuildDirectory=$(pwd)/build \ - -Dbuilder=%{eclipse_base}/plugins/org.eclipse.pde.build/templates/package-build \ - -f %{eclipse_base}/plugins/org.eclipse.pde.build/scripts/build.xml \ - -vmargs -Duser.home=$homedir \ - -DJ2SE-1.5=%{_jvmdir}/java/jre/lib/rt.jar - -# build the mylyn pde feature -java -cp $SDK/startup.jar \ - -Dosgi.sharedConfiguration.area=%{_libdir}/eclipse/configuration \ - org.eclipse.core.launcher.Main \ - -application org.eclipse.ant.core.antRunner \ - -DjavacSource=1.5 \ - -DjavacTarget=1.5 \ - -Dtype=feature \ - -Did=org.eclipse.mylyn.pde_feature \ - -DbaseLocation=$SDK \ - -DsourceDirectory=$(pwd) \ - -DbuildDirectory=$(pwd)/build \ - -Dbuilder=%{eclipse_base}/plugins/org.eclipse.pde.build/templates/package-build \ - -f %{eclipse_base}/plugins/org.eclipse.pde.build/scripts/build.xml \ - -vmargs -Duser.home=$homedir \ - -DJ2SE-1.5=%{_jvmdir}/java/jre/lib/rt.jar - +pdebuild -f org.eclipse.mylyn_feature \ + -a "-DjavacSource=1.5 -DjavacTarget=1.5" \ + -j -DJ2SE-1.5=%{_jvmdir}/java/jre/lib/rt.jar +pdebuild -f org.eclipse.mylyn.bugzilla_feature \ + -a "-DjavacSource=1.5 -DjavacTarget=1.5" \ + -j -DJ2SE-1.5=%{_jvmdir}/java/jre/lib/rt.jar +pdebuild -f org.eclipse.mylyn.context_feature \ + -a "-DjavacSource=1.5 -DjavacTarget=1.5" \ + -j -DJ2SE-1.5=%{_jvmdir}/java/jre/lib/rt.jar +pdebuild -f org.eclipse.mylyn.ide_feature \ + -a "-DjavacSource=1.5 -DjavacTarget=1.5" \ + -j -DJ2SE-1.5=%{_jvmdir}/java/jre/lib/rt.jar +pdebuild -f org.eclipse.mylyn.trac_feature \ + -a "-DjavacSource=1.5 -DjavacTarget=1.5" \ + -j -DJ2SE-1.5=%{_jvmdir}/java/jre/lib/rt.jar +pdebuild -f org.eclipse.mylyn.java_feature \ + -a "-DjavacSource=1.5 -DjavacTarget=1.5" \ + -j -DJ2SE-1.5=%{_jvmdir}/java/jre/lib/rt.jar +pdebuild -f org.eclipse.mylyn.pde_feature \ + -a "-DjavacSource=1.5 -DjavacTarget=1.5" \ + -j -DJ2SE-1.5=%{_jvmdir}/java/jre/lib/rt.jar %install rm -rf %{buildroot} From fedora at matbooth.co.uk Mon Mar 31 21:19:43 2008 From: fedora at matbooth.co.uk (Mat Booth) Date: Mon, 31 Mar 2008 22:19:43 +0100 Subject: [fedora-java] Eclipse plugin building script Message-ID: <9497e9990803311419l30a61012t4286d5e4a5712dc7@mail.gmail.com> Nifty script. > A drawback is that we're calling copy-platform multiple times > for multiple-feature projects like Mylyn and the calls after the first > one all say "file exists" for the mkdir and ln -s calls. It should be fairly easy to change the copy-platform script to only generate the necessary directories and links if they don't already exist, shouldn't it? -- Mat Booth www.matbooth.co.uk