I think you mean qi4j-core-api build.gradle, since qi4j-core shouldn't
have any gradle build file at all.

Yes, and there is nothing wrong with qi4j-core-api[testCompile] to
dependOn qi4j-core-testsupport[compile] which in turn depends on
qi4j-core-api[compile]. Gradle is not complaining about that, and
conceptually totally ok. So if this is a problem in the Gradle Eclipse
plugin, then it is a bug there...


Cheers
Niclas


On Thu, Aug 30, 2012 at 1:36 PM, 张峰昌 <[email protected]> wrote:
> "STS"  means" Spring Tool Suit"
> Gradle Eclipse plugin maintained by Spring(www.springsource.com ).
> There is no pom.xml but build.gradle in qi4j sdk 2.0 beta. I have found the
> qi4j-core build.gradle contains
> "testCompile(project(':org.qi4j.core:org.qi4j.core.testsupport'))",while
> testsupport project's build.gradle contains
> "compile(project(':org.qi4j.core:org.qi4j.core.api'))". That's it which
> recle depency error occus?
>
> 张峰昌
> 电话:18930623939
> 欲知诸法实相,当习般若波罗蜜
>
> -----邮件原件-----
> 发件人: [email protected]
> [mailto:[email protected]] 代表 Niclas Hedhman
> 发送时间: 2012年8月30日 11:59
> 收件人: [email protected]
> 主题: Re: [qi4j-dev] recle depency error in qi4j sdk
>
> What is "Spring STS" ??
>
> My guess is that perhaps Maven pom.xml contains the 'test'
> dependencies as well, since we use Gradle that as a more powerful dep
> management.
>
> (-->  means "dependsOn" below)
> So for instance;  qi4j-bootstrap[test]  -->  qi4j-runtime[compile]
> --> qi4j-bootstrap[compile]
>
> and many similar cycles. This allows for the tests to remain where they
> belong and not in some other project.
>
> If it is the pom.xml, then I am not sure what to do about it, other than
> some post-create script that strips those dependencies from the pom.xml...
>
>
> Thanks for reporting it.
>
> Cheers
> Niclas
>
> On Thu, Aug 30, 2012 at 9:31 AM, 张峰昌 <[email protected]> wrote:
>> Hello,
>>
>> I have download Qi4j-qi4j-sdk-2.0-beta-1-76-ga6159af .zip ,and import
>> the sdk projects into spring sts. The problem is most of the project
>> report error:A cycle was detected in the build path of project.
>>
>> Please check this problem and provide help advice!
>>
>>
>>
>>
>>
>>
>>
>> 张峰昌
>>
>> 电话:18930623939
>>
>> 欲知诸法实相,当习般若波罗蜜
>>
>>
>>
>> _______________________________________________
>> qi4j-dev mailing list
>> [email protected]
>> http://lists.ops4j.org/mailman/listinfo/qi4j-dev
>
>
>
> --
> Niclas Hedhman, Software Developer
> http://www.qi4j.org - New Energy for Java
>
> I live here; http://tinyurl.com/3xugrbk
> I work here; http://tinyurl.com/6a2pl4j
> I relax here; http://tinyurl.com/2cgsug
>
> _______________________________________________
> qi4j-dev mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/qi4j-dev
>
>
> _______________________________________________
> qi4j-dev mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/qi4j-dev



-- 
Niclas Hedhman, Software Developer
http://www.qi4j.org - New Energy for Java

I live here; http://tinyurl.com/3xugrbk
I work here; http://tinyurl.com/6a2pl4j
I relax here; http://tinyurl.com/2cgsug

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to