Archive for September, 2008

September Madness

Posted on September 30th, 2008 in Politics | No Comments »

Struts 2 Archetype

Posted on September 29th, 2008 in Code | No Comments »

mvn archetype:generate -DgroupId=CHANGE -DartifactId=CHANGE -DarchetypeGroupId=org.apache.struts -DarchetypeArtifactId=struts2-archetype-starter -DarchetypeVersion=2.0.11.2-SNAPSHOT -DarchetypeRepository=http://people.apache.org/repo/m2-snapshot-repository

cd PROJECT_DIR

mvn eclipse:m2eclipse -Dwtpversion=1.5

mvn eclipse:eclipse

mvn clean

Watching the downfall of the United States

Posted on September 22nd, 2008 in Politics | No Comments »

It’s a very sad week for those of us who still hold true to the American ideologies of free market economics and small government. I think it’s time to make the call. The United States – the country my grandparents generation fought and died for – is officially gone.

http://www.time.com/time/nation/article/0,8599,1843168,00.html?cnn=yes

I might as well move to France. If I am going to be taxed for and be restricted by a socialist government, might as well get the benefits from it.

Unable to locate Spring NamespaceHandler for XML schema namespace

Posted on September 6th, 2008 in Code | 1 Comment »

http://samialsayyed.blogspot.com/2007/07/xml-schema-based-configuration.html

Also, use


<groupId>org.springframework</groupId>
<artifactId>spring</artifactId>
<version>2.5.5</version>
</dependency>

rather than

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring</artifactId>
<version>2.5.5</version>
</dependency>

Eclipse ini

Posted on September 3rd, 2008 in Code | No Comments »

-showsplash
org.eclipse.platform
–launcher.XXMaxPermSize
256m
-framework
plugins\org.eclipse.osgi_3.4.0.v20080605-1900.jar
-vm
C:\Program Files\Java\jdk1.6.0_06\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx256m

Shutdown Hooks – JVM Shutdowns

Posted on September 3rd, 2008 in Code | No Comments »

http://www.onjava.com/pub/a/onjava/2003/03/26/shutdownhook.html?page=1