Monday, September 15, 2008

Surefire Plugin fails to do java endorsed

Suppose you are trying to endorse xerces and xalan in your surefire plugin and you see errors such as:
Caused by: java.lang.RuntimeException: internal error
at org.apache.xerces.impl.dv.xs.XSSimpleTypeDecl.applyFacets1(Unknown Source)
at org.apache.xerces.impl.dv.xs.SchemaDVFactoryImpl.createBuiltInTypes(Unknown Source)
at org.apache.xerces.impl.dv.xs.SchemaDVFactoryImpl.(UnknownSource)
... 45 more

This may mean that your setting of endorsed directory is not being propagated properly to the forked jvm by surefire. This was an issue in the 2.4.2 version of surefire.

This has been fixed in Surefire 2.4.3 (http://jira.codehaus.org/browse/SUREFIRE-491)

Saturday, September 13, 2008

Nikon D90/D80, Canon 40D EXIF Viewer

If you are interested in viewing the EXIF data and play with it, then you can take a look at the following free software.


http://www.opanda.com/en/iexif/


Other Options:

http://www.exifer.friedemann.info/


If you need support for RAW,
http://www.videozona.ru/software/ShowExif/showexif.asp

Thursday, September 11, 2008

Recursively ignore "target" directory in svn

Suppose you are working with maven and svn tries to add target, what you can do to recursively ignore the target directory is:

svn propset -R svn:ignore target .

or you can do the following:

===================

$> svn ps svn:ignore 'target
target-eclipse
.settings
eclipse-target' .

===================

Remember that each ignorable entity should be on one line.

======================
anil@localhost:~/identity/identity-doc/trunk$ svn -R propset svn:ignore '.classpath
> .project
> .metadata
> target
> target-eclipse' .
property 'svn:ignore' set (recursively) on '.'

Monday, September 01, 2008

Lightning Plugin for 64 Bit Fedora

If you need the latest lightning plugin for Mozilla Thunderbird on 64 Bit Linux, then you can take a look at the mozilla site:
http://releases.mozilla.org/pub/mozilla.org/calendar/lightning/releases/0.8/contrib/linux-x86_64/


Good Luck.