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
......
Wednesday, May 21, 2008
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 :)
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.
Subscribe to:
Posts (Atom)