Vagrant, shared folders, symbolic links

I’ve struggled to set up a Vagrant environment to test and finally package tAD libraries into a proper WordPress plugin.
The reason of my struggle is that symbolic linking will not work in synchronized folders in Vagrant. This means that my idea of a central folder of plugins and themes symbolically linked to the synced folders of each vagrant virtual machine is not possible.

It’s a common problem

During my google-searching for a solution it seemed clear to me that the problem is a common one, often solved avoiding it and sometimes solved the proper way.

The proper way did not work for me

I’ve used PuPHPet to up all my machines and the proposed solution did not work. Any plugin folder I try to symlink into a virtual machine WordPress installation plugins folder simply does not appear. [caption id=“attachment_608” align=“aligncenter” width=“778”]Just one Just one[/caption] [caption id=“attachment_609” align=“aligncenter” width=“884”]Two here Two here[/caption] While copying and pasting the whole plugin folder into said folder will make the plugin appear. [caption id=“attachment_610” align=“aligncenter” width=“728”]Two now Two now[/caption]

A better alternative?

I’ve stumbled on VVV and I’m giving that a try. This means losing Vagrant power of testing code against different server solutions, PHP versions and OSes but I guess WordPress is an abstraction from the server layer enough to deem that a little loss. WordPress theme and plugin development in mind that more specialised solution might be a better solution in the long run.