I'm afraid there is currently a lot of work to be done on the antlr3 package:( 1) We should possibly ship all the runtime targets (not only python) 2) The package should be updated to current (3.1.3). This is actually a big problem since: - upstream switched to use maven and even more, screwed up the build process in 3.1.3 (missing pom.xml) -- try the snapshot of 3.1.4. - it depends on buildnumber-maven-plugin, which is currently not in Fedora. Trying to package it is currently impossible as it requires maven >= 2.0.6, which means that all this depends on the nightmare going on with updating maven2 (see the blocking bug) As I really need the 3.1.3 (contains some very important bugfixes in the C target), I'm willing to take care about this. As soon as we have maven 2.0.8 usable in rawhide, I'll submit maven-plugin-buildnumber for review and try to update antlr3 then. Sounds like a plan to you, do you agree?
Sounds good (I'm not at the moment actively developing my toy project which used the Java antlr3).
Well, I've requested comaintaintership in pkgdb as I'm using antlr for an important long-term project (we're currently moving from antlr2 to antlr3), please approve the request (though I'm a provenpackager and have the commit access anyway).
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle. Changing version to '12'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Created attachment 387776 [details] new spec file Koji scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=1954158
Created attachment 387836 [details] new spec file Posting new spec file with some minor fixes (ldconfig call in the C runtime was missing, java requires missing in the java packages). Please note also that the antlr3 wrapper script must now contain also "antlr3-runtime.jar" in BASE_JARS.
Created attachment 387968 [details] new spec file Yet a newer specfile: I've built the man pages and doxygen API documentation for the C target -- this is huge, hence in a subpackage. Also trying to make the tests running...
Hi, does the maven build of the antlr3 jar include the OSGi meta information in the manifest file? When the manifest file is generated correctly, it should look something like this, but with the appropriate version numbers, etc: Manifest-Version: 1.0 Bundle-Vendor: antlr.org Bundle-Localization: plugin Bundle-RequiredExecutionEnvironment: J2SE-1.3 Bundle-Name: ANTLR Runtime Bundle-SymbolicName: org.antlr.runtime Export-Package: org.antlr.runtime;version="3.0.0",org.antlr.runtime.de bug;version="3.0.0",org.antlr.runtime.misc;version="3.0.0",org.antlr. runtime.tree;version="3.0.0" Bundle-Version: 3.0.0.v200803061811 Bundle-ManifestVersion: 2
Stupid line endings, I wish BZ had a preview button. When the manifest file is generated correctly, it should look something like this, but with the appropriate version numbers, etc: Manifest-Version: 1.0 Bundle-Vendor: antlr.org Bundle-Localization: plugin Bundle-RequiredExecutionEnvironment: J2SE-1.3 Bundle-Name: ANTLR Runtime Bundle-SymbolicName: org.antlr.runtime Export-Package: org.antlr.runtime;version="3.0.0",org.antlr.runtime.de bug;version="3.0.0",org.antlr.runtime.misc;version="3.0.0",org.antlr. runtime.tree;version="3.0.0" Bundle-Version: 3.0.0.v200803061811 Bundle-ManifestVersion: 2
Nope, I see only this in my locally built MANIFEST.MF: Manifest-Version: 1.0 Archiver-Version: Plexus Archiver Created-By: Apache Maven Built-By: milos Build-Jdk: 1.6.0_0 Is there any maven target which should generate the rest of the information? How much is it important, actually? Everything works fine even without this.
It is not important to the operation of ANTLR, but it is necessary if you want to use ANTLR within an OSGi framework such as Equinox or Apache Felix (both of which are shipped in Fedora). The most likely use-case would be if someone wanted to package an Eclipse plug-in that makes use of ANTLR. For example, as the Eclipse DLTK maintainer, I would very much like to be able to build the DLTK Javascript editor plug-in. :-)
You can see an example of adding OSGi information to a manifest file in the Jakarta Commons maven builds. Specifically see this file: /usr/share/maven2/default_poms/JPP-commons-parent.pom Which is supplied by the maven2-common-poms package.
OK, I'll look at it (if you'd like to do that, you'd be welcomed!:)
(In reply to comment #12) > OK, I'll look at it (if you'd like to do that, you'd be welcomed!:) Many thanks. If I find the time to work on this over the next few weeks I will post here and let you know.
antlr3-3.2-3.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/antlr3-3.2-3.fc12
Created attachment 397658 [details] Patch Java runtime build to include OSGi meta-information in the manifest. (In reply to comment #12) > OK, I'll look at it (if you'd like to do that, you'd be welcomed!:) Hi again, I've found some time to look at this. Please see the attached patch to your "antlr3.spec" and "antlr-pom.patch" files. By making these changes to the spec and the pom patch, I am now able to use the antlr java runtime as an Eclipse plug-in. :-) Please see also the scratch build I did: http://koji.fedoraproject.org/koji/taskinfo?taskID=2029174 Thanks for your time. Mat
I also uploaded the SRPM, if you wish to look: http://fedorapeople.org/~mbooth/antlr3-3.2-4.fc14.src.rpm
Ugh, BugZilla doesn't render patches of patches very well so I changed the attachment type to plain text: https://bugzilla.redhat.com/attachment.cgi?id=397658
antlr3-3.2-3.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update antlr3'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/antlr3-3.2-3.fc12
Mat, can you check: http://koji.fedoraproject.org/koji/taskinfo?taskID=2037337 thank you for the work.
Hi, The build at: http://koji.fedoraproject.org/koji/buildinfo?buildID=160609 Works brilliantly, thank you. Is there any chance you can get this into F13? Also, thanks for reviewing my patch so quickly. :-)
Definitely, an F13 build is already here: http://koji.fedoraproject.org/koji/buildinfo?buildID=160816 ..and F12 will be done as soon as I get the build root override again.
antlr3-3.2-4.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/antlr3-3.2-4.fc13
antlr3-3.2-4.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
antlr3-3.2-4.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.