Maven Jacoco Configuration – Exclude classes/packages from report not working

Your XML is slightly wrong, you need to add any class exclusions within an excludes parent field, so your above configuration should look like the following as per the Jacoco docs <configuration> <excludes> <exclude>**/*Config.*</exclude> <exclude>**/*Dev.*</exclude> </excludes> </configuration> The values of the exclude fields should be class paths (not package names) of the compiled classes relative … Read more

Configuring Vim for C++

Code complete: Omni completion or Clang autocomplete or YouCompleteMe Real time syntax checking: Syntastic Switching between source and header file: A plugin Snippets: Snipmate or UltiSnip Search for reference of variables, functions, classes, etc.: Cscope Go to definition: Ctags or part of YouCompleteMe subcommands mentioned above Refactoring tools: Refactor, lh-refactor Useful text objects: Arg text … Read more

How to share Eclipse configuration over different workspaces

Sharing eclipse specific settings across workspaces: Go to ${old_workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings Copy everything under the above directory to ${new_workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings This is going to make sure that the ${new_workspace} is having the same configuration as the ${old_workspace} Hope this helps. Update in case of any issues.

OpenSSL and error in reading openssl.conf file

On Windows you can also set the environment property OPENSSL_CONF. For example from the commandline you can type: set OPENSSL_CONF=c:/libs/openssl-0.9.8k/openssl.cnf to validate it you can type: echo %OPENSSL_CONF% You can also set it as part of the computer’s environmental variables so all users and services have it available by default. See, for example, Environment variables … Read more

.NET: Which Exception to Throw When a Required Configuration Setting is Missing?

Personally, I’d use InvalidOperationException, as it’s a problem with the object state – not the configuration system. After all, shouldn’t you allow these settings to be set by code and not config as well? The important part here is not that there was no line in app.config, but that a required piece of info was … Read more

How can I change the language (to english) in Oracle SQL Developer?

Try to set user.language and user.country properties in sqldeveloper.conf file located in sqldeveloper\bin folder (%APPDATA%\sqldeveloper\<version>\product.conf for more recent versions) . Sample for set french language: IncludeConfFile ../../ide/bin/ide.conf SetJavaHome D:\jdk1.6.0_25 AddVMOption -Doracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG=true AddVMOption -Dsun.java2d.ddoffscreen=false AddVMOption -Dwindows.shell.font.languages= AddVMOption -Duser.language=fr AddVMOption -Duser.country=FR AddVMOption -XX:MaxPermSize=128M AddVMOption -Doracle.jdbc.mapDateToTimestamp=false IncludeConfFile sqldeveloper-nondebug.conf To switch off language try to remove its support by … Read more