fix example to use envFactoryName, check for valid envFactoryName
fix example to use envFactoryName, check for valid envFactoryName

git-svn-id: e477e9e8987aae336f1bb9c5b7844802d4681473@1561 52ab4f32-60fc-0310-b215-8acea882cd1b

mojohaus/maven-native,mojohaus/maven-native,gchauvet/maven-native,gchauvet/maven-native