Hi,
I have tried to load the project in Mars, and I must say it's not really
a success :/ I can laod all the modules, but when I launch it, then I
get various errors. Even if I can see some parts of it (like the
Sercvers), some other aren't working well. Typically, I get an exception
when opening the Connection view. It seems like it tries to create an
URL taken from some text read from the clipboard :
in org.apache.directory.studio.connection.ui.actions.PasteAction :
...
private List<Connection> getConnectionsByLdapUrl()
{
List<Connection> connections = new ArrayList<Connection>();
Object content = getFromClipboard( TextTransfer.getInstance()
); // Here, content is " /studio-rcp/resources/icons/linux/studio.xpm"
if ( content instanceof String )
{
ConnectionParameterPage[] connectionParameterPages =
ConnectionParameterPageManager
.getConnectionParameterPages();
String[] lines = ( ( String ) content ).split(
ConnectionCoreConstants.LINE_SEPARATOR );
for ( String line : lines )
{
line = line.trim();
if ( StringUtils.isNotEmpty( line ) )
{
try
{
LdapUrl ldapUrl = new LdapUrl( line ); // Not
happy with " /studio-rcp/resources/icons/linux/studio.xpm", which is
kind of normal :/
I have no idea why the clipboard returns this value :/