>>>>> "EHusby" == EHusby <[EMAIL PROTECTED]> writes:
EHusby> I have a very reasonable understanding of Project files and
EHusby> a meger understanding of Emacs Lisp. I need to work with
EHusby> multiple JDKs depending on the projects I am working with.
You could use the environment variable to set the custom
variables in your .emacs, like so
(if (equal (system-name) "LAPHROAIG")
(custom-set-variables
'(jde-run-option-properties (quote (("photofit.dir" . "e:\\photofit"))))
'(jde-db-source-directories (quote ("e:/src" "d:/home/java/sources")))
'(jde-help-docsets (quote (("javadoc" "e:\\docs\\api" nil))))))
which is what I use to have different settings at work and at
home. Of course this doesnt work if you have lots of project files
with different JDK's
In that case I would suggest you use M-x find-dired to get
a listing of all the prj.el files you use (note this only works if you
have a UNIX find program on your system, if your on MS you'll need to
get cygnus) and then do a search and replace on "jdk1.2" to
"jdk1.2.2". This doesnt work automatically, but you could get it to
work automatically. This would involve setting up a custom var,
storing "1.2", and then comparing it to the environment variable
everytime to see if its changed, and then using find-dired. This would
be a pain to implement though, and not really worth the effort. You
are going to have to change the environment var by hand anyway.
Phil