So I play with my favorite ant build script and a day later nearly every annotation is broken: java.lang.IllegalStateException: No parameter name specified for argument of type [java.lang.String], and no parameter name information found in class file either. as far as the eye goes. What actually happened is that the new deployment skips debugging information … Continue reading Annotations, Java compiler and missing debugging information
Category: programming
Ant terminating immediately in Eclipse without any errors
Recently all ant builds started failing when started from within Eclipse without an apparent reason. When the ant target is invoked, the console briefly opens and closes again, without any message or error. /workspace/.metadata/.log finally reveals the cause: java.lang.NoClassDefFoundError: org/apache/tools/ant/BuildException Some Ant classes seem to be missing, strange. A look at Window -> Preferences -> … Continue reading Ant terminating immediately in Eclipse without any errors
Tomcat, Eclipse, Spring and reloading
As a webapp gets bigger the time it takes to boot also increases which is a serious factor contributing to decreased focus and productivity when programming. When running Tomcat with Eclipse, the web application may restart even for the most trivial changes incurring long pauses. I found the following settings for Tomcat to minimize restarts … Continue reading Tomcat, Eclipse, Spring and reloading
Non-Latin characters, openID and the openid4java library
The openid4java [1] library is a very handy set of components that handles openid and oauth for java applications and definitely worth a look before you capitulate in frustration before all that modern openid stuff. For those of us living and working outside the 7bit-speaking ANSI niche there is one webserver setting to verify: the … Continue reading Non-Latin characters, openID and the openid4java library
Squeezing the last bit out of RPC GWT
My latest web project [1] is setting up a real estate site in Indonesia with GWT. While the number of internet users grow at an astonishing rate, much of the internet connectivity is achieved through slow dial ups or mobile connections. Thus the primary technical goal was keeping network payload to a minimum. GWT RPC … Continue reading Squeezing the last bit out of RPC GWT