unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "rob wahoo" <robchristie@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: java project classpath in emacs
Date: 28 Mar 2007 06:25:44 -0700	[thread overview]
Message-ID: <1175088344.341690.321340@p77g2000hsh.googlegroups.com> (raw)
In-Reply-To: <m3d52tpxbo.fsf@qingw.com>

Are you sure the jde-global-classpath is getting set when you switch
between projects?

When you are in an open java file from project A what is the value of
jde-global-classpath? When you switch to a java file in project B what
is the value of the jde-global-classpath?

Also, are you explicitly adding each .jar in the lib directory to your
classpath?

Rob


On Mar 28, 4:49 am, QinGW <dealo...@21cn.com> wrote:
> hello,everybody!
>         how can I get different classpath value when I load different
>         java project?
>
>         for example:
>
> 1)        project A
>           it's classpath as following:
>           /home/qingwu/source/A/src
>           /home/qingwu/source/A/lib
>           /home/qingwu/source/A/build/classes
> 2)        project B
>           it's classpath as following:
>           /home/qingwu/source/B/src
>           /home/qingwu/source/B/lib
>           /home/qingwu/source/B/build/classes
>
> I have setted "jde-global-classpath" variable using different value in
> prj.el and add hook to jde-mode, but I still can't find lib package when I compile one java
> source file.
>
> my env:emacs jde ant
>
> Thanks very much, qingwu

  reply	other threads:[~2007-03-28 13:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-28  8:49 java project classpath in emacs QinGW
2007-03-28 13:25 ` rob wahoo [this message]
2007-03-29  1:18 ` koocyton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1175088344.341690.321340@p77g2000hsh.googlegroups.com \
    --to=robchristie@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).