// Now copy the directory
actions = new CompositeScmAction();
addDirectory = new AddDirectory( "",
"folder2" );
actions.addScmAction( addDirectory );
ScmAction copyDirectory = new CopyDirectory( "folder1",
"folder2/folder1",
svn.getLatestRevision() );
actions.addScmAction( copyDirectory );
svn.execute( actions,
"test message" );