[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Java Resources in GNUmakefile?
From: |
Helge Hess |
Subject: |
Re: Java Resources in GNUmakefile? |
Date: |
Thu, 19 Apr 2007 20:23:14 +0200 |
On Apr 19, 2007, at 16:27, Nicola Pero wrote:
It's an excellent idea :-) ... try
MyPackage_PROPERTIES_FILES = abc.properties
in your gnustep-make :-)
Sounds good. But why is it called _PROPERTIES_FILES :-) It works with
arbitary files, eg in JOPE we use it with templates, eg:
Main.class|java
Main.html
Main.wod
or even
Main.class|java
Main.wo/Main.html
Main.wo/Main.wod
or even
Main.wo/Main.class|java
Main.wo/Main.html
Main.wo/Main.wod
Though the last two would probably require special support anyways.
The JAR files support would be interesting - let me know if you
have suggestions on
variable names/what to do in practice.
OK, those would be two things:
a) referencing jar files
b) producing jar files
For a) I would suggest that all *.jar files in xyz/Library/Java/ are
automagically added to the classpath? Not sure what the performance
implications would be.
Well and b) should be rather easy. Just 'make install' into a
temporary directory, generate a manifest and compress it with jar
into the jar file.
I guess jar.make would be an own type (not a 'make jar' like target
on java-package). But I'm not perfectly sure.
Greets,
Helge
--
Helge Hess
http://www.helgehess.eu/