> On 6 Oct 2022, at 09:46, Andreas Sturmlechner wrote:
>
> For their https://invent.kde.org/ (gitlab instance)
>
> Signed-off-by: Andreas Sturmlechner
> ---
> metadata.dtd | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/metadata.dtd b/metadata.dtd
> index
Compilation of ${sources} fails with error if ${sources} is empty.
This is the case when a package (or a module in case of a multi-jar
package) has only module-info.java to get compiled.
Signed-off-by: Volkmar W. Pogatzki
---
eclass/java-pkg-simple.eclass | 28
1
For their https://invent.kde.org/ (gitlab instance)
Signed-off-by: Andreas Sturmlechner
---
metadata.dtd | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/metadata.dtd b/metadata.dtd
index e1207de..44d4043 100644
--- a/metadata.dtd
+++ b/metadata.dtd
@@ -58,7 +58,7 @@
Compilation of ${sources} fails with error if ${sources} is empty.
This is the case when a package (or a module in case of a multi-jar
package) has only module-info.java to get compiled.
Signed-off-by: Volkmar W. Pogatzki
---
eclass/java-pkg-simple.eclass | 16 +---
1 file changed,
For adding Main-class and/or Automatic-module-name to MANIFEST.MF it
seems better to use "jar" functionality at the end of compilation.
This does the necessary checks and issues warnings in case of duplicate
entries.
Erroneously used existence checks ( -v ) were causing wrong entries in