Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 945829 - java-pkg-simple.eclass: add support to files for the resources
Summary: java-pkg-simple.eclass: add support to files for the resources
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Java team
URL: https://github.com/gentoo/gentoo/pull...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-12-03 22:40 UTC by Fabio Rossi
Modified: 2024-12-04 16:04 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Rossi 2024-12-03 22:40:35 UTC
The eclass variable JAVA_RESOURCE_DIRS is currently used to copy recursively a folder from ${S} to the target folder to generate the jar archive later. Sometimes the resources are hidden among the folders containing the sources, with this patch it is possible to "extract" single file resources copying them to the destination recreating the full path.

I have created a simple patch, PR available