Recent Posts
Archives

Archive for the ‘The geek way of life’ Category

PostHeaderIcon Unable to validate using XSD: Your JAXP provider does not support XML Schema

Here is the stacktrace that happened this morning:

Unable to validate using XSD: Your JAXP provider org.apache.crimson.jaxp.DocumentBuilderFactoryImpl@e6a73d does not support XML Schema. Are you running on Java 1.4 or below with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD support.

To solve it, I had to remove the j2ee-X.X.jar from my project.xml Maven config file.

PostHeaderIcon How to test a single class in Maven?

Use the command:

maven test:single -Dtestcase=com.mypath.(...).MyUnitTest

PostHeaderIcon How to reboot or shutdown Windows?

Use following commands:

  • to shutdow: shutdown -s -t 0 -f
  • to reboot: shutdown -r -t 0 -f

PostHeaderIcon Create an alias in MS-DOS

Here is a very useful way to retrieve UNIX’customs in DOS: creating aliases. For instance, you can type this:

doskey ls=dir

PostHeaderIcon Bug with ImageZoom: when all pictures get bigger

ImageZoom is one of my prefered extentions to FireFox. Yet, sometimes I encounter a situation in which all pictures size is increased.

It is very easy to fix this: in the address bar, launch about:config.

Then find the property imagezoom.defaultGlobalZoom, set it at 100.

And it’s over!

PostHeaderIcon Learning how to count!

  • Star Wars: 4, 5, 6, 1, 2, 3
  • Street Fighter: I, II, II’, II Turbo, Super II, Super II Turbo, Zero, Zero-2, Zero-3, III, III 2nd Impact, III 3rd Strike
  • Ocean: Eleven, Twelve, Thirteen
  • Super Mario: 1, 2, 3, World, World 2, 64, SunShine, Galaxy
  • X-Men: 1, 1.5, 2, 3
  • Windows: 1, 2, 3.X , 95, 98, Me, 2000, XP, Vista

PostHeaderIcon Pourquoi je prefere Eclipse 3.2 a IntelliJ IDEA 6

Cela fait bientot 2 mois que je suis contraint d’utiliser IntelliJ IDEA, mais je reste stupefait par ses defauts par rapport a Eclipse, le standard du marche.

Read the rest of this entry »

PostHeaderIcon Conditionnal Statement in Jakarta Ant

Sometimes, a Java developer needs a “if-then-else” conditionnal statement in Ant scripts:

Read the rest of this entry »

PostHeaderIcon Increasing logging level with Java WebStart

The way to increase log level within a Java WebStart application (thhus launched via a JNLP file) is easy. To perform this, just add a few lines in the JNLP file:

[xml]  <resources>    <property name="javaws.debug.0" value="+TraceSecurity"/>    <property name="javaws.debug.1" value="+TraceCache"/>    <property name="javaws.debug.2" value="+TraceDiskCache"/>    <property name="javaws.debug.3" value="+TraceDownload"/>    <property name="javaws.debug.4" value="+TraceXMLParsing"/>  </resources> 

PostHeaderIcon 2nd website migrated

I succeded in migrating my second website from Lycos to Free.fr.