You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Aleks M (JIRA)" <ji...@apache.org> on 2012/09/07 13:01:07 UTC
[jira] [Created] (DIRSTUDIO-832) Setting up Eclipse correctly (The
import org.apache.directory.shared cannot be resolved)?
Aleks M created DIRSTUDIO-832:
---------------------------------
Summary: Setting up Eclipse correctly (The import org.apache.directory.shared cannot be resolved)?
Key: DIRSTUDIO-832
URL: https://issues.apache.org/jira/browse/DIRSTUDIO-832
Project: Directory Studio
Issue Type: Question
Affects Versions: 2.0.0-M3
Environment: Windows 7 SP1 x64, Java 7 64-bit
Reporter: Aleks M
Priority: Minor
Hello
I'm trying to setup Eclipse according to these instructions:
http://directory.apache.org/studio/working.html
I have checked out the branch using:
svn co https://svn.apache.org/repos/asf/directory/studio/trunk studio
Then I ran:
cd studio
And:
mvn install studio:eclipse
I have installed SWTBot and the M2_REPO variable according to the docs.
But after importing the projects into Eclipse I have a huge number of projects that are marked with the white X on the red background icon.
They are showing this error:
The import org.apache.directory.shared cannot be resolved
Any idea what went wrong?
Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DIRSTUDIO-832) Setting up Eclipse correctly
(The import org.apache.directory.shared cannot be resolved)?
Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13474146#comment-13474146 ]
Pierre-Arnaud Marcelot commented on DIRSTUDIO-832:
--------------------------------------------------
Ok.
You can send me a link to the VM at this email address:
pamarcelot@apache.org
Thanks!
> Setting up Eclipse correctly (The import org.apache.directory.shared cannot be resolved)?
> -----------------------------------------------------------------------------------------
>
> Key: DIRSTUDIO-832
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-832
> Project: Directory Studio
> Issue Type: Question
> Affects Versions: 2.0.0-M3
> Environment: Windows 7 SP1 x64, Java 7 64-bit
> Reporter: Aleks M
> Priority: Minor
>
> Hello
> I'm trying to setup Eclipse according to these instructions:
> http://directory.apache.org/studio/working.html
> I have checked out the branch using:
> svn co https://svn.apache.org/repos/asf/directory/studio/trunk studio
> Then I ran:
> cd studio
> And:
> mvn install studio:eclipse
> I have installed SWTBot and the M2_REPO variable according to the docs.
> But after importing the projects into Eclipse I have a huge number of projects that are marked with the white X on the red background icon.
> They are showing this error:
> The import org.apache.directory.shared cannot be resolved
> Any idea what went wrong?
> Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DIRSTUDIO-832) Setting up Eclipse correctly
(The import org.apache.directory.shared cannot be resolved)?
Posted by "Aleks M (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13474429#comment-13474429 ]
Aleks M commented on DIRSTUDIO-832:
-----------------------------------
Hello
I have sent you a link!
Thanks
> Setting up Eclipse correctly (The import org.apache.directory.shared cannot be resolved)?
> -----------------------------------------------------------------------------------------
>
> Key: DIRSTUDIO-832
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-832
> Project: Directory Studio
> Issue Type: Question
> Affects Versions: 2.0.0-M3
> Environment: Windows 7 SP1 x64, Java 7 64-bit
> Reporter: Aleks M
> Priority: Minor
>
> Hello
> I'm trying to setup Eclipse according to these instructions:
> http://directory.apache.org/studio/working.html
> I have checked out the branch using:
> svn co https://svn.apache.org/repos/asf/directory/studio/trunk studio
> Then I ran:
> cd studio
> And:
> mvn install studio:eclipse
> I have installed SWTBot and the M2_REPO variable according to the docs.
> But after importing the projects into Eclipse I have a huge number of projects that are marked with the white X on the red background icon.
> They are showing this error:
> The import org.apache.directory.shared cannot be resolved
> Any idea what went wrong?
> Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DIRSTUDIO-832) Setting up Eclipse correctly
(The import org.apache.directory.shared cannot be resolved)?
Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450618#comment-13450618 ]
Pierre-Arnaud Marcelot commented on DIRSTUDIO-832:
--------------------------------------------------
Maybe there's a small issue with your default Kerberos settings.
You can disable tests by using "-DskipTests" in the command line.
So "mvn clean install -DskipTests" to run the build without tests.
> Setting up Eclipse correctly (The import org.apache.directory.shared cannot be resolved)?
> -----------------------------------------------------------------------------------------
>
> Key: DIRSTUDIO-832
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-832
> Project: Directory Studio
> Issue Type: Question
> Affects Versions: 2.0.0-M3
> Environment: Windows 7 SP1 x64, Java 7 64-bit
> Reporter: Aleks M
> Priority: Minor
>
> Hello
> I'm trying to setup Eclipse according to these instructions:
> http://directory.apache.org/studio/working.html
> I have checked out the branch using:
> svn co https://svn.apache.org/repos/asf/directory/studio/trunk studio
> Then I ran:
> cd studio
> And:
> mvn install studio:eclipse
> I have installed SWTBot and the M2_REPO variable according to the docs.
> But after importing the projects into Eclipse I have a huge number of projects that are marked with the white X on the red background icon.
> They are showing this error:
> The import org.apache.directory.shared cannot be resolved
> Any idea what went wrong?
> Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DIRSTUDIO-832) Setting up Eclipse correctly
(The import org.apache.directory.shared cannot be resolved)?
Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450668#comment-13450668 ]
Pierre-Arnaud Marcelot commented on DIRSTUDIO-832:
--------------------------------------------------
It depends on the type of attribute you're editing.
Each attribute type can have a dedicated "Value Editor".
If none, it defaults to the InPlaceTextValueEditor.
Do you have a specific issue?
> Setting up Eclipse correctly (The import org.apache.directory.shared cannot be resolved)?
> -----------------------------------------------------------------------------------------
>
> Key: DIRSTUDIO-832
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-832
> Project: Directory Studio
> Issue Type: Question
> Affects Versions: 2.0.0-M3
> Environment: Windows 7 SP1 x64, Java 7 64-bit
> Reporter: Aleks M
> Priority: Minor
>
> Hello
> I'm trying to setup Eclipse according to these instructions:
> http://directory.apache.org/studio/working.html
> I have checked out the branch using:
> svn co https://svn.apache.org/repos/asf/directory/studio/trunk studio
> Then I ran:
> cd studio
> And:
> mvn install studio:eclipse
> I have installed SWTBot and the M2_REPO variable according to the docs.
> But after importing the projects into Eclipse I have a huge number of projects that are marked with the white X on the red background icon.
> They are showing this error:
> The import org.apache.directory.shared cannot be resolved
> Any idea what went wrong?
> Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Comment Edited] (DIRSTUDIO-832) Setting up Eclipse
correctly (The import org.apache.directory.shared cannot be resolved)?
Posted by "Aleks M (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450549#comment-13450549 ]
Aleks M edited comment on DIRSTUDIO-832 at 9/7/12 11:10 PM:
------------------------------------------------------------
I downloaded this:
https://svn.apache.org/repos/asf/directory/shared/
and used mvn install eclipse:eclipse
Now it's much better. Still have some errors that I'm trying to resolve.
was (Author: maleks):
I download this:
https://svn.apache.org/repos/asf/directory/shared/
and used mvn install eclipse:eclipse
Now it's much better. Still have some errors that I'm trying to resolve.
> Setting up Eclipse correctly (The import org.apache.directory.shared cannot be resolved)?
> -----------------------------------------------------------------------------------------
>
> Key: DIRSTUDIO-832
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-832
> Project: Directory Studio
> Issue Type: Question
> Affects Versions: 2.0.0-M3
> Environment: Windows 7 SP1 x64, Java 7 64-bit
> Reporter: Aleks M
> Priority: Minor
>
> Hello
> I'm trying to setup Eclipse according to these instructions:
> http://directory.apache.org/studio/working.html
> I have checked out the branch using:
> svn co https://svn.apache.org/repos/asf/directory/studio/trunk studio
> Then I ran:
> cd studio
> And:
> mvn install studio:eclipse
> I have installed SWTBot and the M2_REPO variable according to the docs.
> But after importing the projects into Eclipse I have a huge number of projects that are marked with the white X on the red background icon.
> They are showing this error:
> The import org.apache.directory.shared cannot be resolved
> Any idea what went wrong?
> Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DIRSTUDIO-832) Setting up Eclipse correctly
(The import org.apache.directory.shared cannot be resolved)?
Posted by "Aleks M (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450691#comment-13450691 ]
Aleks M commented on DIRSTUDIO-832:
-----------------------------------
Yes, I want to see why after doubleclicking on a networkAddress attribute value in eDirectory and then pressing ESC or clicking somewhere else (i.e. not saving/editing anything), Studio changes that value from (this is the base 64 encoded full value, but Studio displays it in clear text):
networkAddress:: MTMjaAB0AHQAcAA6AC8ALwAxADcAMgAuADEANgAuADIANAAyAC4ANwA0ADo
AOAAwADIAOAAvAHAAbwByAHQAYQBsAAAA
to:
13#h
This is the diff variable from the debugger:
[org.apache.directory.studio.ldifparser.model.container.LdifChangeModifyRecord:
org.apache.directory.studio.ldifparser.model.lines.LdifDnLine (0,31): 'dn:cn=everest,ou=System,o=XXX\r\n'
org.apache.directory.studio.ldifparser.model.lines.LdifChangeTypeLine (0,19): 'changetype:modify\r\n'
org.apache.directory.studio.ldifparser.model.container.LdifModSpec:
org.apache.directory.studio.ldifparser.model.lines.LdifModSpecTypeLine (0,23): 'delete:networkAddress\r\n'
org.apache.directory.studio.ldifparser.model.lines.LdifAttrValLine (0,110): 'networkAddress::MTMjaAB0AHQAcAA6AC8ALwAxADcAMgAuADEANgAuADIANAAyAC4ANwA0ADoAOAAwADIAOAAvAHAAbwByAHQAYQBsAAAA\r\n'
org.apache.directory.studio.ldifparser.model.lines.LdifModSpecSepLine (0,3): '-\r\n'
org.apache.directory.studio.ldifparser.model.container.LdifModSpec:
org.apache.directory.studio.ldifparser.model.lines.LdifModSpecTypeLine (0,20): 'add:networkAddress\r\n'
org.apache.directory.studio.ldifparser.model.lines.LdifAttrValLine (0,21): 'networkAddress:13#h\r\n'
org.apache.directory.studio.ldifparser.model.lines.LdifModSpecSepLine (0,3): '-\r\n'
org.apache.directory.studio.ldifparser.model.lines.LdifSepLine (0,2): '\r\n'
]
> Setting up Eclipse correctly (The import org.apache.directory.shared cannot be resolved)?
> -----------------------------------------------------------------------------------------
>
> Key: DIRSTUDIO-832
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-832
> Project: Directory Studio
> Issue Type: Question
> Affects Versions: 2.0.0-M3
> Environment: Windows 7 SP1 x64, Java 7 64-bit
> Reporter: Aleks M
> Priority: Minor
>
> Hello
> I'm trying to setup Eclipse according to these instructions:
> http://directory.apache.org/studio/working.html
> I have checked out the branch using:
> svn co https://svn.apache.org/repos/asf/directory/studio/trunk studio
> Then I ran:
> cd studio
> And:
> mvn install studio:eclipse
> I have installed SWTBot and the M2_REPO variable according to the docs.
> But after importing the projects into Eclipse I have a huge number of projects that are marked with the white X on the red background icon.
> They are showing this error:
> The import org.apache.directory.shared cannot be resolved
> Any idea what went wrong?
> Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DIRSTUDIO-832) Setting up Eclipse correctly
(The import org.apache.directory.shared cannot be resolved)?
Posted by "Aleks M (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450610#comment-13450610 ]
Aleks M commented on DIRSTUDIO-832:
-----------------------------------
Ok, I've closed it.
Any idea how I can run the application now?
Which project should I select to be able to run it?
Thanks
> Setting up Eclipse correctly (The import org.apache.directory.shared cannot be resolved)?
> -----------------------------------------------------------------------------------------
>
> Key: DIRSTUDIO-832
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-832
> Project: Directory Studio
> Issue Type: Question
> Affects Versions: 2.0.0-M3
> Environment: Windows 7 SP1 x64, Java 7 64-bit
> Reporter: Aleks M
> Priority: Minor
>
> Hello
> I'm trying to setup Eclipse according to these instructions:
> http://directory.apache.org/studio/working.html
> I have checked out the branch using:
> svn co https://svn.apache.org/repos/asf/directory/studio/trunk studio
> Then I ran:
> cd studio
> And:
> mvn install studio:eclipse
> I have installed SWTBot and the M2_REPO variable according to the docs.
> But after importing the projects into Eclipse I have a huge number of projects that are marked with the white X on the red background icon.
> They are showing this error:
> The import org.apache.directory.shared cannot be resolved
> Any idea what went wrong?
> Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (DIRSTUDIO-832) Setting up Eclipse correctly (The
import org.apache.directory.shared cannot be resolved)?
Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pierre-Arnaud Marcelot closed DIRSTUDIO-832.
--------------------------------------------
Resolution: Duplicate
Assignee: Pierre-Arnaud Marcelot
I'm closing this issue as this is a duplicate of DIRSTUDIO-814 (eDirectory networkAddress attribute
).
Let's discuss further more on the original issue.
> Setting up Eclipse correctly (The import org.apache.directory.shared cannot be resolved)?
> -----------------------------------------------------------------------------------------
>
> Key: DIRSTUDIO-832
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-832
> Project: Directory Studio
> Issue Type: Question
> Affects Versions: 2.0.0-M3
> Environment: Windows 7 SP1 x64, Java 7 64-bit
> Reporter: Aleks M
> Assignee: Pierre-Arnaud Marcelot
> Priority: Minor
>
> Hello
> I'm trying to setup Eclipse according to these instructions:
> http://directory.apache.org/studio/working.html
> I have checked out the branch using:
> svn co https://svn.apache.org/repos/asf/directory/studio/trunk studio
> Then I ran:
> cd studio
> And:
> mvn install studio:eclipse
> I have installed SWTBot and the M2_REPO variable according to the docs.
> But after importing the projects into Eclipse I have a huge number of projects that are marked with the white X on the red background icon.
> They are showing this error:
> The import org.apache.directory.shared cannot be resolved
> Any idea what went wrong?
> Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DIRSTUDIO-832) Setting up Eclipse correctly
(The import org.apache.directory.shared cannot be resolved)?
Posted by "Aleks M (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450603#comment-13450603 ]
Aleks M commented on DIRSTUDIO-832:
-----------------------------------
Eclipse Platform
Version: 4.2.0
Build id: I20120608-1400
> Setting up Eclipse correctly (The import org.apache.directory.shared cannot be resolved)?
> -----------------------------------------------------------------------------------------
>
> Key: DIRSTUDIO-832
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-832
> Project: Directory Studio
> Issue Type: Question
> Affects Versions: 2.0.0-M3
> Environment: Windows 7 SP1 x64, Java 7 64-bit
> Reporter: Aleks M
> Priority: Minor
>
> Hello
> I'm trying to setup Eclipse according to these instructions:
> http://directory.apache.org/studio/working.html
> I have checked out the branch using:
> svn co https://svn.apache.org/repos/asf/directory/studio/trunk studio
> Then I ran:
> cd studio
> And:
> mvn install studio:eclipse
> I have installed SWTBot and the M2_REPO variable according to the docs.
> But after importing the projects into Eclipse I have a huge number of projects that are marked with the white X on the red background icon.
> They are showing this error:
> The import org.apache.directory.shared cannot be resolved
> Any idea what went wrong?
> Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DIRSTUDIO-832) Setting up Eclipse correctly
(The import org.apache.directory.shared cannot be resolved)?
Posted by "Aleks M (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450549#comment-13450549 ]
Aleks M commented on DIRSTUDIO-832:
-----------------------------------
I download this:
https://svn.apache.org/repos/asf/directory/shared/
and used mvn install eclipse:eclipse
Now it's much better. Still have some errors that I'm trying to resolve.
> Setting up Eclipse correctly (The import org.apache.directory.shared cannot be resolved)?
> -----------------------------------------------------------------------------------------
>
> Key: DIRSTUDIO-832
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-832
> Project: Directory Studio
> Issue Type: Question
> Affects Versions: 2.0.0-M3
> Environment: Windows 7 SP1 x64, Java 7 64-bit
> Reporter: Aleks M
> Priority: Minor
>
> Hello
> I'm trying to setup Eclipse according to these instructions:
> http://directory.apache.org/studio/working.html
> I have checked out the branch using:
> svn co https://svn.apache.org/repos/asf/directory/studio/trunk studio
> Then I ran:
> cd studio
> And:
> mvn install studio:eclipse
> I have installed SWTBot and the M2_REPO variable according to the docs.
> But after importing the projects into Eclipse I have a huge number of projects that are marked with the white X on the red background icon.
> They are showing this error:
> The import org.apache.directory.shared cannot be resolved
> Any idea what went wrong?
> Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DIRSTUDIO-832) Setting up Eclipse correctly
(The import org.apache.directory.shared cannot be resolved)?
Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13474093#comment-13474093 ]
Pierre-Arnaud Marcelot commented on DIRSTUDIO-832:
--------------------------------------------------
Hi Aleks,
Any progress so far?
I'm about to cut a new release of Studio in a few days and it would be good if we ship it with this issue fixed.
In a previous issue, you proposed to send a VM, is it still possible?
Thanks!
> Setting up Eclipse correctly (The import org.apache.directory.shared cannot be resolved)?
> -----------------------------------------------------------------------------------------
>
> Key: DIRSTUDIO-832
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-832
> Project: Directory Studio
> Issue Type: Question
> Affects Versions: 2.0.0-M3
> Environment: Windows 7 SP1 x64, Java 7 64-bit
> Reporter: Aleks M
> Priority: Minor
>
> Hello
> I'm trying to setup Eclipse according to these instructions:
> http://directory.apache.org/studio/working.html
> I have checked out the branch using:
> svn co https://svn.apache.org/repos/asf/directory/studio/trunk studio
> Then I ran:
> cd studio
> And:
> mvn install studio:eclipse
> I have installed SWTBot and the M2_REPO variable according to the docs.
> But after importing the projects into Eclipse I have a huge number of projects that are marked with the white X on the red background icon.
> They are showing this error:
> The import org.apache.directory.shared cannot be resolved
> Any idea what went wrong?
> Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DIRSTUDIO-832) Setting up Eclipse correctly
(The import org.apache.directory.shared cannot be resolved)?
Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450614#comment-13450614 ]
Pierre-Arnaud Marcelot commented on DIRSTUDIO-832:
--------------------------------------------------
You need to create launch configuration:
- Select the "Run" > "Run Configurations..." menu item
- Double-click the "Eclipse Application" item or select it and click the "New" button.
- Name your launch configuration (I usually simply name it "Eclipse")
Then, hit the "Run" button.
> Setting up Eclipse correctly (The import org.apache.directory.shared cannot be resolved)?
> -----------------------------------------------------------------------------------------
>
> Key: DIRSTUDIO-832
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-832
> Project: Directory Studio
> Issue Type: Question
> Affects Versions: 2.0.0-M3
> Environment: Windows 7 SP1 x64, Java 7 64-bit
> Reporter: Aleks M
> Priority: Minor
>
> Hello
> I'm trying to setup Eclipse according to these instructions:
> http://directory.apache.org/studio/working.html
> I have checked out the branch using:
> svn co https://svn.apache.org/repos/asf/directory/studio/trunk studio
> Then I ran:
> cd studio
> And:
> mvn install studio:eclipse
> I have installed SWTBot and the M2_REPO variable according to the docs.
> But after importing the projects into Eclipse I have a huge number of projects that are marked with the white X on the red background icon.
> They are showing this error:
> The import org.apache.directory.shared cannot be resolved
> Any idea what went wrong?
> Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DIRSTUDIO-832) Setting up Eclipse correctly
(The import org.apache.directory.shared cannot be resolved)?
Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13474875#comment-13474875 ]
Pierre-Arnaud Marcelot commented on DIRSTUDIO-832:
--------------------------------------------------
Received and currently downloading it.
Thanks!
> Setting up Eclipse correctly (The import org.apache.directory.shared cannot be resolved)?
> -----------------------------------------------------------------------------------------
>
> Key: DIRSTUDIO-832
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-832
> Project: Directory Studio
> Issue Type: Question
> Affects Versions: 2.0.0-M3
> Environment: Windows 7 SP1 x64, Java 7 64-bit
> Reporter: Aleks M
> Priority: Minor
>
> Hello
> I'm trying to setup Eclipse according to these instructions:
> http://directory.apache.org/studio/working.html
> I have checked out the branch using:
> svn co https://svn.apache.org/repos/asf/directory/studio/trunk studio
> Then I ran:
> cd studio
> And:
> mvn install studio:eclipse
> I have installed SWTBot and the M2_REPO variable according to the docs.
> But after importing the projects into Eclipse I have a huge number of projects that are marked with the white X on the red background icon.
> They are showing this error:
> The import org.apache.directory.shared cannot be resolved
> Any idea what went wrong?
> Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DIRSTUDIO-832) Setting up Eclipse correctly
(The import org.apache.directory.shared cannot be resolved)?
Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450598#comment-13450598 ]
Pierre-Arnaud Marcelot commented on DIRSTUDIO-832:
--------------------------------------------------
What version of Eclipse are you using?
Thanks.
> Setting up Eclipse correctly (The import org.apache.directory.shared cannot be resolved)?
> -----------------------------------------------------------------------------------------
>
> Key: DIRSTUDIO-832
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-832
> Project: Directory Studio
> Issue Type: Question
> Affects Versions: 2.0.0-M3
> Environment: Windows 7 SP1 x64, Java 7 64-bit
> Reporter: Aleks M
> Priority: Minor
>
> Hello
> I'm trying to setup Eclipse according to these instructions:
> http://directory.apache.org/studio/working.html
> I have checked out the branch using:
> svn co https://svn.apache.org/repos/asf/directory/studio/trunk studio
> Then I ran:
> cd studio
> And:
> mvn install studio:eclipse
> I have installed SWTBot and the M2_REPO variable according to the docs.
> But after importing the projects into Eclipse I have a huge number of projects that are marked with the white X on the red background icon.
> They are showing this error:
> The import org.apache.directory.shared cannot be resolved
> Any idea what went wrong?
> Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DIRSTUDIO-832) Setting up Eclipse correctly
(The import org.apache.directory.shared cannot be resolved)?
Posted by "Aleks M (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450661#comment-13450661 ]
Aleks M commented on DIRSTUDIO-832:
-----------------------------------
Thanks, I'll try that now.
Do you know which file contains the code that is executed when doubleclicking on a attribute value in the entry editor?
Thanks
> Setting up Eclipse correctly (The import org.apache.directory.shared cannot be resolved)?
> -----------------------------------------------------------------------------------------
>
> Key: DIRSTUDIO-832
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-832
> Project: Directory Studio
> Issue Type: Question
> Affects Versions: 2.0.0-M3
> Environment: Windows 7 SP1 x64, Java 7 64-bit
> Reporter: Aleks M
> Priority: Minor
>
> Hello
> I'm trying to setup Eclipse according to these instructions:
> http://directory.apache.org/studio/working.html
> I have checked out the branch using:
> svn co https://svn.apache.org/repos/asf/directory/studio/trunk studio
> Then I ran:
> cd studio
> And:
> mvn install studio:eclipse
> I have installed SWTBot and the M2_REPO variable according to the docs.
> But after importing the projects into Eclipse I have a huge number of projects that are marked with the white X on the red background icon.
> They are showing this error:
> The import org.apache.directory.shared cannot be resolved
> Any idea what went wrong?
> Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DIRSTUDIO-832) Setting up Eclipse correctly
(The import org.apache.directory.shared cannot be resolved)?
Posted by "Aleks M (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13474143#comment-13474143 ]
Aleks M commented on DIRSTUDIO-832:
-----------------------------------
Hello
I'm unable to find the correct method that is called when doubleclicking on the attribute.
I can send you a VM, just tell me where.
> Setting up Eclipse correctly (The import org.apache.directory.shared cannot be resolved)?
> -----------------------------------------------------------------------------------------
>
> Key: DIRSTUDIO-832
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-832
> Project: Directory Studio
> Issue Type: Question
> Affects Versions: 2.0.0-M3
> Environment: Windows 7 SP1 x64, Java 7 64-bit
> Reporter: Aleks M
> Priority: Minor
>
> Hello
> I'm trying to setup Eclipse according to these instructions:
> http://directory.apache.org/studio/working.html
> I have checked out the branch using:
> svn co https://svn.apache.org/repos/asf/directory/studio/trunk studio
> Then I ran:
> cd studio
> And:
> mvn install studio:eclipse
> I have installed SWTBot and the M2_REPO variable according to the docs.
> But after importing the projects into Eclipse I have a huge number of projects that are marked with the white X on the red background icon.
> They are showing this error:
> The import org.apache.directory.shared cannot be resolved
> Any idea what went wrong?
> Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DIRSTUDIO-832) Setting up Eclipse correctly
(The import org.apache.directory.shared cannot be resolved)?
Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450559#comment-13450559 ]
Pierre-Arnaud Marcelot commented on DIRSTUDIO-832:
--------------------------------------------------
Indeed, that page might not be really up-to-date with the 2.0 branch development.
The best thing would be to checkout this repository (which contains most of our sub-projects trunks):
https://svn.apache.org/repos/asf/directory/trunks/
Apache Directory Studio depends mostly on Shared and ApacheDS.
So, the complete setup would be:
$ svn co https://svn.apache.org/repos/asf/directory/trunks/
$ cd trunks
$ mvn clean install
$ mvn eclipse:clean eclipse:eclipse
$ cd studio
$ mvn studio:clean studio:eclipse
Then you can import all projects in the following folders:
- apacheds
- shared
- studio
Eveything should be fine after that.
> Setting up Eclipse correctly (The import org.apache.directory.shared cannot be resolved)?
> -----------------------------------------------------------------------------------------
>
> Key: DIRSTUDIO-832
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-832
> Project: Directory Studio
> Issue Type: Question
> Affects Versions: 2.0.0-M3
> Environment: Windows 7 SP1 x64, Java 7 64-bit
> Reporter: Aleks M
> Priority: Minor
>
> Hello
> I'm trying to setup Eclipse according to these instructions:
> http://directory.apache.org/studio/working.html
> I have checked out the branch using:
> svn co https://svn.apache.org/repos/asf/directory/studio/trunk studio
> Then I ran:
> cd studio
> And:
> mvn install studio:eclipse
> I have installed SWTBot and the M2_REPO variable according to the docs.
> But after importing the projects into Eclipse I have a huge number of projects that are marked with the white X on the red background icon.
> They are showing this error:
> The import org.apache.directory.shared cannot be resolved
> Any idea what went wrong?
> Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DIRSTUDIO-832) Setting up Eclipse correctly
(The import org.apache.directory.shared cannot be resolved)?
Posted by "Aleks M (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450594#comment-13450594 ]
Aleks M commented on DIRSTUDIO-832:
-----------------------------------
I'll try that.
Currently I have the problem with the rcp project:
The import org.eclipse.update cannot be resolved
> Setting up Eclipse correctly (The import org.apache.directory.shared cannot be resolved)?
> -----------------------------------------------------------------------------------------
>
> Key: DIRSTUDIO-832
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-832
> Project: Directory Studio
> Issue Type: Question
> Affects Versions: 2.0.0-M3
> Environment: Windows 7 SP1 x64, Java 7 64-bit
> Reporter: Aleks M
> Priority: Minor
>
> Hello
> I'm trying to setup Eclipse according to these instructions:
> http://directory.apache.org/studio/working.html
> I have checked out the branch using:
> svn co https://svn.apache.org/repos/asf/directory/studio/trunk studio
> Then I ran:
> cd studio
> And:
> mvn install studio:eclipse
> I have installed SWTBot and the M2_REPO variable according to the docs.
> But after importing the projects into Eclipse I have a huge number of projects that are marked with the white X on the red background icon.
> They are showing this error:
> The import org.apache.directory.shared cannot be resolved
> Any idea what went wrong?
> Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DIRSTUDIO-832) Setting up Eclipse correctly
(The import org.apache.directory.shared cannot be resolved)?
Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450609#comment-13450609 ]
Pierre-Arnaud Marcelot commented on DIRSTUDIO-832:
--------------------------------------------------
That might be the issue, because in the 4.x branch, Eclipse switched entirely to using P2 and I think the old org.eclipse.update modules are not included anymore.
Hence, the error you get.
Just close the rcp project and it should be all good.
> Setting up Eclipse correctly (The import org.apache.directory.shared cannot be resolved)?
> -----------------------------------------------------------------------------------------
>
> Key: DIRSTUDIO-832
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-832
> Project: Directory Studio
> Issue Type: Question
> Affects Versions: 2.0.0-M3
> Environment: Windows 7 SP1 x64, Java 7 64-bit
> Reporter: Aleks M
> Priority: Minor
>
> Hello
> I'm trying to setup Eclipse according to these instructions:
> http://directory.apache.org/studio/working.html
> I have checked out the branch using:
> svn co https://svn.apache.org/repos/asf/directory/studio/trunk studio
> Then I ran:
> cd studio
> And:
> mvn install studio:eclipse
> I have installed SWTBot and the M2_REPO variable according to the docs.
> But after importing the projects into Eclipse I have a huge number of projects that are marked with the white X on the red background icon.
> They are showing this error:
> The import org.apache.directory.shared cannot be resolved
> Any idea what went wrong?
> Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (DIRSTUDIO-832) Setting up Eclipse correctly
(The import org.apache.directory.shared cannot be resolved)?
Posted by "Aleks M (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSTUDIO-832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450615#comment-13450615 ]
Aleks M commented on DIRSTUDIO-832:
-----------------------------------
Running mvn clean install on the checked out directory trunk gives me this error after about 10 minutes:
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.directory.server.replication.ClientServerReplicationIT
Tests run: 5, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 25.916 sec
Running org.apache.directory.server.suites.StockServerISuite
javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException:
No valid credentials provided (Mechanism level: Server not found in Kerberos dat
abase (7) - Server not found in Kerberos database)]
at com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge(GssKrb5
Client.java:212)
at org.apache.directory.ldap.client.api.LdapNetworkConnection.bindSasl(L
dapNetworkConnection.java:3677)
at org.apache.directory.ldap.client.api.LdapNetworkConnection.access$200
(LdapNetworkConnection.java:176)
at org.apache.directory.ldap.client.api.LdapNetworkConnection$2.run(Ldap
NetworkConnection.java:1454)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at org.apache.directory.ldap.client.api.LdapNetworkConnection.bindAsync(
LdapNetworkConnection.java:1450)
at org.apache.directory.ldap.client.api.LdapNetworkConnection.bind(LdapN
etworkConnection.java:1352)
at org.apache.directory.server.operations.bind.SaslBindIT.testSaslGssApi
Bind(SaslBindIT.java:512)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(Framework
Method.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCal
lable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMe
thod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMet
hod.java:20)
at org.apache.directory.junit.tools.MultiThreadedMultiInvoker$1$1.run(Mu
ltiThreadedMultiInvoker.java:160)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: GSSException: No valid credentials provided (Mechanism level: Server
not found in Kerberos database (7) - Server not found in Kerberos database)
at sun.security.jgss.krb5.Krb5Context.initSecContext(Krb5Context.java:71
0)
at sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:2
48)
at sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:1
79)
at com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge(GssKrb5
Client.java:193)
... 20 more
Caused by: KrbException: Server not found in Kerberos database (7) - Server not
found in Kerberos database
at sun.security.krb5.KrbTgsRep.<init>(KrbTgsRep.java:73)
at sun.security.krb5.KrbTgsReq.getReply(KrbTgsReq.java:192)
at sun.security.krb5.KrbTgsReq.sendAndGetCreds(KrbTgsReq.java:203)
at sun.security.krb5.internal.CredentialsUtil.serviceCreds(CredentialsUt
il.java:311)
at sun.security.krb5.internal.CredentialsUtil.acquireServiceCreds(Creden
tialsUtil.java:115)
at sun.security.krb5.Credentials.acquireServiceCreds(Credentials.java:44
2)
at sun.security.jgss.krb5.Krb5Context.initSecContext(Krb5Context.java:64
1)
... 23 more
Caused by: KrbException: Identifier doesn't match expected value (906)
at sun.security.krb5.internal.KDCRep.init(KDCRep.java:143)
at sun.security.krb5.internal.TGSRep.init(TGSRep.java:66)
at sun.security.krb5.internal.TGSRep.<init>(TGSRep.java:61)
at sun.security.krb5.KrbTgsRep.<init>(KrbTgsRep.java:55)
... 29 more
> Setting up Eclipse correctly (The import org.apache.directory.shared cannot be resolved)?
> -----------------------------------------------------------------------------------------
>
> Key: DIRSTUDIO-832
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-832
> Project: Directory Studio
> Issue Type: Question
> Affects Versions: 2.0.0-M3
> Environment: Windows 7 SP1 x64, Java 7 64-bit
> Reporter: Aleks M
> Priority: Minor
>
> Hello
> I'm trying to setup Eclipse according to these instructions:
> http://directory.apache.org/studio/working.html
> I have checked out the branch using:
> svn co https://svn.apache.org/repos/asf/directory/studio/trunk studio
> Then I ran:
> cd studio
> And:
> mvn install studio:eclipse
> I have installed SWTBot and the M2_REPO variable according to the docs.
> But after importing the projects into Eclipse I have a huge number of projects that are marked with the white X on the red background icon.
> They are showing this error:
> The import org.apache.directory.shared cannot be resolved
> Any idea what went wrong?
> Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira