Hi Rickard,

I have checked out qi4j-sdk to reproduce the problems. I ran into the
following issues:

1.) I got a build failure at configuration time saying
that 'tests:performance:entitystore' does not exists. I commented out the
line in the settings.gradle to continue.

2.) Then I got a compile error (not sure if this relates to excluding the
project above):

:org.qi4j.samples:org.qi4j.sample.dddsample:compileJava
/Users/hans/checkouts/qi4j-sdk/samples/dddsample/src/main/java/org/qi4j/samples/dddsample/bootstrap/Qi4jDDDSampleApplicationBootstrap.java:23:
package org.qi4j.entitystore.memory does not exist
import org.qi4j.entitystore.memory.MemoryEntityStoreService;
                                  ^
/Users/hans/checkouts/qi4j-sdk/samples/dddsample/src/main/java/org/qi4j/samples/dddsample/bootstrap/Qi4jDDDSampleApplicationBootstrap.java:102:
cannot find symbol
symbol  : class MemoryEntityStoreService
location: class
org.qi4j.samples.dddsample.bootstrap.Qi4jDDDSampleApplicationBootstrap
        module.services( MemoryEntityStoreService.class,
UuidIdentityGeneratorService.class )
                         ^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors

Any ideas how to fix those?

We are keen to have a look into the Gradle issues once we have a running
build.

Cheers

Hans

--
Hans Dockter
Founder, Gradle
http://www.gradle.org, http://twitter.com/gradleware
CEO, Gradleware - Gradle Training, Support, Consulting
http://www.gradleware.com


On Mon, Mar 28, 2011 at 7:00 AM, Rickard Öberg <[email protected]>wrote:

> Hi,
>
> We at Qi4j recently switched over to use Gradle for our builds. Overall it
> is working quite well, but I'm having a weird problem that I don't know how
> to fix.
>
> If I do for example "gradlew idea" to generate IDEA modules/projects I can
> see that the process is quite slow. I connected to the process using
> VisualVM, and could see the CPU usage being in the range of 0.5%-8%. So, my
> performance issues is not so much that it's slow, it's that the CPU doesn't
> seem to be used at all. This seems to be happening with most targets by the
> way.
>
> Has anyone seen this? How to fix? Any settings I missed? I wouldn't mind
> the CPU usage being closer to 100%, if possible.
>
> thanks, Rickard
>

I have just tried to build qi4j-sdk. I followed the checkout instructions
including the submodules. But I get an error during build initialization,
saying that /qi4j-sdk/tests/performance/entitystore does not exists.

>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>   http://xircles.codehaus.org/manage_email
>
>
>

Reply via email to