There appears to be a bug in jde-create-prj-values-str when using nested 
project files.  Consider this directory structure.


Root
--classes
--prj.el (defines jde-global-classpath as ("./classes"))
--src1
----prj.el (does not define jde-global-classpath)
----com/some/pkg/Foo.java
--src2
----prj.el (does not define jde-global-classpath)

When editing Foo.java and calling jde-create-prj-values-str (e.g., as part of 
jde-bsh-run), this call is made at line 2338 of jde.el.  (The line number might 
be off a bit if I've patched the source elsewhere.)

              (jde-build-path-arg nil (jde-get-global-classpath) t))

This results in the classpath being expanded with root/src1 as the project 
base, giving the incorrect classpath of root/src1/classes.  If the line is 
modified to be

              (jde-build-path-arg nil (jde-get-global-classpath) t 
'jde-global-classpath)))

(adding the symbol), then the expansion is done correctly as root/classes.

Troy

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
jdee-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jdee-users

Reply via email to