You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Ole Ersoy <ol...@gmail.com> on 2007/06/14 17:56:03 UTC
[Testing] Shot at Archetype for 1.5.0
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