Hi Eli,
(There are shortcuts to the procedure below, but for the new user the one
below might be more understandable).
To customize a variable I would do:
Help > Customize > Specific option > variable-name (e.g.
jde-global-classpath)
This brings up a customization buffer which shows the current setting for
the variable
and affords you the opportunity to modify it. For example, for the
jde-global-classpath
part of the buffer looks like below:
This is a customization buffer.
Square brackets show active fields; type RET or click mouse-1
on an active field to invoke its action. Editing an option value
changes the text in the buffer; invoke the State button and
choose the Set operation to set the option value.
Invoke [Help] for more information.
Operate on everything in this buffer:
[Set for Current Session] [Save for Future Sessions]
[Reset] [Reset to Saved] [Reset to Standard] [Bury Buffer]
Jde Global Classpath: [Hide]
[INS] [DEL] Path: .
[INS]
[State]: this option has been set and saved.
===
I set the "permanent" classpath to be only the current directory (".").
Whatever you set it to, then do the [Save for Future Sessions].
(This value is then stored in your .emacs file).
When I work on a specific project which requires a different classpath, I
add
(via [INS] above) terms to the classpath and then do [Set for Current
Session].
(So it does override, but at least by extending the permanent classpath).
Right after that I do
JDE > Project > Project file > Save.
Then, whenever one works on that project the extended classpath is loaded
from
the prj.el file.
Gert.
===================
Hello (again),
I'm new to JDE and reading the user manual I undestand that you can set:
1. jde-global classpath for all the .java files
2. jde-global classpath for the project files (prj.el)
3. M-x jde-set-global-classpath that correspond (I understand) to next
compile
4. jde-compile Option Classpath that overrides jde-global classpath
I need to set a global classpath and one for my project files that doesn't
overrides but just append the global classpath.
How can I do?
Thank you!
Eli Spizzichino