Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 678140

Summary: dev-java/jide-oss-3.6.18 - install string property files
Product: Gentoo Linux Reporter: Nico R. <n-roeser>
Component: Current packagesAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal Keywords: Inclusion, PATCH, PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://github.com/gentoo/gentoo/pull/22856
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Fix for missing inclusion of required property files

Description Nico R. 2019-02-16 10:37:14 UTC
dev-java/jide-oss-3.6.18 requires a set of property files in order to work. These files are by default installed when ant is used for compilation.

The jide-oss-3.6.18 ebuild switched to the build method from the java-pkg-simple eclass (which is fine and should increase build speed). But now the installed classes fail with exceptions on instantiation, because the property files are missing in the generated JAR.

The attached patch fixes the problem by including the required property files in the installed JAR. It keeps the non-ant build method.

The patch also adds additional property files for many locales. These files are provided with jide-oss.

A short test on one of my development systems has confirmed that the patch solves the problem.
Comment 1 Nico R. 2019-02-16 10:39:14 UTC
Created attachment 565542 [details, diff]
Fix for missing inclusion of required property files
Comment 2 Larry the Git Cow gentoo-dev 2021-11-10 08:47:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c1ae9f20af2c2c7f87363c88571367e26096def

commit 1c1ae9f20af2c2c7f87363c88571367e26096def
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2021-11-09 17:51:00 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2021-11-10 08:47:57 +0000

    dev-java/jide-oss: bump to 3.7.12
    
    using snapshot for untagged release
    Closes: https://bugs.gentoo.org/796314
    Closes: https://bugs.gentoo.org/678140
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Closes: https://github.com/gentoo/gentoo/pull/22856
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 dev-java/jide-oss/Manifest               |  1 +
 dev-java/jide-oss/jide-oss-3.7.12.ebuild | 55 ++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)