Running Alfresco 3.3 with embedded database (H2 in PostgreSQL compability mode)

Alfresco is a very good open source content management system, however there is only one problem with Alfresco, testing. It is a complete headache, writing an integration test, forget it! You will end up with functional tests; fire up an Alfresco instance use one of the existing interfaces to setup some test data and finally do your test Unfortunately, starting from version 3.2 you cannot even do that and why? Because starting from version 3.2…

"Running Alfresco 3.3 with embedded database (H2 in PostgreSQL compability mode)"

How to setup up a new JDK with update-alternatives in Java?

update-alternatives in Java is a very good/clever tool especially for developers who has to maintain different versions of SDK‘s. I frequently use this feature to manage different Ruby versions, JDK versions and many other things but I always had to google it to check how to use. I saw that having to google it every time I need is time consuming so I finally decided to learn it and I noticed that it is not…

"How to setup up a new JDK with update-alternatives in Java?"

JIRA Exceeded Expectations on GreenHopper

Personally I am not a big supporter for agile tools or rather I am not a big supporter for agile methodologies like; Scrum. I think, this kind of frameworks just enable developers with different personalities/styles and from different profiles to work together. Although I am not a big fan of these kind of methodologies, it is not easy to form a team that you don’t need to use them. Enough for the analysis, it is…

"JIRA Exceeded Expectations on GreenHopper"

Maven: Set up java.library.path

I’ve tried to set up java.library.path as next example      <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <systemProperties> <property> <name>java.library.path</name> <value>target/lib/</value> </property> </systemProperties> </configuration> </plugin> but there were problems in testing, one test with JNI was passed but others were failed. I’ve spent about 4 hours for investigation and found that in last part of documentation there are special properties, so I’ve tried it and it is working!!! Simple example of working plugin configuration <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <forkMode>once</forkMode> <workingDirectory>target</workingDirectory> <argLine>-Djava.library.path=${basedir}/lib</argLine>…

"Maven: Set up java.library.path"

ASP.net Form Validation with jQuery Part 1: The ValidatorUpdateDisplay Function

I use the built-in ASP.net validation controls all the time and they work quite nicely. However, they’re boring. Sure, some CSS formatting could be applied to make it look a little nicer and images could be used for the validation errors, but they still only work a certain way. The ValidationSummary especially can be problematic when you have a lengthy form that requires scrolling. To make this as user-friendly as possible you more than likely…

"ASP.net Form Validation with jQuery Part 1: The ValidatorUpdateDisplay Function"