Paul,
In my case, I was opening a buffer with no associated project (actually it's a source
file of the JDK I'm opening for reference, and I usually don't modify JDK installs on
my machine, so I did not add a project file to it) so I guess it defaults to the
default project name.
And since my main project does have the same default name (prj.el) I guess this is the
reason of the fail. Do you think it makes sense?
However, even if some two projects have the same name, but have different path, do you
think that JDE could use this information to detect they're different?
Regards,
Guillaume.
> -----Original Message-----
> From: Paul Kinnucan [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 28, 2000 11:14 PM
> To: Galen Boyer; [EMAIL PROTECTED]
> Subject: Re: jde-project-context-switching-enabled-p
>
>
> 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
> >
> >
>