Technology

Technology

Can you guess the output? junit and initialization

Can you guess the output without running the code? The relation to Eclipse is simply the fact that big part of eclipse.org is a great example of good test coverage built on top of jUnit. Plus, it was literally pulling my hair out in one of the eclipse-related testing-suites. I stepped into this a few [...]

Also posted in Eclipse, Java, Tips | 2 Comments

Configuring Eclipse SVN (Subclipse) to use JavaHL(JNI)

Configuring JavaHL for Eclipse is not as straightforward as it could be so posting a quick HOWTO. Following applies mostly to Linux users. With Ubuntu the fool-proof steps are: Make sure libsvn-java, subversion and libsvn1 packages are installed Add following to the end of your eclipse.ini file: -Djava.library.path=/usr/lib/jni Restart eclipse and make sure JavaHL is [...]

Also posted in Eclipse, Tips | 2 Comments

Summer of Code: writing PHP plugins

Toomas finished the official part of the google summer of code program. It was an honor to be the mentor and I had/still have a lot of fun with him. Grab The PHP writing plugin for Eclipse from the update site and check it out if it works for you! Sorry, but java6 and eclipse [...]

Also posted in Business, Design, Eclipse, Tips | Comments Off

Comments closed, stay tuned for changes

Thanks to the ones bugging about posting new stuff. no thanks to my side for not doing this. summer has been busy yet slow-paced regarding online presence. ALL Comments are now disabled to prevent spamming. All moderation-queue comments were deleted (sry for the serious ones, over 3000 comments was too much to filter manually). Yes, [...]

Comments Off

Maven 2, Java 5, JUnit 4 and Eclipse with 3 steps!

STEP 1 – Create project mvn archetype:create -DgroupId=com.timegt.core -DartifactId=timegt-core STEP 2 – Fix pom.xml 1. replace name and url 2. replace 3.8.1 with 4.1 for junit-4.1 support 3. add this for JDK 5.0 support: <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> </plugins> </build> STEP 3 – Generate eclipse project settings and download/link [...]

Also posted in Eclipse | Leave a comment

Google, happy birthday!

Today Google has it’s 8th birthday! According to search engine logo. CONGRATS! These guys have definitely changed my life. Participation in Summer of Code is unforgettable because of the people I’ve met and the experience I’ve got. Just amazing. My adsense account is still in it’s early $thirties but who cares, I’m not doing this [...]

Also posted in Business | Leave a comment

No Big Silence – time to start up

Dear Reader, there is a reason. Good Reason. For the one month inactivity at my blog. Even then it was still a pleasure to serve everyone who came to this blog from google searching for eclipse word wrap, netbeans word wrap, junit transactions etc etc A bit less interesting pleasure has been to constantly remove [...]

Leave a comment

Just leave for 6 minutes and I’ll restart your Windows

I’ve been trying to transfer (temporarily) my life from linux/gentoo to Windows. This is hugely inspired by my new gadget, Nokia E61 and some other extreme-planning habits. Nokia/symbian still doesn’t have any reasonable way to sync calendar and notes with linux calendaring apps. So, welcome, dear windows xp service pack 2 For a start, I’m [...]

Leave a comment

Google Code Project Hosting – A replacement for Sourceforge?

engtech » Google Code Project Hosting – A replacement for Sourceforge?: “There is a new entry into the open source software code repository space: Google Code – Project Hosting. This will hopefully be a long awaited kick in the pants for Sourceforge.net which hosts many, many projects but it can be difficult to find the [...]

Leave a comment

Build a generic typesafe DAO with Hibernate and Spring AOP

Don’t repeat the DAO!: “With the adoption of Javaâ„¢ 5 generics, the idea of a generic typesafe Data Access Object (DAO) implementation has become feasible. In this article, system architect Per Mellqvist presents a generic DAO implementation class based on Hibernate. He then shows you how to use Spring AOP introductions to add a typesafe [...]

Also posted in Tips | Leave a comment