Fix documentation error, resolve problem with Ant build.xml#7
Fix documentation error, resolve problem with Ant build.xml#7nwallace wants to merge 4 commits intoneowit:masterfrom nwallace:master
Conversation
I am still wrestling with getting this installed, but I believe this is an error in the documentation. There is no file ftdetect/apexcode.vim. The file 'apexcode.vim' lives in the 'ftplugin' directory. Changing these two lines of code allowed the plugin to load its scripts and run (although I'm still unable to successfully pull down my project files).
|
Hi Andrey, I've been trying to install this plugin for the last couple of days. I'm new to Vim, so I don't know Vimscript, but I've done my best to try and understand how the pieces are connected. I still can't get the plugin to interact with my Salesforce org, but I'm working on it. In the meantime, I've made these two changes. I was unable to install the plugin before I changed the plugin runtime filename. That enabled me to load the scripts, and got me syntax highlighting, access to the plugin commands, and access to the help file within Vim. However, after that I tried to follow your instructions to pull down my project from Salesforce, and I encountered an Ant error. My version of Ant doesn't tolerate undefined targets, so I removed the undefined default target. I'm still unable to use the plugin. I cannot do :ApexRefreshProject with the sample class file. I'm investigating the cause of this issue, and if I find more problems in the plugin, I'll send another pull request. Thanks for all the work on this! I'm excited to get it working. |
|
Nathan, I have merged the documentation update commit and need to give a closer look at the ant target issue. The inexistent target there is deliberate, to make sure that incorrect configuration does not cause random target to fire. Out of interest - what is your current setup?
What error do you get when try With regards to the |
|
Nathan, It's been a long while (and lots of plugin changes) since I last run this plugin on Windows so there is a good chance that it no longer works on windows out of the box. |
|
I'm so sorry to pull you back to the darkness... I'm working sporadically myself, so I'll let you know if I figure anything out. Thanks for everything |
|
The reason why ant complained about "no-default-task" target is because it could not find actual Pull current plugin version and see if that makes any difference for you. |
|
That's done it! Thank you very much. I was able to pull down my project, and update/deploy a file. Again, I greatly appreciate your help. |

No description provided.