No natures

155 views
Skip to first unread message

Yu-Xi Lim

unread,
May 29, 2013, 10:36:29 PM5/29/13
to eclim...@googlegroups.com
I can't seem to see or use any project natures.

I'm using eclim with Emacs, but have narrowed down the problem using just eclim and eclimd. I'm on OSX 10.8.3 (64-bit), Eclipse 4.2.2 (Java EE distro), and eclim 2.2.6. I'm running eclimd headed (Window > Show View > Other > Eclim > eclimd). Eclim itself is run from the command line for the purposes of this repro.

> eclim -command ping
{"eclim":"2.2.6","eclipse":"4.2.2"}

Now the problem I'm seeing
> eclim -command project_create -f workspace/test -p test -n java
java.lang.IllegalArgumentException: Unable to find nature for alias 'java'.  Supported aliases include:
[stack trace removed, no aliases listed]

> eclim -command project_nature_aliases
[]

FWIW, I can create projects just fine from Eclipse itself. Helloservice below was created as an "Enterprise Application Project" but shows up with no natures:
> eclim -command project_natures
[{"natures":["none"],"name":"RemoteSystemsTempFiles"},{"natures":["none"],"name":"helloworld"}]

Any ideas what I may have done wrong?


Eric Van Dewoestine

unread,
May 30, 2013, 9:10:22 AM5/30/13
to eclim...@googlegroups.com
Can you post the eclimd log when it starts up? The nature aliases are
registered during startup of the individual eclim plugins
(org.eclim.jdt for the 'java' nature alias), so perhaps the log during
startup will provide a clue.

--
eric

Yu-Xi Lim

unread,
May 30, 2013, 10:16:33 PM5/30/13
to eclim...@googlegroups.com
I've mucked around with a standard Eclipse (re-)installation instead of the EE one and everything seems to be working now. Thanks!
Reply all
Reply to author
Forward
0 new messages