Hi Eric,

I have tried both ways (putting the definitions into the .emacs and also trying the ece-flush-directory-hash), but unfortunately had no results. I can't even imagine what I could do wrong. Do you need my full .emacs and .emacs.d or something else to reproduce the error?

Dmitry

2012/8/7 Eric M. Ludlam <ericludlam@gmail.com>
Hmm. šDid you evaluate your ede-java-root-project in an Emacs where you had already visited files in your project?

If so, you need to flush the directory hash:

M-x ede-flush-directory-hash RET

or put all that stuff into your .emacs and restart Emacs.

This makes me realize that creating new root projects should probably flush the directory hash to help solve this problem.

Eric


On 08/07/2012 03:14 AM, äÍÉÔÒÉÊ âÕÛÅÎËÏ wrote:
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 <mailto:ericludlam@gmail.com>>


š š Hi,

š š š š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
š š Eric


š š 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
š š š š (http://www.my-clojure.__blogspot.com/2012/05/cedet-11-__emacs-java.html
š š š š <http://www.my-clojure.blogspot.com/2012/05/cedet-11-emacs-java.html>).

š š š š 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:
š š š š http://www.randomsample.de/__cedet-snapshots/cedet___snapshot-rev_8303.tar.gz

š š š š <http://www.randomsample.de/cedet-snapshots/cedet_snapshot-rev_8303.tar.gz>

š š š š 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
š š š š 'global-semantic-idle-__scheduler-mode)

š š š š (add-to-list 'semantic-default-submodes 'global-cedet-m3-minor-mode)
š š š š (add-to-list 'semantic-default-submodes
š š š š 'global-semantic-highlight-__func-mode)


š š š š (require 'semantic/wisent/java)

š š š š ;; Activate semantic
š š š š (semantic-mode 1)
š š š š (global-semanticdb-minor-mode 1)
š š š š (semantic-load-enable-gaudy-__code-helpers)


š š š š (global-ede-mode 1)
š š š š (ede-enable-generic-projects)

š š š š (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/
š š š š <http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/>



š š š š _________________________________________________
š š š š Cedet-devel mailing list
š š š š Cedet-devel@lists.sourceforge.__net
š š š š <mailto:Cedet-devel@lists.sourceforge.net>
š š š š https://lists.sourceforge.net/__lists/listinfo/cedet-devel
š š š š <https://lists.sourceforge.net/lists/listinfo/cedet-devel>





------------------------------------------------------------------------------
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
Cedet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cedet-devel