On Wed, Aug 4, 2010 at 2:08 AM, Benjamin, Roy <[email protected]> wrote:
> Hi,
>
> Hmm I must be dense. I've seen the trunk-with-dependencies directories but
> not
> understood what was kept there.
>
> I checked out trunk, but it didn't build.
strange, did you try to build whole trunk or just a single module?
anyways to get the trunk build succeed just run the below command from
the root of the project
(i.e the parent directory of the apacheds and shared directories )
mvn clean install -DskipTests
(this will avoid bringing latest snapshots from maven repo, they all
get generated locally)
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building ApacheDS Core API
> [INFO] task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [remote-resources:process {execution: default}]
> [INFO] snapshot org.apache.directory.shared:shared-ldap:0.9.20-SNAPSHOT:
> checking for updates from ibiblio.org
> [WARNING] repository metadata for: 'snapshot
> org.apache.directory.shared:shared-ldap:0.9.20-SNAPSHOT' could not be
> retrieved from repository: ibiblio.org due to an error: Unsupported Protocol:
> 'ibiblio Mirror of http': Cannot find wagon which supports the
>
> requested protocol: ibiblio Mirror of http
> [INFO] Repository 'ibiblio.org' will be blacklisted
> [INFO] [resources:resources]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> D:\DS\apacheds-10-trunks\trunck\core-api\src\main\resources
> [INFO] Copying 3 resources
> [INFO] [compiler:compile]
> [INFO] Compiling 101 source files to
> D:\DS\apacheds-10-trunks\trunck\core-api\target\classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR]
> \DS\apacheds-10-trunks\trunck\core-api\src\main\java\org\apache\directory\server\core\administrative\AutonomousAdministrativePoint.java:[23,47]
> cannot find symbol
> symbol : class AdministrativeRole
> location: package org.apache.directory.shared.ldap.subtree
>
> [ERROR]
> \DS\apacheds-10-trunks\trunck\core-api\src\main\java\org\apache\directory\server\core\administrative\AbstractAdministrativePoint.java:[26,47]
> cannot find symbol
> symbol : class AdministrativeRole
> location: package org.apache.directory.shared.ldap.subtree
>
> [ERROR]
> \DS\apacheds-10-trunks\trunck\core-api\src\main\java\org\apache\directory\server\core\administrative\AutonomousAdministrativePoint.java:[55,11]
> cannot find symbol
> symbol : class AdministrativeRole
> location: class
> org.apache.directory.server.core.administrative.AutonomousAdministrativePoint
>
> [ERROR]
> \DS\apacheds-10-trunks\trunck\core-api\src\main\java\org\apache\directory\server\core\administrative\AbstractAdministrativePoint.java:[41,14]
> cannot find symbol
> symbol : class AdministrativeRole
> location: class
> org.apache.directory.server.core.administrative.AbstractAdministrativePoint
>
>
>
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of
> Kiran Ayyagari
> Sent: Tuesday, August 03, 2010 1:25 PM
> To: Apache Directory Developers List
> Subject: Re: Startup Error for Embedded ApacheDS Created by ApacheDS archetype
>
> hi Roy,
>
> On Wed, Aug 4, 2010 at 1:44 AM, Benjamin, Roy <[email protected]> wrote:
>> Hi Kiran,
>>
>> I don't see 1.5.8 in svn.
> this is the version number of the latest trunk, not yet released, that
> is why am explicitly mentioning
> 1.5.8*-SNAPSHOT*
>
> here is the svn url
> http://svn.apache.org/repos/asf/directory/apacheds/trunk-with-dependencies
>
>>
>> I see apacheds-1.5.6, apacheds-1.5.7 under branches
>> and
>> 1.0.0 to 1.5.7 under tags..
>>
>> ?
>>
>> Thanks
>> Roy
>>
>> -----Original Message-----
>> From: [email protected] [mailto:[email protected]] On Behalf Of
>> Kiran Ayyagari
>> Sent: Tuesday, August 03, 2010 1:05 PM
>> To: Apache Directory Developers List
>> Subject: Re: Startup Error for Embedded ApacheDS Created by ApacheDS
>> archetype
>>
>> On Wed, Aug 4, 2010 at 1:27 AM, Benjamin, Roy <[email protected]> wrote:
>>> You bet!
>>>
>>> :-)
>>>
>>> public class MembersAuthenticator extends AbstractAuthenticator {
>>>
>>> protected MembersAuthenticator(String type) {
>>> super(type);
>> ahhh, I see, this must be a old version of AbstractAuthenticator, the
>> new AbstractAuthenticator
>> (from the 1.5.8-SNAPSHOT) constructor takes a AuthenticationLevel
>>
>> AbstractAuthenticator( AuthenticationLevel type ) so the above code should be
>>
>> protected MembersAuthenticator(AuthenticationLevel type) {
>> super(type);
>> ....
>>
>> this is the reason why your authenticator is not recognized. I guess
>> you must be developing and deploying with different versions.
>>
>>
>>> System.out.println("\nMembersAuthenticator() " + type);
>>> }
>>>
>>> �...@override
>>> public LdapPrincipal authenticate(BindOperationContext
>>> bindOperationContext) throws Exception {
>>> System.out.println("\nMembersAuthenticator.authenticate() "
>>> + bindOperationContext.getName());
>>>
>>> return null;
>>> }
>>>
>>> �...@override
>>> public String getAuthenticatorType() {
>>>
>>> System.out.println("\nMembersAuthenticator.getAuthenticatorType() " +
>>> super.getAuthenticatorType());
>>> return super.getAuthenticatorType();
>>> }
>>>
>>> �...@override
>>> public DirectoryService getDirectoryService() {
>>>
>>> System.out.println("\nMembersAuthenticator.getDirectoryService() " +
>>> super.getDirectoryService());
>>> return super.getDirectoryService();
>>> }
>>>
>>> }
>>>
>>> -----Original Message-----
>>> From: [email protected] [mailto:[email protected]] On Behalf Of
>>> Kiran Ayyagari
>>> Sent: Tuesday, August 03, 2010 12:12 PM
>>> To: Apache Directory Developers List
>>> Subject: Re: Startup Error for Embedded ApacheDS Created by ApacheDS
>>> archetype
>>>
>>> hi Roy,
>>>
>>> On Wed, Aug 4, 2010 at 12:31 AM, Benjamin, Roy <[email protected]> wrote:
>>>> Hi Kiran,
>>>>
>>>> I've been trying the example.
>>>>
>>>> I also thought it possible that the Authenticator I have could be the
>>>> problem.
>>>> So I also ran the same example using other built in Authenticators.
>>>> Always the
>>>> same bind problem.
>>> is it possible to show us the code of your authenticator?
>>>
>>> Kiran Ayyagari
>>>
>>
>> Kiran Ayyagari
>>
>
>
>
> --
> Kiran Ayyagari
>
--
Kiran Ayyagari