You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Emmanuel Lécharny <el...@symas.com> on 2015/03/23 17:04:53 UTC

[Studio] Issues with some chanes in partition config...

Hi Guys,

there were some changes lately, and now, when I try to build Stycho I
get this error :

...
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 35.743 s
[INFO] Finished at: 2015-03-23T16:58:11+01:00
[INFO] Final Memory: 68M/247M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.eclipse.tycho:tycho-compiler-plugin:0.22.0:compile (default-compile)
on project org.apache.directory.studio.apacheds.configuration.v2:
Compilation failure: Compilation failure:
[ERROR]
/Users/elecharny/apacheds/stycho/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/jobs/LoadConfigurationRunnable.java:[289]
[ERROR] ConfigPartitionInitializer init = new
ConfigPartitionInitializer( instanceLayout, dnFactory, cacheService,
schemaManager );
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] ConfigPartitionInitializer cannot be resolved to a type
[ERROR]
/Users/elecharny/apacheds/stycho/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/jobs/LoadConfigurationRunnable.java:[289]
[ERROR] ConfigPartitionInitializer init = new
ConfigPartitionInitializer( instanceLayout, dnFactory, cacheService,
schemaManager );
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] ConfigPartitionInitializer cannot be resolved to a type
[ERROR] 2 problems (2 errors)
[ERROR] -> [Help 1]


I don't really understand whay I get that, as the
ConfigPartitionInitializer class is present in the ApacheDS server code,
and I have built it locally.

Any idea, anyone ?

Thanks !

Re: [Studio] Issues with some chanes in partition config...

Posted by Emmanuel Lecharny <el...@apache.org>.
Doh... It's already present in the README.md file.

Newt time, Stefan, feel free to RTFM me ;-)

On Tue, Mar 24, 2015 at 2:48 PM, Emmanuel Lécharny <el...@gmail.com>
wrote:

> Le 23/03/15 18:05, Stefan Seelmann a écrit :
> >> I don't really understand whay I get that, as the
> >> ConfigPartitionInitializer class is present in the ApacheDS server code,
> >> and I have built it locally.
> >>
> >> Any idea, anyone ?
> > Yes, Tycho doesn't care about snapshots (and changes within snapshots)
> > and caches them im ~/.m2/repository/p2, so please delete them from there.
>
> Thanks, Stefan, works like a charm. I'll add this ifno in teh readme.
>
>


-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com

Re: [Studio] Issues with some chanes in partition config...

Posted by Emmanuel Lécharny <el...@gmail.com>.
Le 23/03/15 18:05, Stefan Seelmann a écrit :
>> I don't really understand whay I get that, as the
>> ConfigPartitionInitializer class is present in the ApacheDS server code,
>> and I have built it locally.
>>
>> Any idea, anyone ?
> Yes, Tycho doesn't care about snapshots (and changes within snapshots)
> and caches them im ~/.m2/repository/p2, so please delete them from there.

Thanks, Stefan, works like a charm. I'll add this ifno in teh readme.


Re: [Studio] Issues with some chanes in partition config...

Posted by Emmanuel Lécharny <el...@gmail.com>.
Le 24/03/15 16:56, Emmanuel Lécharny a écrit :
> Le 23/03/15 18:05, Stefan Seelmann a écrit :
>>> I don't really understand whay I get that, as the
>>> ConfigPartitionInitializer class is present in the ApacheDS server code,
>>> and I have built it locally.
>>>
>>> Any idea, anyone ?
>> Yes, Tycho doesn't care about snapshots (and changes within snapshots)
>> and caches them im ~/.m2/repository/p2, so please delete them from there.
> Even if I remove ~/.m2/repository/p2, I get the same error when running
> build.sh...
>
>
Never mind... I was still trying to build sutdio-tycho, not trunk.


I have created a new workspace, loaded everything, no problem at all,
works like a charm !

Re: [Studio] Issues with some chanes in partition config...

Posted by Emmanuel Lécharny <el...@gmail.com>.
Le 23/03/15 18:05, Stefan Seelmann a écrit :
>> I don't really understand whay I get that, as the
>> ConfigPartitionInitializer class is present in the ApacheDS server code,
>> and I have built it locally.
>>
>> Any idea, anyone ?
> Yes, Tycho doesn't care about snapshots (and changes within snapshots)
> and caches them im ~/.m2/repository/p2, so please delete them from there.

Even if I remove ~/.m2/repository/p2, I get the same error when running
build.sh...



Re: [Studio] Issues with some chanes in partition config...

Posted by Stefan Seelmann <ma...@stefan-seelmann.de>.
> 
> I don't really understand whay I get that, as the
> ConfigPartitionInitializer class is present in the ApacheDS server code,
> and I have built it locally.
> 
> Any idea, anyone ?

Yes, Tycho doesn't care about snapshots (and changes within snapshots)
and caches them im ~/.m2/repository/p2, so please delete them from there.

Kind Regards,
Stefan