From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: QinGW Newsgroups: gmane.emacs.help Subject: java project classpath in emacs Date: Wed, 28 Mar 2007 16:49:15 +0800 Organization: Bentium Ltd. (CN99) Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1175074806 6207 80.91.229.12 (28 Mar 2007 09:40:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 28 Mar 2007 09:40:06 +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 11:40:00 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 1HWUdM-0005CQ-5O for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Mar 2007 11:40:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HWUfn-0006FS-Tl for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Mar 2007 04:42:32 -0500 Original-Path: shelby.stanford.edu!newshub.stanford.edu!newsfeed.news.ucla.edu!newsfeed.media.kyoto-u.ac.jp!news.cn99.com!news.yaako.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-NNTP-Posting-Host: 123.114.33.70 Original-X-Trace: news.yaako.com 1175071521 28126 123.114.33.70 (28 Mar 2007 08:45:21 GMT) Original-X-Complaints-To: usenet@news.yaako.com Original-NNTP-Posting-Date: Wed, 28 Mar 2007 08:45:21 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux) Cancel-Lock: sha1:6hIrydsC7zS6Ye3YRfBdhEwkgaw= Original-Xref: shelby.stanford.edu gnu.emacs.help:146625 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:42229 Archived-At: 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