Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: Jeff Peck <jpjnk4-jdee@ya...> - 2009-08-26 21:36:24
I think this patch to jde-expand-classpath makes
a) it means things named: ".../jarx" or ".../lib2"
are not seen as *.jar repositories
(for backward compatibility,
you could use: (list "/lib[^/]*$"
b) it means one can say: "/lib/ext$" *is* a jar
as in: '(jde-lib-directory-names '("/lib$" "/jar$"
which I need and could find no way to express,
without including other foo/ext directories...
(and writing a jde-excluded-file-names to remove
the extraneous files seems wrong;
I expect the excluded list to operate on the
'tail' of the filename, not on the upper directories)
patch to jde.el:
:lisp>diff jde.el.~1~ jde.el
< (defcustom jde-lib-directory-names (list "^lib" "^jar")
> (defcustom jde-lib-directory-names (list "/lib$" "/jar$")
< (let ((dir-name (file-name-nondirectory path)))
< (lambda (lib-name)
< (string-match lib-name dir-name))
> ;; (2008-08-26: examine whole
> (lambda (lib-name) (string-match lib-name path))