Hey Guys,

I took a shot at a new testing archetype:

Checkout:
svn co 
https://svn.apache.org/repos/asf/directory/sandbox/oersoy/apacheds.testing.archetype

Run:
mvn archetype:create -DarchetypeGroupId=org.apache.directory  
-DarchetypeArtifactId=apacheds.testing.archetype -DarchetypeVersion=1.0.0  
-DgroupId="" -DartifactId=archetype.instance.testing

Note that it is important that the groupId is left blank.  If specified, Maven 
prepend it to the packages containing the archetype test files.

Emmanuel, if you look at the tearDown for JNDIEmbbeddedConnectionTemplate, 
you'll see that I'm reusing createEnvironment() and just overriding 
Context.PROVIDER_URL.  If I try to do the same with the connect() body, I get 
the naming exception.

Cheers,
- Ole

Reply via email to