At 04:20 PM 11/28/00 -0500, Galen Boyer wrote:
>Okay,
>
>Assume the following files:
>
>c:\java\project1\prj.el
>c:\java\project1\build\A.java
>c:\java\project2\prj.el
>c:\java\project2\build\B.java
>
>>From the "RE: JDE 2.2.6beta7 available" discussion and lisp
>documentation on this variable, I think I should be able to set
>the variable, jde-project-context-switching-enabled-p, to non-nil
>in both prj.el files and then I can have both A.java and B.java
>open at the same time. Then, if I am currently operating in the
>A.java, the project file that will be referenced is
>c:\java\project1\prj.el but if I switch to B.java, then
>the project file being referenced is c:\java\project2\prj.el.
>
>This is not happening for me. Is there another variable I need
>to set. If not, should I send a bug/help report along?
>
Hi Galen,
When you save a prj.el file, the JDE prompts you to enter a project name.
If you do not enter a unique name for each project, the JDE will be unable
to determine whether you have changed projects and hence will not reload
the project file as has been explained over and over again ad nauseam on
this list. Open your prj.el files. Notice that each one of then starts with
the following line:
(jde-set-project-name "NAME")
NAME has to be DIFFERENT for every project.
The JDE Save Project File command inserts the above line in EVERY project
file based on what you enter in the minibuffer when the JDE prompts you to
enter a project name. Please enter a UNIQUE name.
- Paul
>--
>Galen Boyer
>New Orleans is sink'n man and I don't want to swim.
>
>
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>
>