Barber, Dan (Contractor) a écrit :
As far as building the source. We need to target 1.5 due to it's increased
support for secure logins. I've been using the instructions from this page,
http://directory.apache.org/apacheds/1.5/building-trunks.html. It's quite
possible that I've just simply missed a step or done something silly since some
of these tools are still new to me.
I have installed Maven 2.0.4.
I think you need maven 2.0.5, now (AFAIK, there are some bugs in 2.0.4
which can cause pbs). 2.0.6 will work too.
Which JVM are you using ?
I've installed SVN and run the command
svn co
http://svn.apache.org/repos/asf/directory/apacheds/trunk-with-dependencies/
apacheds-trunk
Then, inside the directory apacheds-trunk I run mvn install. Here are the
errors I'm getting.
Failed tests:
testOneEntryImport(org.apache.directory.server.tools.commands.importcmd.Import
CommandTest)
testTenEntriesImport(org.apache.directory.server.tools.commands.importcmd.Impo
rtCommandTest)
testTwoEntriesImportOneOnErrorAndOneOk(org.apache.directory.server.tools.comma
nds.importcmd.ImportCommandTest)
testOneEntryImportWithEntryAddedNotification(org.apache.directory.server.tools
.commands.importcmd.ImportCommandTest)
testRFC2849Sample1(org.apache.directory.server.tools.commands.importcmd.Import
CommandTest)
testRFC2849Sample2(org.apache.directory.server.tools.commands.importcmd.Import
CommandTest)
testRFC2849Sample3(org.apache.directory.server.tools.commands.importcmd.Import
CommandTest)
testRFC2849Sample3VariousSpacing(org.apache.directory.server.tools.commands.im
portcmd.ImportCommandTest)
testExportCommand(org.apache.directory.server.tools.commands.exportcmd.ExportC
ommandTest)
testOneEntryImport(org.apache.directory.server.tools.commands.gracefulshutdown
cmd.GracefulShutdownCommandTest)
My guess is I've just missed something simple. Any help you can offer would be
greatly appreciated.
It would be interesting to have the surefire logs (it's generated by
maven, with the failing class name followed by a .txt, like
testRFC2849Sample2(org.apache.directory.server.tools.commands.importcmd.ImportCommandTest.txt
somwhere on your disk.
Emmanuel