Can't find bsh.jar in build/

Daniel Clemente <[email protected]>
Newsgroups gmane.emacs.jdee.devel
Message-ID <[email protected]>
Hi,
  I'm very confused with JDEE installation (latest 2.4 from SVN). After too much fighting I can run „ant build“ without errors, and this has created a new directory build/ which contains classes/ config/ and lisp/

  Now I got this error when trying to browse to a class: 

Debugger entered--Lisp error: (error "Specified BeanShell jar filed does not exist: /home/dc/.emacs.d/jde-2.4-svn/build/java/lib/bsh.jar")

  Here I see a problem: there is no directory build/java. There is a java/ directory, but it is at the same level as build/
  Therefore:
- 1. either JDEE should look for bsh.jar in the correct path, /home/dc/.emacs.d/jde-2.4-svn/java/lib/bsh.jar
- 2. or java/ should be copied to build/
- 3. or something else is failing for me

  I'd prefer the first solution. I already have set 'bsh-jar to the correct path, but it isn't taken into account.
  This behaviour comes probably from this code, which should use bsh-jar:


(defmethod initialize-instance ((this jde-bsh) &rest fields)
  "Constructor for the JDEE BeanShell instance."
  (call-next-method)
  (let* ((jde-java-directory
	  (concat
	   (jde-find-jde-data-directory)
	   "java/")))

    (oset this bsh-cmd-dir (expand-file-name "bsh-commands" jde-java-directory))
    (oset this checkstyle-jar  (expand-file-name "lib/checkstyle-all.jar" jde-java-directory))
    (oset this regexp-jar (expand-file-name "lib/jakarta-regexp.jar" jde-java-directory))
    (oset this jde-classes-dir (expand-file-name "classes" jde-java-directory))
    (oset this jde-jar (expand-file-name "lib/jde.jar" jde-java-directory))
→→→ (oset this jar  (expand-file-name "lib/bsh.jar" jde-java-directory))
    (oset-default 'jde-bsh the-bsh this)))


-- Daniel



      

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
jdee-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jdee-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.