Hi Dalibor,

Thanks a lot. All works fine now.
Please find attached a patch for FAQ/FAQ.classlibrary-compile to add a simple note about this.


BTW, a long time ago kaffe used to have a more convenient way to define class library profiles. You had groups of associated classes organized in sub-profiles (e.g. awt.files, xml.files, security.files etc) which one could include in the top level profile file. Some months ago this functionality disappeared.
Additionally, I am having a hard time tracking of new class files added and old class files removed during the (most welcomed) resync with classpath process.


Does any one else maintain an up-to-date profile (with e.g. no awt, swing classes) and have found a way to solve the above mentioned issue ?

Thanks again!

cheers,
Nektarios

Dalibor Topic wrote:
Dalibor Topic wrote:

I have on more (not so important) problem I am facing lately (I can't be positive about when it first appeared). I use the option:
--with-class-library-profile=allbutawt.profile


...and allbutawt.profile is a text file located at libraries/javalib listing the classes I want to be included in rt.jar. But the build system seems to ignore me, and ALL classes are compiled and included in rt.jar. Even though during make I read:
...
mkdir lib
if test "allbutawt.profile" = default; then \
/bin/sh ./rebuildLib @all.files; \
else \
/bin/sh ./rebuildLib @allbutawt.profile; \
fi
Compiling classes from @allbutawt.profile using jikes +Pno-switchcheck +Pno-shadow +E -d /home/u2/npapadop/build/kaffe-temp/libraries/javalib/lib


BTW:
jikes version is 1.22
autoconf version is 2.59
automake version is 1.8.4

and I do configure and make on a directory different from the one kaffe sources are located (if this should be of concern).


Hi Nektarios,

I've looked into it, and using an absolute path for the profile name worked for me.

Could you try passing --with-class-library-profile=/path/to/kaffe/libraries/javalib/your.profile to configure and report back if that works?

cheers,
dalibor topic

Index: FAQ/FAQ.classlibrary-compile
===================================================================
RCS file: /cvs/kaffe/kaffe/FAQ/FAQ.classlibrary-compile,v
retrieving revision 1.16
diff -u -r1.16 FAQ.classlibrary-compile
--- FAQ/FAQ.classlibrary-compile	20 Jan 2005 20:56:34 -0000	1.16
+++ FAQ/FAQ.classlibrary-compile	1 Feb 2005 15:57:17 -0000
@@ -164,6 +164,7 @@
 
 The configure script has the option --with-class-library-profile,
 which allows you to specify a profile to use for the class library.
+You must specify the absolute path to the profile file.
 
 Which profiles are available?
 -----------------------------
_______________________________________________
kaffe mailing list
[email protected]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to