Hi, guys!
I try to build from 1.4 branch and I get this
/Users/sandor/projects/java/qi4j/qi4j-sdk/core/runtime/src/main/java/org/qi4j/runtime/Qi4jRuntimeImpl.java:146:
type parameters of <T>T cannot be determined; no unique maximal
instance exists for type variable T with upper bounds
T,java.lang.Object
return initializeConfigurationInstance( serviceComposite,
uow, serviceModel, identity );
^
/Users/sandor/projects/java/qi4j/qi4j-sdk/core/runtime/src/main/java/org/qi4j/runtime/Qi4jRuntimeImpl.java:150:
type parameters of <T>T cannot be determined; no unique maximal
instance exists for type variable T with upper bounds
T,java.lang.Object
return initializeConfigurationInstance( serviceComposite,
uow, serviceModel, identity );
^
Note:
/Users/sandor/projects/java/qi4j/qi4j-sdk/core/runtime/src/main/java/org/qi4j/runtime/bootstrap/ModuleAssemblyImpl.java
uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/sandor/projects/java/qi4j/qi4j-sdk/core/runtime/build.gradle'
* What went wrong:
Execution failed for task ':org.qi4j.core:org.qi4j.core.runtime:compileJava'.
Cause: Compile failed; see the compiler error output for details.
* Try:
Run with --info or --debug option to get more log output.
* Exception is:
org.gradle.api.tasks.LocationAwareTaskExecutionException: Build file
'/Users/sandor/projects/java/qi4j/qi4j-sdk/core/runtime/build.gradle'
Execution failed for task ':org.qi4j.core:org.qi4j.core.runtime:compileJava'.
at
org.gradle.api.internal.tasks.DefaultTaskExecuter.executeActions(DefaultTaskExecuter.java:66)
at
org.gradle.api.internal.tasks.DefaultTaskExecuter.execute(DefaultTaskExecuter.java:43)
at
org.gradle.api.internal.project.taskfactory.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:32)
at
org.gradle.api.internal.project.taskfactory.ExecutionShortCircuitTaskExecuter.execute(ExecutionShortCircuitTaskExecuter.java:50)
at
org.gradle.api.internal.tasks.SkipTaskExecuter.doExecute(SkipTaskExecuter.java:57)
at
org.gradle.api.internal.tasks.SkipTaskExecuter.execute(SkipTaskExecuter.java:35)
at
org.gradle.api.internal.tasks.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:32)
at org.gradle.api.internal.AbstractTask.execute(AbstractTask.java:231)
at
org.gradle.execution.DefaultTaskGraphExecuter.executeTask(DefaultTaskGraphExecuter.java:167)
at
org.gradle.execution.DefaultTaskGraphExecuter.doExecute(DefaultTaskGraphExecuter.java:160)
at
org.gradle.execution.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:78)
at
org.gradle.execution.TaskNameResolvingBuildExecuter.execute(TaskNameResolvingBuildExecuter.java:113)
at
org.gradle.execution.DelegatingBuildExecuter.execute(DelegatingBuildExecuter.java:54)
at
org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:153)
at
org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:107)
at
org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:75)
at org.gradle.launcher.RunBuildAction.execute(RunBuildAction.java:41)
at org.gradle.launcher.RunBuildAction.execute(RunBuildAction.java:27)
at
org.gradle.launcher.CommandLineActionFactory$WithLoggingAction.execute(CommandLineActionFactory.java:209)
at
org.gradle.launcher.CommandLineActionFactory$WithLoggingAction.execute(CommandLineActionFactory.java:193)
at org.gradle.launcher.Main.execute(Main.java:55)
at org.gradle.launcher.Main.main(Main.java:40)
at
org.gradle.launcher.ProcessBootstrap.runNoExit(ProcessBootstrap.java:46)
at org.gradle.launcher.ProcessBootstrap.run(ProcessBootstrap.java:28)
at org.gradle.launcher.GradleMain.main(GradleMain.java:24)
Caused by: : Compile failed; see the compiler error output for details.
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1150)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:912)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at
org.gradle.api.internal.project.ant.BasicAntBuilder.nodeCompleted(BasicAntBuilder.java:71)
at
org.gradle.api.internal.project.ant.BasicAntBuilder.doInvokeMethod(BasicAntBuilder.java:86)
at
org.gradle.api.internal.project.DefaultAntBuilder.super$3$invokeMethod(DefaultAntBuilder.groovy)
at
org.gradle.api.internal.project.DefaultAntBuilder.invokeMethod(DefaultAntBuilder.groovy:37)
at
org.gradle.api.internal.tasks.compile.AntJavaCompiler.execute(AntJavaCompiler.groovy:64)
at
org.gradle.api.internal.tasks.compile.IncrementalJavaSourceCompiler.execute(IncrementalJavaSourceCompiler.java:73)
at org.gradle.api.tasks.compile.Compile.compile(Compile.java:55)
at
org.gradle.api.internal.BeanDynamicObject.invokeMethod(BeanDynamicObject.java:158)
at
org.gradle.api.internal.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:93)
at org.gradle.api.tasks.compile.Compile_Decorated.invokeMethod(Unknown
Source)
at org.gradle.util.ReflectionUtil.invoke(ReflectionUtil.groovy:23)
at
org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$2.execute(AnnotationProcessingTaskFactory.java:131)
at
org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$2.execute(AnnotationProcessingTaskFactory.java:130)
at
org.gradle.api.internal.tasks.DefaultTaskExecuter.executeActions(DefaultTaskExecuter.java:58)
... 24 more
BUILD FAILED
Total time: 44.863 secs
(13:40:45)
~/projects/java/qi4j/qi4j-sdk/core/runtime(remotes/origin/release_1.4)
>
Is there something I am doing wrong or not doing right? Any clues?
On the related note, how do you guys import qi's sources into the IDE
(IDEA in my case)?
Cheers,
Alex.
2011/8/5 Falko Bräutigam <[email protected]>:
>
>
> Rickard Öberg schrieb:
>>
>> Hi,
>>
>> In looking at potential simplifications of the UoW, I'm wondering whether
>> it would be ok to limit the number of involved EntityStores to 1?
>>
>> In DDD there is already the suggestion to limit nr of changed aggregates
>> in a request to 1. I violate that sometimes, but in any case there will
>> NEVER be entities from several EntityStores involved in the same UoW.
>>
>> So, does anyone have a case with several EntityStores being involved in
>> one UoW? If no, can we enforce that only one can be involved.
>>
>> The reason is that the current commit handling is a bit complicated due to
>> having to allow several EntityStores to be used. Not a single EntityStore
>> supports this properly though, AFAIK. I would therefore prefer to make it a
>> "1 phase commit", which would probably also make it easier to support the
>> EventStore commit.
>
> Would be bad for me I think. I have non-Qi4j stores in my app and I need to
> synchronize commits over all data stores. I was rather about to ask if Qi4J
> can expose the 2 phase commit in two separate calls so that UoWs can be
> controlled be a transaction manager. With 1 phase commit this wouldn't be
> possible at all.
>
> -Falko
> --
> Falko Bräutigam
> http://polymap.org
>
> _______________________________________________
> 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