Title: RE: adding all jars in dir to jde-global-classpath
PS:  I realize that you could use jde-expand-classpath-p variable, but
this method gives you more control over things.  You could sort the list
yourself, or leave it unsorted.  It's a bit more flexible, but if you don't care
about order, use the above variable.
 
-----Original Message-----
From: Inger, Matthew [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 31, 2002 12:56 PM
To: 'Jayakrishnan Nair'; [EMAIL PROTECTED]
Subject: RE: adding all jars in dir to jde-global-classpath

(defun get-all-jar-files(dir &optional full nosort)
    (directory-files dir full nosort ".*\.jar"))

(setq jar-files (get-all-jar-files "E:/Project/WEB-INF/lib" t))
(print jar-files (get-buffer "*scratch*"))

you could then use the various list functions to append this
to another list, and then set the jde-global-classpath

-----Original Message-----
From: Jayakrishnan Nair [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 31, 2002 12:37 PM
To: [EMAIL PROTECTED]
Subject: adding all jars in dir to jde-global-classpath


right now as i understand, we have to add all jar
files to jde-global-classpath. is there a way to say,
here is a directory, add all jars under that
(recursive) to jde-global-classpath.

if this is not there, it would be a great feature to
have.

jk

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

Reply via email to