directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r592082 [1/20] - in /directory/sandbox/felixk/studio-ldapbrowser-core: ./ META-INF/ src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/ src/main/java/org/apache/directory/ src/main/java/org/apache/directory/studio/ sr...
Date Mon, 05 Nov 2007 16:52:07 GMT
Author: felixk
Date: Mon Nov  5 08:51:43 2007
New Revision: 592082

URL: http://svn.apache.org/viewvc?rev=592082&view=rev
Log:
Initial studio maven-build

Added:
    directory/sandbox/felixk/studio-ldapbrowser-core/   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/META-INF/
    directory/sandbox/felixk/studio-ldapbrowser-core/META-INF/MANIFEST.MF   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/plugin.properties   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/plugin.xml   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/pom.xml   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/BookmarkManager.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/BrowserConnectionIO.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/BrowserConnectionManager.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/BrowserCoreConstants.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/BrowserCoreMessages.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/BrowserCorePlugin.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/BrowserCorePreferences.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/BrowserCorePreferencesInitializer.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/SearchManager.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/AttributeAddedEvent.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/AttributeDeletedEvent.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/AttributesInitializedEvent.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/BookmarkUpdateEvent.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/BookmarkUpdateListener.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/BrowserConnectionUpdateEvent.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/BrowserConnectionUpdateListener.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/BulkModificationEvent.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/ChildrenInitializedEvent.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/CoreEventRunner.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/EmptyValueAddedEvent.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/EmptyValueDeletedEvent.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/EntryAddedEvent.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/EntryDeletedEvent.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/EntryModificationEvent.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/EntryMovedEvent.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/EntryRenamedEvent.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/EntryUpdateListener.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/EventRegistry.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/EventRunnable.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/EventRunner.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/SearchUpdateEvent.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/SearchUpdateListener.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/ValueAddedEvent.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/ValueDeletedEvent.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/ValueModifiedEvent.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/events/ValueRenamedEvent.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/internal/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/internal/search/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/internal/search/LdapSearchPageScoreComputer.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/AbstractAttributeModificationJob.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/AbstractEclipseJob.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/AbstractNotificationJob.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/CopyEntriesJob.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/CreateEntryJob.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/CreateValuesJob.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/DeleteAttributesValueJob.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/DeleteEntriesJob.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/ExecuteLdifJob.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/ExportCsvJob.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/ExportDsmlJob.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/ExportLdifJob.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/ExportXlsJob.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/FetchBaseDNsJob.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/ImportDsmlJob.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/ImportLdifJob.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/InitializeAttributesJob.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/InitializeChildrenJob.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/ModifyValueJob.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/MoveEntriesJob.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/ReadEntryJob.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/ReloadSchemasJob.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/RenameEntryJob.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/RenameValuesJob.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/SearchJob.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/AttributeDescription.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/AttributeHierarchy.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/BookmarkParameter.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ConnectionException.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/Control.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/DN.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/DirectoryTypeDetector.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IAttribute.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IBookmark.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IBrowserConnection.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IEntry.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IReferralHandler.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IRootDSE.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ISearch.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ISearchResult.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/IValue.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/NameException.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/Password.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/RDN.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/RDNPart.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ReferralException.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/SearchParameter.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/URL.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/filter/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/filter/LdapAndFilterComponent.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/filter/LdapFilter.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/filter/LdapFilterComponent.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/filter/LdapFilterExtensibleComponent.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/filter/LdapFilterItemComponent.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/filter/LdapNotFilterComponent.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/filter/LdapOrFilterComponent.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/filter/parser/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/filter/parser/LdapFilterParser.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/filter/parser/LdapFilterScanner.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/filter/parser/LdapFilterToken.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/impl/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/impl/AbstractEntry.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/impl/AliasBaseEntry.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/impl/Attribute.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/impl/AttributeInfo.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/impl/BaseDNEntry.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/impl/Bookmark.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/impl/BrowserConnection.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/impl/ChildrenInfo.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/impl/DelegateEntry.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/impl/DirectoryMetadataEntry.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/impl/DummyConnection.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/impl/DummyEntry.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/impl/Entry.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/impl/ModificationLogger.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/impl/OpenBrowserConnectionsJob.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/impl/ReferralBaseEntry.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/impl/RootDSE.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/impl/Search.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/impl/SearchResult.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/impl/Value.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/LdifEOFPart.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/LdifEnumeration.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/LdifFile.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/LdifInvalidPart.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/LdifPart.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/container/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/container/LdifChangeAddRecord.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/container/LdifChangeDeleteRecord.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/container/LdifChangeModDnRecord.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/container/LdifChangeModifyRecord.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/container/LdifChangeRecord.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/container/LdifCommentContainer.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/container/LdifContainer.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/container/LdifContentRecord.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/container/LdifEOFContainer.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/container/LdifInvalidContainer.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/container/LdifModSpec.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/container/LdifRecord.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/container/LdifSepContainer.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/container/LdifVersionContainer.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/lines/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/lines/LdifAttrValLine.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/lines/LdifChangeTypeLine.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/lines/LdifCommentLine.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/lines/LdifControlLine.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/lines/LdifDeloldrdnLine.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/lines/LdifDnLine.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/lines/LdifLineBase.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/lines/LdifModSpecSepLine.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/lines/LdifModSpecTypeLine.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/lines/LdifNewrdnLine.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/lines/LdifNewsuperiorLine.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/lines/LdifNonEmptyLineBase.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/lines/LdifSepLine.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/lines/LdifValueLineBase.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/lines/LdifVersionLine.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/parser/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/parser/DummyLdifContainer.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/parser/LdifParser.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/parser/LdifScanner.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/ldif/parser/LdifToken.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/AttributeTypeDescription.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/AttributeValueProviderRelation.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/BinaryAttribute.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/BinarySyntax.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/LdapSyntaxDescription.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/MatchingRuleDescription.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/MatchingRuleUseDescription.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/ObjectClassDescription.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/Schema.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaPart.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaPart2.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SchemaUtils.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/Subschema.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/SyntaxValueProviderRelation.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaLexer.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaParser.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaTokenTypes.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaTokenTypes.txt   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaValueLexer.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaValueParser.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaValueTokenTypes.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/SchemaValueTokenTypes.txt   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/schema.g   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/parser/schemavalue.g   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/propertypageproviders/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/propertypageproviders/AttributePropertyPageProvider.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/propertypageproviders/BookmarkPropertyPageProvider.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/propertypageproviders/EntryPropertyPageProvider.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/propertypageproviders/SearchPropertyPageProvider.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/propertypageproviders/ValuePropertyPageProvider.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/utils/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/utils/AttributeComparator.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/utils/DnUtils.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/utils/JNDIUtils.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/utils/LdapFilterUtils.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/utils/LdifUtils.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/utils/ModelConverter.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/utils/UnixCrypt.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/utils/Utils.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/resources/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/resources/about.html   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/resources/default_schema.ldif
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/resources/org/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/resources/org/apache/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/resources/org/apache/directory/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/resources/org/apache/directory/studio/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/resources/org/apache/directory/studio/ldapbrowser/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/resources/org/apache/directory/studio/ldapbrowser/core/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/main/resources/org/apache/directory/studio/ldapbrowser/core/browsercoremessages.properties   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/test/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/test/java/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/test/java/org/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/test/java/org/apache/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/test/java/org/apache/directory/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/test/java/org/apache/directory/studio/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/test/java/org/apache/directory/studio/ldapbrowser/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/test/java/org/apache/directory/studio/ldapbrowser/core/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/test/java/org/apache/directory/studio/ldapbrowser/core/model/
    directory/sandbox/felixk/studio-ldapbrowser-core/src/test/java/org/apache/directory/studio/ldapbrowser/core/model/LdapFilterParserTest.java   (with props)
    directory/sandbox/felixk/studio-ldapbrowser-core/src/test/java/org/apache/directory/studio/ldapbrowser/core/model/PasswordTest.java   (with props)

Propchange: directory/sandbox/felixk/studio-ldapbrowser-core/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Mon Nov  5 08:51:43 2007
@@ -0,0 +1,3 @@
+.settings
+lib
+target

Added: directory/sandbox/felixk/studio-ldapbrowser-core/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/studio-ldapbrowser-core/META-INF/MANIFEST.MF?rev=592082&view=auto
==============================================================================
--- directory/sandbox/felixk/studio-ldapbrowser-core/META-INF/MANIFEST.MF (added)
+++ directory/sandbox/felixk/studio-ldapbrowser-core/META-INF/MANIFEST.MF Mon Nov  5 08:51:43 2007
@@ -0,0 +1,33 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Apache Directory Studio LDAP Browser Core
+Bundle-SymbolicName: org.apache.directory.studio.ldapbrowser.core; singleton:=true
+Bundle-Version: 1.0.1
+Bundle-Activator: org.apache.directory.studio.ldapbrowser.core.BrowserCorePlugin
+Bundle-Vendor: Apache Software Foundation
+Bundle-Localization: plugin
+Require-Bundle: org.eclipse.core.runtime,
+ org.eclipse.search,
+ org.apache.directory.studio.jars,
+ org.apache.directory.studio.connection.core
+Eclipse-LazyStart: true
+Export-Package: org.apache.directory.studio.ldapbrowser.core,
+ org.apache.directory.studio.ldapbrowser.core.events,
+ org.apache.directory.studio.ldapbrowser.core.internal.search,
+ org.apache.directory.studio.ldapbrowser.core.jobs,
+ org.apache.directory.studio.ldapbrowser.core.model,
+ org.apache.directory.studio.ldapbrowser.core.model.filter,
+ org.apache.directory.studio.ldapbrowser.core.model.filter.parser,
+ org.apache.directory.studio.ldapbrowser.core.model.impl,
+ org.apache.directory.studio.ldapbrowser.core.model.ldif,
+ org.apache.directory.studio.ldapbrowser.core.model.ldif.container,
+ org.apache.directory.studio.ldapbrowser.core.model.ldif.lines,
+ org.apache.directory.studio.ldapbrowser.core.model.ldif.parser,
+ org.apache.directory.studio.ldapbrowser.core.model.schema,
+ org.apache.directory.studio.ldapbrowser.core.model.schema.parser,
+ org.apache.directory.studio.ldapbrowser.core.propertypageproviders,
+ org.apache.directory.studio.ldapbrowser.core.utils
+Bundle-ClassPath: .,
+ lib/commons-codec-1.3.jar,
+ lib/commons-io-1.3.1.jar,
+ lib/poi-3.0.1-FINAL.jar

Propchange: directory/sandbox/felixk/studio-ldapbrowser-core/META-INF/MANIFEST.MF
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/felixk/studio-ldapbrowser-core/plugin.properties
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/studio-ldapbrowser-core/plugin.properties?rev=592082&view=auto
==============================================================================
--- directory/sandbox/felixk/studio-ldapbrowser-core/plugin.properties (added)
+++ directory/sandbox/felixk/studio-ldapbrowser-core/plugin.properties Mon Nov  5 08:51:43 2007
@@ -0,0 +1,19 @@
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+project.name=Apache Directory Studio Browser Core
+project.version=1.0.1
+project.id=org.apache.directory.studio.ldapbrowser.core

Propchange: directory/sandbox/felixk/studio-ldapbrowser-core/plugin.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/felixk/studio-ldapbrowser-core/plugin.xml
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/studio-ldapbrowser-core/plugin.xml?rev=592082&view=auto
==============================================================================
--- directory/sandbox/felixk/studio-ldapbrowser-core/plugin.xml (added)
+++ directory/sandbox/felixk/studio-ldapbrowser-core/plugin.xml Mon Nov  5 08:51:43 2007
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<?eclipse version="3.0"?>
+<plugin>
+   <extension
+         point="org.eclipse.core.runtime.preferences">
+      <initializer class="org.apache.directory.studio.ldapbrowser.core.BrowserCorePreferencesInitializer"/>
+   </extension>
+
+</plugin>

Propchange: directory/sandbox/felixk/studio-ldapbrowser-core/plugin.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/felixk/studio-ldapbrowser-core/pom.xml
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/studio-ldapbrowser-core/pom.xml?rev=592082&view=auto
==============================================================================
--- directory/sandbox/felixk/studio-ldapbrowser-core/pom.xml (added)
+++ directory/sandbox/felixk/studio-ldapbrowser-core/pom.xml Mon Nov  5 08:51:43 2007
@@ -0,0 +1,179 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+    
+    http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<!--
+    @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+    @version $Id: pom.xml 353 2007-10-28 14:59:35Z felix $
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.directory.studio</groupId>
+        <artifactId>parent</artifactId>
+        <version>1.0.2-SNAPSHOT</version>
+    </parent>
+    <artifactId>${groupId}.ldapbrowser.core</artifactId>
+    <name>Apache Directory Studio LDAP Browser Core</name>
+    <packaging>jar</packaging>
+
+    <description></description>
+
+    <!-- Set path for local repository -->
+    <properties>
+        <local-repo>${project.basedir}/../local-repository</local-repo>
+    </properties>
+
+    <profiles>
+        <profile>
+            <id>prepare-for-eclipse</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-dependency-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>prepare-for-eclipse</id>
+                                <phase>install</phase>
+                                <goals>
+                                    <goal>copy</goal>
+                                </goals>
+                                <configuration>
+                                    <overWrite>true</overWrite>
+                                    <outputDirectory>lib</outputDirectory>
+                                    <artifactItems>
+                                        <artifactItem>
+                                            <groupId>org.apache.poi</groupId>
+                                            <artifactId>poi</artifactId>
+                                        </artifactItem>
+                                        <artifactItem>
+                                            <groupId>commons-io</groupId>
+                                            <artifactId>commons-io</artifactId>
+                                        </artifactItem>
+                                        <artifactItem>
+                                            <groupId>commons-codec</groupId>
+                                            <artifactId>commons-codec</artifactId>
+                                        </artifactItem>
+                                    </artifactItems>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
+
+    <build>
+        <resources>
+            <resource>
+                <directory>.</directory>
+                <includes>
+                    <include>plugin.properties</include>
+                    <include>plugin.xml</include>
+                </includes>
+            </resource>
+            <resource>
+                <directory>src/main/resources</directory>
+            </resource>
+        </resources>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-dependency-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>copy</id>
+                        <phase>compile</phase>
+                        <goals>
+                            <goal>copy</goal>
+                        </goals>
+                        <configuration>
+                            <overWrite>true</overWrite>
+                            <outputDirectory>target/classes/lib</outputDirectory>
+                            <artifactItems>
+                                <artifactItem>
+                                    <groupId>commons-io</groupId>
+                                    <artifactId>commons-io</artifactId>
+                                </artifactItem>
+                                <artifactItem>
+                                    <groupId>commons-codec</groupId>
+                                    <artifactId>commons-codec</artifactId>
+                                </artifactItem>
+                                <artifactItem>
+                                    <groupId>junit</groupId>
+                                    <artifactId>junit</artifactId>
+                                </artifactItem>
+                                <artifactItem>
+                                    <groupId>org.apache.poi</groupId>
+                                    <artifactId>poi</artifactId>
+                                </artifactItem>
+                            </artifactItems>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jar-plugin</artifactId>
+                <configuration>
+                    <archive>
+                        <manifestFile>META-INF/MANIFEST.MF</manifestFile>
+                        <addMavenDescriptor>false</addMavenDescriptor>
+                    </archive>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.eclipse</groupId>
+            <artifactId>org.eclipse.equinox.preferences</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.eclipse</groupId>
+            <artifactId>org.eclipse.core.runtime</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.directory.shared</groupId>
+            <artifactId>shared-ldap</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.directory.studio</groupId>
+            <artifactId>${pom.groupId}.connection.core</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.directory.studio</groupId>
+            <artifactId>${pom.groupId}.dsml.parser</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.poi</groupId>
+            <artifactId>poi</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.eclipse</groupId>
+            <artifactId>org.eclipse.search</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>commons-codec</groupId>
+            <artifactId>commons-codec</artifactId>
+        </dependency>
+    </dependencies>
+</project>

Propchange: directory/sandbox/felixk/studio-ldapbrowser-core/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/BookmarkManager.java
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/BookmarkManager.java?rev=592082&view=auto
==============================================================================
--- directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/BookmarkManager.java (added)
+++ directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/BookmarkManager.java Mon Nov  5 08:51:43 2007
@@ -0,0 +1,199 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *  
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *  
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License. 
+ *  
+ */
+
+package org.apache.directory.studio.ldapbrowser.core;
+
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.List;
+
+import org.apache.directory.studio.ldapbrowser.core.events.BookmarkUpdateEvent;
+import org.apache.directory.studio.ldapbrowser.core.events.EventRegistry;
+import org.apache.directory.studio.ldapbrowser.core.model.IBookmark;
+import org.apache.directory.studio.ldapbrowser.core.model.IBrowserConnection;
+import org.eclipse.osgi.util.NLS;
+
+
+/**
+ * This class is used to manage Bookmarks.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
+ */
+public class BookmarkManager implements Serializable
+{
+    private static final long serialVersionUID = 7605293576518974531L;
+
+    private List<IBookmark> bookmarkList;
+
+    private IBrowserConnection connection;
+
+
+    /**
+     * Creates a new instance of BookmarkManager.
+     *
+     * @param connection
+     *      the attached Connection
+     */
+    public BookmarkManager( IBrowserConnection connection )
+    {
+        this.connection = connection;
+        bookmarkList = new ArrayList<IBookmark>();
+    }
+
+
+    /**
+     * Gets the Connection
+     *
+     * @return
+     *      the Connection
+     */
+    public IBrowserConnection getConnection()
+    {
+        return connection;
+    }
+
+
+    /**
+     * Adds a Bookmark
+     *
+     * @param bookmark
+     *      the Bookmark to add
+     */
+    public void addBookmark( IBookmark bookmark )
+    {
+        addBookmark( bookmarkList.size(), bookmark );
+    }
+
+
+    /**
+     * Adds a Bookmark at a specified position.
+     *
+     * @param index
+     *      the index at which the specified element is to be inserted.
+     * @param bookmark
+     *      the Bookmark to add
+     */
+    public void addBookmark( int index, IBookmark bookmark )
+    {
+        if ( getBookmark( bookmark.getName() ) != null )
+        {
+            String newBookmarkName = NLS.bind( BrowserCoreMessages.copy_n_of_s, "", bookmark.getName() ); //$NON-NLS-1$
+
+            for ( int i = 2; this.getBookmark( newBookmarkName ) != null; i++ )
+            {
+                newBookmarkName = NLS.bind( BrowserCoreMessages.copy_n_of_s, i + " ", bookmark.getName() ); //$NON-NLS-1$
+            }
+
+            bookmark.setName( newBookmarkName );
+        }
+
+        bookmarkList.add( index, bookmark );
+        EventRegistry.fireBookmarkUpdated( new BookmarkUpdateEvent( bookmark, BookmarkUpdateEvent.Detail.BOOKMARK_ADDED ),
+            this );
+    }
+
+
+    /**
+     * Gets a Bookmark
+     *
+     * @param name
+     *      the name of the Bookmark
+     * @return
+     *      the corresponding Bookmark
+     */
+    public IBookmark getBookmark( String name )
+    {
+        for ( IBookmark bookmark : bookmarkList )
+        {
+            if ( bookmark.getName().equals( name ) )
+            {
+                return bookmark;
+            }
+        }
+
+        return null;
+    }
+
+
+    /**
+     * Returns the index in the Bookmarks list of the first occurrence of the specified Bookmark
+     *
+     * @param bookmark
+     *      the bookmark to search for
+     * @return
+     *      the index in the Bookmarks list of the first occurrence of the specified Bookmark
+     */
+    public int indexOf( IBookmark bookmark )
+    {
+        return bookmarkList.indexOf( bookmark );
+    }
+
+
+    /**
+     * Removes a Bookmark
+     *
+     * @param bookmark
+     *      the Bookmark to remove
+     */
+    public void removeBookmark( IBookmark bookmark )
+    {
+        bookmarkList.remove( bookmark );
+        EventRegistry.fireBookmarkUpdated( new BookmarkUpdateEvent( bookmark, BookmarkUpdateEvent.Detail.BOOKMARK_REMOVED ),
+            this );
+    }
+
+
+    /**
+     * Removes a Bookmark
+     *
+     * @param name
+     *      the name of the Bookmark to remove
+     */
+    public void removeBookmark( String name )
+    {
+        this.removeBookmark( this.getBookmark( name ) );
+    }
+
+
+    /**
+     * Gets an array containing all Bookmarks
+     *
+     * @return
+     *      an array containing all Bookmarks
+     */
+    public IBookmark[] getBookmarks()
+    {
+        return bookmarkList.toArray( new IBookmark[0] );
+    }
+
+
+    /**
+     * Gets the number of Bookmarks
+     *
+     * @return
+     *      the number of Bookmarjs
+     */
+    public int getBookmarkCount()
+    {
+        return bookmarkList.size();
+    }
+}

Propchange: directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/BookmarkManager.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/BrowserConnectionIO.java
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/BrowserConnectionIO.java?rev=592082&view=auto
==============================================================================
--- directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/BrowserConnectionIO.java (added)
+++ directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/BrowserConnectionIO.java Mon Nov  5 08:51:43 2007
@@ -0,0 +1,489 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *  
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *  
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License. 
+ *  
+ */
+package org.apache.directory.studio.ldapbrowser.core;
+
+
+import java.io.FileInputStream;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+
+import javax.naming.InvalidNameException;
+
+import org.apache.directory.shared.ldap.name.LdapDN;
+import org.apache.directory.studio.connection.core.io.ConnectionIOException;
+import org.apache.directory.studio.ldapbrowser.core.model.BookmarkParameter;
+import org.apache.directory.studio.ldapbrowser.core.model.IBookmark;
+import org.apache.directory.studio.ldapbrowser.core.model.IBrowserConnection;
+import org.apache.directory.studio.ldapbrowser.core.model.ISearch;
+import org.apache.directory.studio.ldapbrowser.core.model.SearchParameter;
+import org.apache.directory.studio.ldapbrowser.core.model.IBrowserConnection.AliasDereferencingMethod;
+import org.apache.directory.studio.ldapbrowser.core.model.IBrowserConnection.ReferralHandlingMethod;
+import org.apache.directory.studio.ldapbrowser.core.model.ISearch.SearchScope;
+import org.apache.directory.studio.ldapbrowser.core.model.impl.Bookmark;
+import org.apache.directory.studio.ldapbrowser.core.model.impl.Search;
+import org.dom4j.Attribute;
+import org.dom4j.Document;
+import org.dom4j.DocumentException;
+import org.dom4j.DocumentHelper;
+import org.dom4j.Element;
+import org.dom4j.io.OutputFormat;
+import org.dom4j.io.SAXReader;
+import org.dom4j.io.XMLWriter;
+
+
+/**
+ * This class is used to read/write the 'connections.xml' file.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
+ */
+public class BrowserConnectionIO
+{
+    // XML tags
+    private static final String BROWSER_CONNECTIONS_TAG = "browserConnections";
+    
+    private static final String BROWSER_CONNECTION_TAG = "browserConnection";
+    private static final String ID_TAG = "id";
+    
+    private static final String SEARCHES_TAG = "searches";
+    private static final String SEARCH_PARAMETER_TAG = "searchParameter";
+    private static final String NAME_TAG = "name";
+    private static final String SEARCH_BASE_TAG = "searchBase";
+    private static final String FILTER_TAG = "filer";
+    private static final String RETURNING_ATTRIBUTES_TAG = "returningAttributes";
+    private static final String RETURNING_ATTRIBUTE_TAG = "returningAttribute";
+    private static final String VALUE_TAG = "value";
+    private static final String SCOPE_TAG = "scope";
+    private static final String TIME_LIMIT_TAG = "timeLimit";
+    private static final String COUNT_LIMIT_TAG = "countLimit";
+    private static final String ALIASES_DEREFERENCING_METHOD_TAG = "aliasesDereferencingMethod";
+    private static final String REFERRALS_HANDLING_METHOD_TAG = "referralsHandlingMethod";
+    //TODO: Controls
+    
+    private static final String BOOKMARKS_TAG = "bookmarks";
+    private static final String BOOKMARK_PARAMETER_TAG = "bookmarkParameter";
+    private static final String DN_TAG = "dn";
+    
+
+    /**
+     * Loads the browser connections using the input stream.
+     *
+     * @param stream
+     *      the input stream
+     * @param browserConnectionMap
+     *      the map of browser connections
+     * @throws ConnectionIOException 
+     *      if an error occurs when converting the document
+     */
+    public static void load( FileInputStream stream, Map<String, IBrowserConnection> browserConnectionMap ) throws ConnectionIOException
+    {
+        SAXReader saxReader = new SAXReader();
+        Document document = null;
+
+        try
+        {
+            document = saxReader.read( stream );
+        }
+        catch ( DocumentException e )
+        {
+            throw new ConnectionIOException( e.getMessage() );
+        }
+
+        Element rootElement = document.getRootElement();
+        if ( !rootElement.getName().equals( BROWSER_CONNECTIONS_TAG ) )
+        {
+            throw new ConnectionIOException( "The file does not seem to be a valid BrowserConnections file." );
+        }
+
+        for ( Iterator<?> i = rootElement.elementIterator( BROWSER_CONNECTION_TAG ); i.hasNext(); )
+        {
+            Element browserConnectionElement = ( Element ) i.next();
+            readBrowserConnection( browserConnectionElement, browserConnectionMap );
+        }
+    }
+
+
+    /**
+     * Reads a browser connection from the given Element.
+     *
+     * @param element
+     *      the element
+     * @param browserConnectionMap
+     *      the map of browser connections     *      
+     * @throws ConnectionIOException
+     *      if an error occurs when converting values
+     */
+    private static void readBrowserConnection( Element element, Map<String, IBrowserConnection> browserConnectionMap ) throws ConnectionIOException
+    {
+        // ID
+        Attribute idAttribute = element.attribute( ID_TAG );
+        if ( idAttribute != null )
+        {
+            String id = idAttribute.getValue();
+            IBrowserConnection browserConnection = browserConnectionMap.get( id );
+            
+            if( browserConnection != null )
+            {
+                Element searchesElement = element.element( SEARCHES_TAG );
+                if ( searchesElement != null )
+                {
+                    for ( Iterator<?> i = searchesElement.elementIterator( SEARCH_PARAMETER_TAG ); i.hasNext(); )
+                    {
+                        Element searchParameterElement = ( Element ) i.next();
+                        SearchParameter searchParameter = readSearch( searchParameterElement, browserConnection );
+                        ISearch search = new Search( browserConnection, searchParameter );
+                        browserConnection.getSearchManager().addSearch( search );
+                    }
+                }
+                
+                Element bookmarksElement = element.element( BOOKMARKS_TAG );
+                if ( bookmarksElement != null )
+                {
+                    for ( Iterator<?> i = bookmarksElement.elementIterator( BOOKMARK_PARAMETER_TAG ); i.hasNext(); )
+                    {
+                        Element bookmarkParameterElement = ( Element ) i.next();
+                        BookmarkParameter bookmarkParameter = readBookmark( bookmarkParameterElement, browserConnection );
+                        IBookmark bookmark = new Bookmark( browserConnection, bookmarkParameter );
+                        browserConnection.getBookmarkManager().addBookmark( bookmark );
+                    }
+                }
+            }
+        }
+    }
+    
+    
+    private static SearchParameter readSearch( Element searchParameterElement, IBrowserConnection browserConnection ) throws ConnectionIOException
+    {
+        SearchParameter searchParameter = new SearchParameter();
+        
+        // Name
+        Attribute nameAttribute = searchParameterElement.attribute( NAME_TAG );
+        if ( nameAttribute != null )
+        {
+            searchParameter.setName( nameAttribute.getValue() );
+        }
+        
+        // Search base
+        Attribute searchBaseAttribute = searchParameterElement.attribute( SEARCH_BASE_TAG );
+        if ( searchBaseAttribute != null )
+        {
+            try
+            {
+                searchParameter.setSearchBase( new LdapDN( searchBaseAttribute.getValue() ) );
+            }
+            catch ( InvalidNameException e )
+            {
+                throw new ConnectionIOException( "Unable to parse 'Search Base' of search '" + searchParameter.getName()
+                    + "' :" + searchBaseAttribute.getValue() );
+            }
+        }
+        
+        // Filter
+        Attribute filterAttribute = searchParameterElement.attribute( FILTER_TAG );
+        if ( filterAttribute != null )
+        {
+            searchParameter.setFilter( filterAttribute.getValue() );
+        }
+        
+        // Returning Attributes
+        Element returningAttributesElement = searchParameterElement.element( RETURNING_ATTRIBUTES_TAG );
+        if ( returningAttributesElement != null )
+        {
+            List<String> returningAttributes = new ArrayList<String>();
+            for ( Iterator<?> i = returningAttributesElement.elementIterator( RETURNING_ATTRIBUTE_TAG ); i.hasNext(); )
+            {
+                Element returningAttributeElement = ( Element ) i.next();
+                
+                Attribute valueAttribute = returningAttributeElement.attribute( VALUE_TAG );
+                if ( valueAttribute != null )
+                {
+                    returningAttributes.add( valueAttribute.getValue() );
+                }
+            }
+            searchParameter.setReturningAttributes( returningAttributes
+                .toArray( new String[returningAttributes.size()] ) );
+        }
+        
+        // Scope
+        Attribute scopeAttribute = searchParameterElement.attribute( SCOPE_TAG );
+        if ( scopeAttribute != null )
+        {
+            try
+            {
+                searchParameter.setScope( SearchScope.valueOf( scopeAttribute.getValue() ) );
+            }
+            catch ( IllegalArgumentException e )
+            {
+                throw new ConnectionIOException( "Unable to parse 'Scope' of search '"
+                    + searchParameter.getName() + "' as int value. Scope value :"
+                    + scopeAttribute.getValue() );
+            }
+        }
+        
+        // Time limit
+        Attribute timeLimitAttribute = searchParameterElement.attribute( TIME_LIMIT_TAG );
+        if ( timeLimitAttribute != null )
+        {
+            try
+            {
+                searchParameter.setTimeLimit( Integer.parseInt( timeLimitAttribute.getValue() ) );
+            }
+            catch ( NumberFormatException e )
+            {
+                throw new ConnectionIOException( "Unable to parse 'Time limit' of search '" + searchParameter.getName()
+                    + "' as int value. Time limit value :" + timeLimitAttribute.getValue() );
+            }
+        }
+        
+        // Count limit
+        Attribute countLimitAttribute = searchParameterElement.attribute( COUNT_LIMIT_TAG );
+        if ( countLimitAttribute != null )
+        {
+            try
+            {
+                searchParameter.setCountLimit( Integer.parseInt( countLimitAttribute.getValue() ) );
+            }
+            catch ( NumberFormatException e )
+            {
+                throw new ConnectionIOException( "Unable to parse 'Count limit' of search '" + searchParameter.getName()
+                    + "' as int value. Count limit value :" + countLimitAttribute.getValue() );
+            }
+        }
+        
+        // Alias dereferencing method
+        Attribute aliasesDereferencingMethodAttribute = searchParameterElement.attribute( ALIASES_DEREFERENCING_METHOD_TAG );
+        if ( aliasesDereferencingMethodAttribute != null )
+        {
+            try
+            {
+                searchParameter.setAliasesDereferencingMethod( AliasDereferencingMethod
+                    .valueOf( aliasesDereferencingMethodAttribute.getValue() ) );
+            }
+            catch ( IllegalArgumentException e )
+            {
+                throw new ConnectionIOException( "Unable to parse 'Aliases Dereferencing Method' of search '"
+                    + searchParameter.getName() + "' as int value. Aliases Dereferencing Method value :"
+                    + aliasesDereferencingMethodAttribute.getValue() );
+            }
+        }
+        
+        // Referrals handling method
+        Attribute referralsHandlingMethodAttribute = searchParameterElement.attribute( REFERRALS_HANDLING_METHOD_TAG );
+        if ( referralsHandlingMethodAttribute != null )
+        {
+            try
+            {
+                searchParameter.setReferralsHandlingMethod( ReferralHandlingMethod
+                    .valueOf( referralsHandlingMethodAttribute.getValue() ) );
+            }
+            catch ( IllegalArgumentException e )
+            {
+                throw new ConnectionIOException( "Unable to parse 'Referrals Handling Method' of search '"
+                    + searchParameter.getName() + "' as int value. Referrals Handling Method value :"
+                    + referralsHandlingMethodAttribute.getValue() );
+            }
+        }
+    
+        // TODO: Controls
+    
+        return searchParameter;
+    }
+
+
+    private static BookmarkParameter readBookmark( Element bookmarkParameterElement, IBrowserConnection browserConnection )
+        throws ConnectionIOException
+    {
+        BookmarkParameter bookmarkParameter = new BookmarkParameter();
+    
+        // Name
+        Attribute nameAttribute = bookmarkParameterElement.attribute( NAME_TAG );
+        if ( nameAttribute != null )
+        {
+            bookmarkParameter.setName( nameAttribute.getValue() );
+        }
+    
+        // DN
+        Attribute dnAttribute = bookmarkParameterElement.attribute( DN_TAG );
+        if ( dnAttribute != null )
+        {
+            try
+            {
+                bookmarkParameter.setDn( new LdapDN( dnAttribute.getValue() ) );
+            }
+            catch ( InvalidNameException e )
+            {
+                throw new ConnectionIOException( "Unable to parse 'DN' of bookmark '" + bookmarkParameter.getName()
+                    + "' :" + dnAttribute.getValue() );
+            }
+        }
+    
+        return bookmarkParameter;
+    }
+
+
+    /**
+     * Saves the browser connections using the output stream.
+     *
+     * @param stream
+     *      the OutputStream
+     * @param browserConnectionMap
+     *      the map of browser connections
+     * @throws IOException
+     *      if an I/O error occurs
+     */
+    public static void save( FileOutputStream stream, Map<String, IBrowserConnection> browserConnectionMap ) throws IOException
+    {
+        // Creating the Document
+        Document document = DocumentHelper.createDocument();
+
+        // Creating the root element
+        Element root = document.addElement( BROWSER_CONNECTIONS_TAG );
+
+        if ( browserConnectionMap != null )
+        {
+            for ( IBrowserConnection browserConnection : browserConnectionMap.values() )
+            {
+                writeBrowserConnection( root, browserConnection );
+            }
+        }
+
+        // Writing the file to disk
+        OutputFormat outformat = OutputFormat.createPrettyPrint();
+        outformat.setEncoding( "UTF-8" );
+        XMLWriter writer = new XMLWriter( stream, outformat );
+        writer.write( document );
+        writer.flush();
+    }
+
+
+    /**
+     * Writes the given browser connection to the given parent Element.
+     *
+     * @param parent
+     *      the parent Element
+     * @param browserConnection
+     *      the browser connection
+     */
+    private static void writeBrowserConnection( Element parent, IBrowserConnection browserConnection )
+    {
+        Element browserConnectionElement = parent.addElement( BROWSER_CONNECTION_TAG );
+
+        // ID
+        browserConnectionElement.addAttribute( ID_TAG, browserConnection.getConnection().getId() );
+
+        // Searches
+        Element searchesElement = browserConnectionElement.addElement( SEARCHES_TAG );
+        ISearch[] searches = browserConnection.getSearchManager().getSearches();
+        for ( ISearch search : searches )
+        {
+            Element searchParameterElement = searchesElement.addElement( SEARCH_PARAMETER_TAG );
+            writeSearch( searchParameterElement, search.getSearchParameter() );
+        }
+        
+        // Bookmarks
+        Element bookmarksElement = browserConnectionElement.addElement( BOOKMARKS_TAG );
+        IBookmark[] bookmarks = browserConnection.getBookmarkManager().getBookmarks();
+        for ( IBookmark bookmark : bookmarks )
+        {
+            Element bookmarkParameterElement = bookmarksElement.addElement( BOOKMARK_PARAMETER_TAG );
+            writeBookmark( bookmarkParameterElement, bookmark.getBookmarkParameter() );
+        }
+        
+        
+//        // Name
+//        connectionElement.addAttribute( NAME_TAG, connection.getName() );
+//
+//        // Host
+//        connectionElement.addAttribute( HOST_TAG, connection.getHost() );
+//
+//        // Port
+//        connectionElement.addAttribute( PORT_TAG, "" + connection.getPort() );
+//
+//        // Encryption Method
+//        connectionElement.addAttribute( ENCRYPTION_METHOD_TAG, connection.getEncryptionMethod().toString() );
+//
+//        // Auth Method
+//        connectionElement.addAttribute( AUTH_METHOD_TAG, connection.getAuthMethod().toString() );
+//
+//        // Bind Principal
+//        connectionElement.addAttribute( BIND_PRINCIPAL_TAG, connection.getBindPrincipal() );
+//
+//        // Bind Password
+//        connectionElement.addAttribute( BIND_PASSWORD_TAG, connection.getBindPassword() );
+
+    }
+
+
+    private static void writeSearch( Element searchParameterElement, SearchParameter searchParameter )
+    {
+        // Name
+        searchParameterElement.addAttribute( NAME_TAG, searchParameter.getName() );
+        
+        // Search base
+        String searchBase = searchParameter.getSearchBase() != null ? searchParameter.getSearchBase().getUpName() : "";
+        searchParameterElement.addAttribute( SEARCH_BASE_TAG, searchBase );
+        
+        // Filter
+        searchParameterElement.addAttribute( FILTER_TAG, searchParameter.getFilter() );
+        
+        // Returning Attributes
+        Element returningAttributesElement = searchParameterElement.addElement( RETURNING_ATTRIBUTES_TAG );
+        for ( String ra : searchParameter.getReturningAttributes() )
+        {
+            Element raElement = returningAttributesElement.addElement( RETURNING_ATTRIBUTE_TAG );
+            raElement.addAttribute( VALUE_TAG, ra );
+        } 
+        
+        // Scope
+        searchParameterElement.addAttribute( SCOPE_TAG, searchParameter.getScope().toString() );
+        
+        // Time limit
+        searchParameterElement.addAttribute( TIME_LIMIT_TAG, "" + searchParameter.getTimeLimit() );
+        
+        // Count limit
+        searchParameterElement.addAttribute( COUNT_LIMIT_TAG, "" + searchParameter.getCountLimit() );
+        
+        // Alias dereferencing method
+        searchParameterElement.addAttribute( ALIASES_DEREFERENCING_METHOD_TAG, searchParameter
+            .getAliasesDereferencingMethod().toString() );
+        
+        // Referrals handling method
+        searchParameterElement.addAttribute( REFERRALS_HANDLING_METHOD_TAG, searchParameter
+            .getReferralsHandlingMethod().toString() );
+        
+        // TODO: Controls
+    }
+
+
+    private static void writeBookmark( Element bookmarkParameterElement, BookmarkParameter bookmarkParameter )
+    {
+        // Name
+        bookmarkParameterElement.addAttribute( NAME_TAG, bookmarkParameter.getName() );
+        
+        // DN
+        String dn = bookmarkParameter.getDn() != null ? bookmarkParameter.getDn().getUpName() : "";
+        bookmarkParameterElement.addAttribute( DN_TAG, dn );
+    }
+
+}

Propchange: directory/sandbox/felixk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/BrowserConnectionIO.java
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message