Google Visualization API supports multiple data queries. So on the client side if you use google.visualization.Query, it automatically increases reqId with every new request you make on the same page. The reason is to identify query responses correctly using reqIds. In order to make this work, you also have to prepare your query responses with the correct reqId. You can use the following snippet if you are using gviz python library. However the idea is…
"Handling multiple queries with Google Visualization API"Author: Hashim
If you are using any of these artifacts from Spring Enterprise Bundle repository –just like I did–, you can face this problem. Since the artifact names of these artifacts are different than usual, it is not possible for surefire to detect. Solution is easy, just configure surefire as follows. <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <!– This two configuration is required to make maven-surefire-plugin recognize junit and testng since we are using these artifacts from spring enterprise…
"Surefire is not picking up JUnit 4/TestNG 5 tests"Since Alfresco source code is not managed by maven, implementing Alfresco extensions (AMP extensions) even simple JAR extensions with maven is very painful. Actually maven aside, Alfresco’s extension mechanism is itself very basic or rather primitive and based on MMT (Module Management Tool). MMT is a executable jar file for overlaying AMP’s (Alfresco Module Plugin) into Alfresco war file. The simple steps are; Extracting Alfresco war file Extracting AMP Copying everything inside the AMP into…
"Making Alfresco Maven Friendly"I like continuous deployment just like continuous integration. However it can be pain if you have too many environments to deploy to. In the project that I am currently involved in, we have 3 environments for which continuous deployment makes sense. Deployment frequency is different, deployment policies are different but I am sure it is possible to automatize the deployment process up to some extend. Just for that reason (and also because I am bored…
"Automatic deployment for Tomcat Applications"I don’t know EasyMock very well, I just use what I know. I hear you saying; C’mon man, how hard can it be? Besides the whole library consists of 11 classes. Just read the manual and the API docs. I hear you, however I could not find that time ever. I found my own ways when I found myself in situations that can not be handled with EasyMock –my view of EasyMock of course– For…
"Interacting with an argument passed to a mocked method in EasyMock"