Hi Eric,

Thanks for your reply. I did what you've told me: I have evaluated this project file, but with no result. Can you please test the symbol importing from the Oracle JDK or OpenJDK? If you find it working, please tell me which CEDET development version should I use for that.

Thanks in advance,
š Dmitry

2012/8/7 Eric M. Ludlam <ericludlam@gmail.com>

š I'm not exactly sure what happened between CEDET 1.1 (the old file names) and the file rename branch. šI have only worked with CEDET and Java with the Android EDE project. šWhen I moved to the file rename branch (now on trunk) the ability to identify .jar files broke. šI got it working again, but the solution wasn't related to merging anything in from the 1.1 branch. šAs such, the revision you mention should work, though I only really tested it in Android.

š Your project.ede looks fine using ede-java-root-project, but you need to make sure you eval the Emacs Lisp code in Project.ede. šIf you try to rely in the typical way project.ede is loaded, it will fail because the project loader will refuse to evaluate the contents since it doesn't create a class of the right type. šYou need to have that snippet in your .emacs, or have an explicit (load "/path/to/my/project.ede") in your .emacs file.

Good Luck

On 08/03/2012 01:31 PM, äÍÉÔÒÉÊ âÕÛÅÎËÏ wrote:
Hi all,

I was tracking the new functionality for java support since this spring
and have managed to turn my Emacs into a java IDE
But after I have switched to new CEDET development version, the things
broke down. For now I have semantic-ia-complete-symbol working only
within the java project files, but totally can't get any symbol info
from jars. Can you help me with that?

This is the 8303 revision of CEDET which I use:

This is how I load CEDET:

(load-file "~/cedet/cedet-devel-load.el")
(add-to-list 'load-path "~/cedet/contrib/")
(add-to-list 'Info-directory-list "~/cedet/doc/info")

(add-to-list 'semantic-default-submodes 'global-semantic-mru-bookmark-mode)
(add-to-list 'semantic-default-submodes 'global-semanticdb-minor-mode)
(add-to-list 'semantic-default-submodes
(add-to-list 'semantic-default-submodes 'global-cedet-m3-minor-mode)
(add-to-list 'semantic-default-submodes

(require 'semantic/wisent/java)

;; Activate semantic
(semantic-mode 1)
(global-semanticdb-minor-mode 1)

(global-ede-mode 1)

(require 'ede/java-root)

This is how my project.ede looks like:

(ede-java-root-project "SOMENAME"
š š š š š š š š :file "/home/dim/java/project.ede"
š š š š š š š š :classpath '("/opt/jdk/jre/lib/rt.jar")
š š š š š š š š :srcroot '("src"))

Thanks in advance,
š šDmitry

Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

Cedet-devel mailing list