Capistrano SSH::AuthenticationFailed, not prompting for password

Figured it out! Apparently this issue was with net-ssh gem. I had version 2.8.0 installed recently with some updates to my development environment and was the cause. I’m not sure why it was failing, but gem uninstall net-ssh -v 2.8.0< fixed it for me. If anyone actually knows why this was an issue or how … Read more

How do I find the fully qualified name of an assembly?

This is a shameless copy-paste from I Note It Down and is a simple way to get the FQN for the project output: Open Visual Studio Go to Tools –> External Tools –> Add Title: Get Qualified Assembly Name Command: Powershell.exe Arguments: -command “[System.Reflection.AssemblyName]::GetAssemblyName(\”$(TargetPath)\”).FullName” Check “Use Output Window”. The new tool appears under Tools –> … Read more

How to clean (delete contents) folder with npm [closed]

You can use rimraf: https://github.com/isaacs/rimraf. Note that if you are using globs containing the globstar (**), you must double-quote them. Unix systems don’t all support the globstar by default, but rimraf will expand them for you. Windows doesn’t support single-quotes, so those can’t be used. Remember that double-quotes must be escaped in JSON with a … Read more

Can Maven collect all the dependent JARs for a project to help with application deployment?

What you want to investigate is Maven’s dependency plugin. Add something similar to the following to pom.xml: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <configuration> <outputDirectory> ${project.build.directory} </outputDirectory> </configuration> </plugin> Then run mvn clean dependency:copy-dependencies to copy perform the copy. Combine this with the assembly plugin and you can package everything into a self contained archive for distribution.

HTTP Error 500.30 – ASP.NET Core 5 app failed to start

There may be a few reasons behind the error which you can only identify by debugging. You can try to debug this error using the steps below: Navigate to the root directory of the application using CMD Run the application using the command dotnet run (yourApplicationName).dll If there are any errors, they should appear in … Read more

How To Integrate Clojure Web Applications in Apache

I use a combination of the following to make this fairly painless: Cake (incl. the deploy command) A Cake template for webprojects developed by Lau Jensen. Vagrant (Ruby VM(Virtualbox) management tool, which relies on Chef or Puppet) VPS (from Slicehost) The key part is the webdev template that Lau made. The webdev folder should be … Read more

Node.js setup for easy deployment and updating

Combining all knowledge gathered (Big thanks to Julian Knight for the ideas) and methods tested in the past week, I’ve decided to settle for the deployment solution described below (I thought I’d be nice to share to help others with comparable questions): Auto-restarting on script errors and automatic reloading on script changes is handled by … Read more

Hot deploy on JBoss – how do I make JBoss “see” the change?

I had the same problem in my bundle: (Eclipse IDE + JBoss server adapter) + JBoss AS 7.0.1 (community project). My solution is very simple – you should go to JBoss administrative panel (by default localhost:9990), there in profile settings open Core – Deployment Scanners. Turn on Autodeploy-Exploded (set to true), and by your wishes … Read more