#19 new
Jim Haungs

tiny_mce installer should not copy .svn directories

Reported by Jim Haungs | March 3rd, 2010 @ 07:32 PM

If you install the plugin, and immediately check it into SVN, before the rake installer task runs, the installer file copier copies the .SVN directories from vendor/plugins/tiny_mce to public/javascripts/tiny_mce, which royally screws up subversion.

For the plugin user, the correct sequence is to install the plugin, run the rake task, then check both vendor/plugins/tiny_mce and public/javascripts/tiny_mce into subversion. But if you do any of this in the wrong order, all hell breaks loose.

The correct way to fix this is to exclude (recursively) any .SVN directories you find during the file copy. Using FileUtils.cp_r is too general.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A Ruby on Rails plugin that allows easy implementation of the TinyMCE editor into your applications.

People watching this ticket

Pages