It's an excellent idea :-) ... try MyPackage_PROPERTIES_FILES = abc.properties
in your gnustep-make :-) The JAR files support would be interesting - let me know if you have suggestions on variable names/what to do in practice. Thanks -----Original Message----- From: Helge Hess <[EMAIL PROTECTED]> Sent: Thu, April 19, 2007 10:38 am To: Discuss GNUstep <[email protected]> Subject: Java Resources in GNUmakefile? 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 _______________________________________________ Discuss-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnustep _______________________________________________ Discuss-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnustep
