Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142455 - dev-java/jaxme-0.5.2 version bump
Summary: dev-java/jaxme-0.5.2 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Java team
URL: http://ws.apache.org/jaxme
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-01 12:09 UTC by Boris Guskee
Modified: 2009-05-23 01:03 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
new ebuild, based on jaxme-0.3.1-r2.ebuild (jaxme-0.5.1.ebuild,1.83 KB, text/plain)
2006-08-01 12:11 UTC, Boris Guskee
Details
fix bug in the build system (jaxme-0.5.1-hsqldb.patch,901 bytes, patch)
2006-08-01 12:13 UTC, Boris Guskee
Details | Diff
ebuild, based on jaxme-0.3.1-r2.ebuild (jaxme-0.5.1.ebuild,2.12 KB, text/plain)
2006-08-01 14:40 UTC, Boris Guskee
Details
updated ebuild (jaxme-0.5.2.ebuild,2.15 KB, text/plain)
2009-04-04 22:09 UTC, Dror Levin (RETIRED)
Details
patch to make un/marshaller's abstract (jaxme-0.5.2-fix_marshallers.patch,1.57 KB, patch)
2009-04-04 22:10 UTC, Dror Levin (RETIRED)
Details | Diff
updated ebuild after review. (jaxme-0.5.2.ebuild,1.99 KB, text/plain)
2009-04-04 23:55 UTC, Dror Levin (RETIRED)
Details
updated ebuild after review. (jaxme-0.5.2.ebuild,2.01 KB, text/plain)
2009-04-05 00:29 UTC, Dror Levin (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Guskee 2006-08-01 12:09:47 UTC
JaxMe 2 is an open source implementation of JAXB, the specification for Java/XML binding.

update for jaxme-0.3.1-r2:
- dependency to antlr added
- changes of Jaxme's build system
Comment 1 Boris Guskee 2006-08-01 12:11:44 UTC
Created attachment 93217 [details]
new ebuild, based on jaxme-0.3.1-r2.ebuild
Comment 2 Boris Guskee 2006-08-01 12:13:49 UTC
Created attachment 93218 [details, diff]
fix bug in the build system

reported upstream as https://issues.apache.org/jira/browse/JAXME-81 and already incorporated
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-08-01 13:12:28 UTC
You left the build*.xml rewriting from old version, while in this version the xml files are under ant/ so I suppose this would result in 1.5 bytecode jars with 1.5 jdk.
Comment 4 Boris Guskee 2006-08-01 14:40:45 UTC
Created attachment 93223 [details]
ebuild, based on jaxme-0.3.1-r2.ebuild

fixed build rewriting, see comment #3 from Caster
fixed names of installed jar files (no version number)
Comment 5 Bartek 'Paczesiowa' Cwiklowski 2008-10-17 07:10:20 UTC
I tried to install it so I could get rid of all jvms but jdk-1.6 (old jaxme needs <=1.6), I had to add java flag to antlr and I still get these errors:

JS.compile:
    [javac] Compiling 169 source files to /var/tmp/paludis/dev-java-jaxme-0.5.1/work/ws-jaxme-0.5.1/build/js/classes
    [javac] /var/tmp/paludis/dev-java-jaxme-0.5.1/work/ws-jaxme-0.5.1/src/js/org/apache/ws/jaxme/js/pattern/Ant.java:48: package org.apache.tools.ant does not exist                                                                                            
    [javac] import org.apache.tools.ant.AntClassLoader;                                                                         
    [javac]                            ^

any ideas how to fix it?
Comment 6 Dror Levin (RETIRED) gentoo-dev 2009-04-04 22:09:20 UTC
Created attachment 187326 [details]
updated ebuild

Updated ebuild:
* Bumped to 0.5.2
* Using EAPI=2 to depend on antlr[java]
* Removed hsqldb patch as it's applied upstream
* Added patch to fix marshaller's code, not sure if/why it's needed but it works, probably needs some review
* Fixed SRC_URI
* Used workaround from 0.3.1-r4 to use proper ant.jar

Tested all packages in portage which depend on jaxme - dom4j, jsr173 and xsd2jibx and they all compile.

The original ebuild was based on 0.3.1-r2 and some changes were made since then, I'm not sure if they're needed (for example, I could not get it to build without hsqldb), please tell me if I'm wrong :)
Comment 7 Dror Levin (RETIRED) gentoo-dev 2009-04-04 22:10:12 UTC
Created attachment 187327 [details, diff]
patch to make un/marshaller's abstract
Comment 8 Dror Levin (RETIRED) gentoo-dev 2009-04-04 23:55:39 UTC
Created attachment 187336 [details]
updated ebuild after review.

Changes, which include result of review by Betelgeuse:
* Use JAVA_PKG_IUSE
* Use SLOT dep on java packages
* Remove ant-core dependency
* Use java_prepare instead of src_unpack
* Use EANT_* for compile
* Add || die for dodoc
* Use java-pkg_dojavadoc for javadoc
Comment 9 Dror Levin (RETIRED) gentoo-dev 2009-04-05 00:29:01 UTC
Created attachment 187341 [details]
updated ebuild after review.

Messed up the jre/jdk deps and forgot to SLOT dep on hsqldb. Third time's the charm? :p
Comment 10 Bartek 'Paczesiowa' Cwiklowski 2009-05-06 12:49:36 UTC
* The ebuild is attempting to use ant-core, without specifying --build-only, that * is not declared in RDEPEND or DEPEND.
* The package will build without problems, but may fail to run
* if you don't have ant-core installed, so please report
* this to http://bugs.gentoo.org 
Comment 11 Alistair Bush (RETIRED) gentoo-dev 2009-05-23 01:03:03 UTC
Committed to gentoo-x86, hit mirrors in ~1hour  various changes to ebuild to clean it up a bit.

Thanks for your work.