discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Java Resources in GNUmakefile?


From: Nicola Pero
Subject: RE: Java Resources in GNUmakefile?
Date: Thu, 19 Apr 2007 16:27:51 +0200 (CEST)

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 <helge.hess@opengroupware.org>
Sent: Thu, April 19, 2007 10:38 am
To: Discuss GNUstep <discuss-gnustep@gnu.org>
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
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep





reply via email to

[Prev in Thread] Current Thread [Next in Thread]