From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "rob wahoo" Newsgroups: gmane.emacs.help Subject: Re: java project classpath in emacs Date: 28 Mar 2007 06:25:44 -0700 Organization: http://groups.google.com Message-ID: <1175088344.341690.321340@p77g2000hsh.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1175089165 19305 80.91.229.12 (28 Mar 2007 13:39:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 28 Mar 2007 13:39:25 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 28 15:39:18 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HWYMu-0007tO-Qv for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Mar 2007 15:39:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HWYPM-0005IS-NW for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Mar 2007 08:41:48 -0500 Original-Path: shelby.stanford.edu!newshub.stanford.edu!postnews.google.com!p77g2000hsh.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 40 Original-NNTP-Posting-Host: 209.183.239.194 Original-X-Trace: posting.google.com 1175088345 4011 127.0.0.1 (28 Mar 2007 13:25:45 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 28 Mar 2007 13:25:45 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: p77g2000hsh.googlegroups.com; posting-host=209.183.239.194; posting-account=pUfCiQ0AAACi3tunytJMUz8UagDuYa71 Original-Xref: shelby.stanford.edu gnu.emacs.help:146638 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:42242 Archived-At: 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 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