Stupid problem: scala unit tests / scalatest tests suddenly won't run after a failed maven build claiming with a ClassNotFoundException that the test class doesn't exist. I believe this to be a weird class loading issue where Eclipse doesn't include unit tests into the classpath. The very, very sad workaround is: run a successful maven … Continue reading When scala unitests won’t run in the Scala IDE with Maven
Category: programming
Programmatically selecting a tab with angularjs and bootstrapui
Let's say you want to programmatically select a tab with angularjs and bootstrap ui: [CODE MISSING] According to the documentation for 3.1.1 it should be enough to modify the model; here controller.tabUsers or controller.tabGroups. Only: it doesn't work. We'll never know why. The way out is simulating the click with jquery: $("#tab_users a").trigger("click");
Collection of linux scripts online
Linux scripts from this blog are now available in gitub https://github.com/ggeorgovassilis/linuxscripts
Using gitub as a maven repository
If you shun the work that comes with uploading JARs to the central maven repository, here's a simple way to host your own maven repository on github [1].I'm copying the bare essentials from Christian Kaltepoth's article, you should read it for the details:Setting up----$ pwd/home/ck/workspace/jsf-maven-util$ cd ..$ git clone git@github.com:chkal/jsf-maven-util.git jsf-maven-util-pages$ cd jsf-maven-util-pages $ git symbolic-ref … Continue reading Using gitub as a maven repository
LocalContainerEntityManagerFactoryBean, Hibernate and superflous tables created in wrong database
TL;DR Hibernate's (3.2-3.4) JPA implementation will pick up hbm files on it's own when it should be looking only at persistence.xml, thus: - loading more entities that it should - loading the wrong entities - performing schema updates in the wrong database This one annoyed me plenty and took a great deal of debugging to … Continue reading LocalContainerEntityManagerFactoryBean, Hibernate and superflous tables created in wrong database