[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Java Resources in GNUmakefile?
From: |
Helge Hess |
Subject: |
Java Resources in GNUmakefile? |
Date: |
Thu, 19 Apr 2007 10:38:58 +0200 |
Hi,
is it possible to install Java resources using GNUmakefiles?
Eg:
JAVA_PACKAGE_NAME = MyPackage
MyPackage_JAVA_FILES = MyClass.java
MyPackage_RESOURCE_FILES = abc.properties
doesn't seem to do anything :-)
The resources would need to be copied to the same directory like
the .class file. Its then available in a very convenient way:
URL props = MyClass.getResource("abc.properties")
BTW: it would also be cool if GNUstep make would directly support JAR
files (producing jars, and consuming them by properly adding them to
the classpath).
Thanks,
Helge
- Java Resources in GNUmakefile?,
Helge Hess <=