Hi All,
I believe it was another IDE issue rather than Lens.

I was able to get the testcases running by manually removing the modules
from annotation processing.

Another solution is building Lens outside IDE and importing the project to
idea later. This avoids hitting any cyclic dependency completely.

mvn clean install
mvn idea:clean
mvn idea:idea

Thanks Rajat for your help on this.

Regards

On Mon, May 4, 2015 at 3:53 PM, Rajat Khandelwal <[email protected]>
wrote:

> In my case it's enabled for all lens modules, and more.
>
>
> Can you create a new blank project and add lens parent as a module,
> including all other modules as sub modules? If that doesn't work, then it
> might be a bigger issue and we might need to debug more.
>
> On Mon, May 4, 2015 at 3:06 PM Yash Sharma <[email protected]> wrote:
>
>> Thanks Rajat,
>> I have installed lombok plugin as well but there seems to be some issue
>> with my setup. I might be missing something.
>>
>> Could you please share with me which all projects have you enabled the
>> 'Annotation Processing' in idea.
>> I shall also debug it at my end and share my findings.
>>
>> Regards
>>
>>
>> On Mon, May 4, 2015 at 2:30 PM, Rajat Khandelwal <[email protected]>
>> wrote:
>>
>> > Hi Yash
>> >
>> > There is definitely no cyclic dependency in lens modules. And as for
>> > lombok, I had faced compilation error for which I have installed an idea
>> > plugin for lombok.
>> >
>> > On Mon, May 4, 2015 at 12:29 PM Yash Sharma <[email protected]> wrote:
>> >
>> > > Hi All,
>> > > I am using IDEA for development and am facing trouble in running the
>> test
>> > > cases via the IDE.
>> > >
>> > > I am able to run the test cases via the console successfully - but
>> IDEA
>> > > complains while executing the test cases (while preprocessing the
>> Lombok
>> > > annotations). Apparently few of the test modules have cyclic
>> dependencies
>> > > among themselves hence the preprocessing fails.
>> > >
>> > > Is anyone else facing this issue on IDEA. Is there any known
>> workaround
>> > for
>> > > this.
>> > >
>> > > Error Log:
>> > >
>> > > Error:java: Annotation processing is not supported for module cycles.
>> > > Please ensure that all modules from cycle
>> > > [test10,main5,main11,main8,test9,test7,test1,main2] are excluded from
>> > > annotation processing
>> > >
>> > > The list of cyclic dependencies in project modules can be checked
>> from :
>> > > IDEA > File menu > Analyze > Module Dependencies
>> > >
>> > > Any help would be appreciated.
>> > >
>> > > Thanks
>> > >
>> >
>>
>

Reply via email to