Wednesday, June 25, 2008

Dispointed with Eclipse Ganymede

Well, Eclipse Ganymede did released on 25th June 2008, however for two sub projects that I am interested, STP and Subversive, some of the component of the STP are still on 0.8 and 0.9 version, and for Subversive, it's still on the 0.7.1, they did not meet the promise of the 1.o final version.

Sunday, June 8, 2008

The STP of Ganymede -- CXF included

Eclipse 3.4 will be released soon at the end of this month, There are several features that I am quite interested:

1. New Ganymede sub project, SOA tool project (STP) includes the CXF Web Service framework, it's really a cool feature.

2. P2, the new update manager, finally Eclipse starts to organize its plugins. :)

3. Refactor methods includes a new "Extract Class".

4. The SVN client is built in as a Eclipse sub project. It seems that we don't need to download the subclipse anymore.

When I began to use Eclipse 2.o, it's in 2003. Now it's 2008, the Eclipse version is only 3.4(soon). It seems that Eclipse version number growing is not so fast. :)

Wednesday, May 21, 2008

Eclipse template shortcuts

Recently I found some convenient methods to improve progamming typing in Eclipse with java,

type them and then press the "Enter" key and you will be suprised how fast you can be :)

some of the mosted used are:

sysout

new

private

public

for

if

......

Tuesday, May 6, 2008

cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'dwr:controller'.

Recently I am trying to use the DWR library, since my company is behind the firewall, Eclipse is not able to access the dwr schema. so when I decleared the dwr namespace in the spring configuration file:
xmlns:dwr="http://www.directwebremoting.org/schema/spring-dwr"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.directwebremoting.org/schema/spring-dwr http://www.directwebremoting.org/schema/spring-dwr-2.0.xsd">

I got the cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'dwr:controller'. error in my Eclipse 3.3 version.

Inspired by the http://www.jroller.com/habuma/entry/fixing_spring_modules_xsd_errors

I download the http://www.directwebremoting.org/schema/spring-dwr-2.0.xsd and put it into my dwr.jar file and defined an entry in Web and XML" -> "XML Catalog".

The annoying error is gone :)

Thursday, April 24, 2008

SVN-trunk-branches-tags

Recently I want to organise my SVN project using the trunk-branches-tags directories structure. The Web project will be created in the trunk directory and we will also check in and check out the code from this location. The problem here is that if we check out the code and build from the trunk directory, then we are not able to update the tags and branches directories. so a workaround is to create another simple project and check out the source codes from the parent directory of the trunk, tags and branches.