[hibernate-dev] building core from master

Max Rydahl Andersen max.andersen at redhat.com
Fri Apr 1 01:03:46 EDT 2011


>> You can fix it on Hibernate side - I can't fix Eclipse core fundamentals.
> 
> Well as John already said, he was able to verify that it does in fact work in 
> Eclipse.  So obviously *they* don't think its a broken set up.  Thats just 
> your opinion.  Perhaps maybe the concern is that it possibly does not work in 
> JBoss Tools...

This has nothing to do with JBoss Tools.

/max

> 
> 
>> 
>> /max
>> 
>>> On Thursday, March 31, 2011, at 05:14 am, Max Rydahl Andersen wrote:
>>>>>> 2)Eclipse
>>>>>> the configuration files generated by gradle are totally wrong, but I
>>>>>> could fix them by hand.
>>>>>> Now Eclipse refuses to compile the project as there's a circular
>>>>>> dependency: the testsuite from hibernate-core depends on the
>>>>>> hibernate-testing module, which in turn depends on hibernate-core.
>>>>> 
>>>>> This was intentional.  Both gradle and intellij can handle this.  I
>>>>> asked max and he said that such a set up was in some way workable.
>>>> 
>>>> I said it was probably possibly to workaround/hack, but I did not at
>>>> all recommend it.
>>>> 
>>>> It's a broken setup IMO.
>>>> 
>>>>> I dont understand what is so foreign about this "circularity".  Look
>>>>> at it at the task level.  You compile hibernate-core/src/main; you
>>>>> compile hibernate- testing/src/main; you compile
>>>>> hibernate-core/src/test.  Yes there is "circularity" if you look
>>>>> strictly at this in terms of modules.
>>>>> 
>>>>> But in terms of tasks and source sets there is not.
>>>> 
>>>> There is of project dependencies - which is the level eclipse is
>>>> working on.
>>>> 
>>>> Just because the compile setup is possible doesn't make it right IMO.
>>>> 
>>>> /max
>>>> http://about.me/maxandersen
>>> 
>>> ---
>>> Steve Ebersole <steve at hibernate.org>
>>> http://hibernate.org
>> 
>> /max
>> http://about.me/maxandersen
> 
> ---
> Steve Ebersole <steve at hibernate.org>
> http://hibernate.org
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev

/max
http://about.me/maxandersen







More information about the hibernate-dev mailing list