ervandew / eclim

Expose eclipse features inside of vim.
http://eclim.org
GNU General Public License v3.0
1.04k stars 127 forks source link

ant: deploy skips vim files, because of missing Eclipse plugins #267

Closed blueyed closed 11 years ago

blueyed commented 11 years ago

I have just noticed that after upgrading/reinstalling Eclipse some eclim vim files are missing.

E.g. ./org.eclim.wst/vim/eclim/indent/html.vim.

This is because some of the plugins gets skipped:

gant:
 [echo] ${eclipse}: /opt/eclipse
 [echo] # Skipping org.eclim.adt, missing com.android.ide.eclipse.adt
 [echo] # Skipping org.eclim.cdt, missing org.eclipse.cdt
 [echo] # Skipping org.eclim.dltkruby, missing org.eclipse.dltk.ruby
 [echo] # Skipping org.eclim.wst, missing org.eclipse.wst.web_ui.feature
 [echo] # Skipping org.eclim.sdt, missing org.scala-ide.sdt.feature
 [echo] Plugins:
 [echo]   org.eclim.dltk
 [echo]   org.eclim.jdt
 [echo]   org.eclim.pdt
 [echo]   org.eclim.python

I would assume that all Vim files should get copied/installed always, shouldn't they?

At least this should be made sure for e.g. indent/html.vim, which is a required base for indent/htmldjango.vim.

ervandew commented 11 years ago

I would assume that all Vim files should get copied/installed always, shouldn't they?

Many of the vim files setup options relying on eclim daemon features, so if your daemon doesn't have those features having those options set will just cause errors and confusion.

At least this should be made sure for e.g. indent/html.vim, which is a required base for indent/htmldjango.vim.

I updated the python plugin build to include indent/html.vim. I poked around and that seems to be the only file from the wst plugin that is needed, but if you run into another one let me know and I'll include that as well.

blueyed commented 11 years ago

Thanks.

There are more missing though. I have removed the Eclipse Web Developer Tools temporarily again to get the list.

I am not sure why the rope files are in the list - maybe related to having just installed PyDev, but after both re-installing the WDT and PyDev, the list is empty again (i.e. all files are getting deployed).

% git status .|grep deleted
#   deleted:    eclim/autoload/eclim/css/complete.vim
#   deleted:    eclim/autoload/eclim/css/validate.vim
#   deleted:    eclim/autoload/eclim/html/complete.vim
#   deleted:    eclim/autoload/eclim/html/validate.vim
#   deleted:    eclim/autoload/eclim/javascript/complete.vim
#   deleted:    eclim/autoload/eclim/javascript/util.vim
#   deleted:    eclim/autoload/eclim/python/rope/__init__.py
#   deleted:    eclim/autoload/eclim/python/rope/base/__init__.py
#   deleted:    eclim/autoload/eclim/python/rope/base/arguments.py
#   deleted:    eclim/autoload/eclim/python/rope/base/ast.py
#   deleted:    eclim/autoload/eclim/python/rope/base/astutils.py
#   deleted:    eclim/autoload/eclim/python/rope/base/builtins.py
#   deleted:    eclim/autoload/eclim/python/rope/base/change.py
#   deleted:    eclim/autoload/eclim/python/rope/base/codeanalyze.py
#   deleted:    eclim/autoload/eclim/python/rope/base/default_config.py
#   deleted:    eclim/autoload/eclim/python/rope/base/evaluate.py
#   deleted:    eclim/autoload/eclim/python/rope/base/exceptions.py
#   deleted:    eclim/autoload/eclim/python/rope/base/fscommands.py
#   deleted:    eclim/autoload/eclim/python/rope/base/history.py
#   deleted:    eclim/autoload/eclim/python/rope/base/libutils.py
#   deleted:    eclim/autoload/eclim/python/rope/base/oi/__init__.py
#   deleted:    eclim/autoload/eclim/python/rope/base/oi/doa.py
#   deleted:    eclim/autoload/eclim/python/rope/base/oi/memorydb.py
#   deleted:    eclim/autoload/eclim/python/rope/base/oi/objectdb.py
#   deleted:    eclim/autoload/eclim/python/rope/base/oi/objectinfo.py
#   deleted:    eclim/autoload/eclim/python/rope/base/oi/runmod.py
#   deleted:    eclim/autoload/eclim/python/rope/base/oi/soa.py
#   deleted:    eclim/autoload/eclim/python/rope/base/oi/soi.py
#   deleted:    eclim/autoload/eclim/python/rope/base/oi/transform.py
#   deleted:    eclim/autoload/eclim/python/rope/base/prefs.py
#   deleted:    eclim/autoload/eclim/python/rope/base/project.py
#   deleted:    eclim/autoload/eclim/python/rope/base/pycore.py
#   deleted:    eclim/autoload/eclim/python/rope/base/pynames.py
#   deleted:    eclim/autoload/eclim/python/rope/base/pynamesdef.py
#   deleted:    eclim/autoload/eclim/python/rope/base/pyobjects.py
#   deleted:    eclim/autoload/eclim/python/rope/base/pyobjectsdef.py
#   deleted:    eclim/autoload/eclim/python/rope/base/pyscopes.py
#   deleted:    eclim/autoload/eclim/python/rope/base/resourceobserver.py
#   deleted:    eclim/autoload/eclim/python/rope/base/resources.py
#   deleted:    eclim/autoload/eclim/python/rope/base/simplify.py
#   deleted:    eclim/autoload/eclim/python/rope/base/stdmods.py
#   deleted:    eclim/autoload/eclim/python/rope/base/taskhandle.py
#   deleted:    eclim/autoload/eclim/python/rope/base/utils.py
#   deleted:    eclim/autoload/eclim/python/rope/base/worder.py
#   deleted:    eclim/autoload/eclim/python/rope/contrib/__init__.py
#   deleted:    eclim/autoload/eclim/python/rope/contrib/autoimport.py
#   deleted:    eclim/autoload/eclim/python/rope/contrib/changestack.py
#   deleted:    eclim/autoload/eclim/python/rope/contrib/codeassist.py
#   deleted:    eclim/autoload/eclim/python/rope/contrib/finderrors.py
#   deleted:    eclim/autoload/eclim/python/rope/contrib/findit.py
#   deleted:    eclim/autoload/eclim/python/rope/contrib/fixmodnames.py
#   deleted:    eclim/autoload/eclim/python/rope/contrib/fixsyntax.py
#   deleted:    eclim/autoload/eclim/python/rope/contrib/generate.py
#   deleted:    eclim/autoload/eclim/python/rope/refactor/__init__.py
#   deleted:    eclim/autoload/eclim/python/rope/refactor/change_signature.py
#   deleted:    eclim/autoload/eclim/python/rope/refactor/encapsulate_field.py
#   deleted:    eclim/autoload/eclim/python/rope/refactor/extract.py
#   deleted:    eclim/autoload/eclim/python/rope/refactor/functionutils.py
#   deleted:    eclim/autoload/eclim/python/rope/refactor/importutils/__init__.py
#   deleted:    eclim/autoload/eclim/python/rope/refactor/importutils/actions.py
#   deleted:    eclim/autoload/eclim/python/rope/refactor/importutils/importinfo.py
#   deleted:    eclim/autoload/eclim/python/rope/refactor/importutils/module_imports.py
#   deleted:    eclim/autoload/eclim/python/rope/refactor/inline.py
#   deleted:    eclim/autoload/eclim/python/rope/refactor/introduce_factory.py
#   deleted:    eclim/autoload/eclim/python/rope/refactor/introduce_parameter.py
#   deleted:    eclim/autoload/eclim/python/rope/refactor/localtofield.py
#   deleted:    eclim/autoload/eclim/python/rope/refactor/method_object.py
#   deleted:    eclim/autoload/eclim/python/rope/refactor/move.py
#   deleted:    eclim/autoload/eclim/python/rope/refactor/multiproject.py
#   deleted:    eclim/autoload/eclim/python/rope/refactor/occurrences.py
#   deleted:    eclim/autoload/eclim/python/rope/refactor/patchedast.py
#   deleted:    eclim/autoload/eclim/python/rope/refactor/rename.py
#   deleted:    eclim/autoload/eclim/python/rope/refactor/restructure.py
#   deleted:    eclim/autoload/eclim/python/rope/refactor/similarfinder.py
#   deleted:    eclim/autoload/eclim/python/rope/refactor/sourceutils.py
#   deleted:    eclim/autoload/eclim/python/rope/refactor/suites.py
#   deleted:    eclim/autoload/eclim/python/rope/refactor/topackage.py
#   deleted:    eclim/autoload/eclim/python/rope/refactor/usefunction.py
#   deleted:    eclim/autoload/eclim/python/rope/refactor/wildcards.py
#   deleted:    eclim/autoload/eclim/taglisttoo/lang/wsdl.vim
#   deleted:    eclim/autoload/eclim/xml/complete.vim
#   deleted:    eclim/ftplugin/css.vim
#   deleted:    eclim/ftplugin/dtd.vim
#   deleted:    eclim/ftplugin/html.vim
#   deleted:    eclim/ftplugin/javascript.vim
#   deleted:    eclim/ftplugin/wsdl.vim
#   deleted:    eclim/ftplugin/xml_complete.vim
#   deleted:    eclim/ftplugin/xsd.vim
#   deleted:    eclim/indent/css.vim
#   deleted:    eclim/indent/dtd.vim
#   deleted:    eclim/indent/javascript.vim
#   deleted:    eclim/syntax/css.vim
#   deleted:    eclim/syntax/html.vim
#   deleted:    eclim/syntax/wsdl.vim
ervandew commented 11 years ago

Rope files aside, you don't need any of those other files. Half are just going to hookup completion/validation for the various file types which require wst on the deamon side, which you don't have if you've uninstalled the eclipse web developer tools.