Declaring custom ‘clean’ task when using the standard Gradle lifecycle plugins is not allowed

You should not try to override the default clean task, but instead configure it to delete additional stuff like clean { delete rootProject.buildDir } But check first whether this is not the default behavior of the clean task anyway. Alternatively if you want to be able to do a specific clean action individually, you can … Read more

Any Notepad++ plugins to automatically save document versions [closed]

Settings > Preferences > Backup tab > Click Verbose Backup This will time stamp a copy of your file every time you save. Update: AutoSave allows to automatically save the currently open files based on a timer schedule (default is 1 min) and/or upon the application losing focus. The plugin offers a couple of options … Read more

What are some recommended plugins for Trac? [closed]

Lots of Trac plugins look promising. Unfortunately only a handful really delivers and even then some of them are not properly supported or maintained. They also tend to conflict sometimes. I will not recommend anything for project management specifically but these are the ones which made our live so much easier: TagsPlugin – the most … Read more

How to remove old versions of Eclipse plugins?

I use the following command: eclipse -application org.eclipse.equinox.p2.garbagecollector.application -profile epp.package.jee Notes: This is documented in Equinox/p2/FAQ, see “Why aren’t bundles being removed when their associated feature has been removed?” The FAQ answer references an Eclipse Community Forum thread “Plug-in jar remains after feature uninstall” (June 2010) as the origin for this recipe. The recipe is … Read more

How to add dependency of a local gem to a rails plugin/engine, in .gemspec file

While developing 2 gems, gem1 and gem2, requiring that gem1 locally depends on gem2 is quite handy. You can’t do this in your gemspec, however, you can do so in your gem’s Gemfile! # Gemfile source “https://rubygems.org” gem ‘gem2’, :path => ‘../gem2’ # Specify your gem’s dependencies in gem1.gemspec gemspec And then in your gemspec, … Read more

Does Rust have a dlopen equivalent

The Rust FAQ officially endorses libloading. Beyond that, there are three different options I know of: Use the shared_library crate Use the dylib crate. Use std::dynamic_lib, which is deprecated since Rust 1.5. (These docs are no longer available in version 1.32; it’s likely the feature has been dropped altogether by now.) I haven’t tried any … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)