Hi all, Zinc is one library usually used by other tools/IDE for compiling Scala code (Prince is using Scala, right) ?
A minimal sample of Prince setup could help to better understand where the problem is ... Hope this helps. Bye, Sandro Il 03/Set/2016 17:41, "Niclas Hedhman" <[email protected]> ha scritto: > type > ./gradlew assemble > > in zest root dir > > On Sat, Sep 3, 2016 at 11:31 PM, Prince Arora <[email protected]> > wrote: > > > I don't have the gradle wrapper gradlew. I am using simple gradle build > and > > i am using it in terminal not in IDE. > > > > On Sat, Sep 3, 2016 at 8:52 PM, Niclas Hedhman <[email protected]> > wrote: > > > > > 1. Are you compiling inside IDEA or from command line with ./gradlew ?? > > > > > > 2. I have never heard of "zincClasspath". Anyone has any idea of what > it > > > is? > > > > > > Tomorrow (it is soon midnight here) I'll do a test build on my Debian 8 > > > system, which is quite close to your Ubuntu and see what I get. > > > > > > On Sat, Sep 3, 2016 at 9:53 PM, Prince Arora <[email protected] > > > > > wrote: > > > > > > > Let me know what exactly i am missing here. > > > > > > > > On Sat, Sep 3, 2016 at 7:22 PM, Prince Arora < > [email protected] > > > > > > > wrote: > > > > > > > > > I tried a local build but getting an error for lang-scala. Please > > find > > > > the > > > > > stace trace bellow: > > > > > > > > > > > > > > > Error: > > > > > * What went wrong: > > > > > A problem was found with the configuration of task > > > > > ':org.apache.zest.libraries:org.apache.zest.library.lang- > > > > > scala:compileTestScala'. > > > > > > No value has been specified for property 'zincClasspath'. > > > > > > > > > > > > > > > > > > > > org.gradle.api.tasks.TaskValidationException: A problem was found > > with > > > > > the configuration of task ':org.apache.zest.libraries: > > > > > org.apache.zest.library.lang-scala:compileTestScala'. > > > > > at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter. > > > > execute( > > > > > ValidatingTaskExecuter.java:55) > > > > > at org.gradle.api.internal.tasks.execution. > > > > SkipEmptySourceFilesTaskExecut > > > > > er.execute(SkipEmptySourceFilesTaskExecuter.java:52) > > > > > at org.gradle.api.internal.tasks.execution. > > > > SkipTaskWithNoActionsExecuter. > > > > > execute(SkipTaskWithNoActionsExecuter.java:52) > > > > > at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter. > > > > execute( > > > > > SkipOnlyIfTaskExecuter.java:53) > > > > > at org.gradle.api.internal.tasks.execution. > > > > ExecuteAtMostOnceTaskExecuter. > > > > > execute(ExecuteAtMostOnceTaskExecuter.java:43) > > > > > at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$ > > > > > EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203) > > > > > at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$ > > > > > EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185) > > > > > at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$ > > > > > TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66) > > > > > at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$ > > > > > TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50) > > > > > at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process( > > > > > DefaultTaskPlanExecutor.java:25) > > > > > at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter. > execute( > > > > > DefaultTaskGraphExecuter.java:110) > > > > > at org.gradle.execution.SelectedTaskExecutionAction.execute( > > > > > SelectedTaskExecutionAction.java:37) > > > > > at org.gradle.execution.DefaultBuildExecuter.execute( > > > > > DefaultBuildExecuter.java:37) > > > > > at org.gradle.execution.DefaultBuildExecuter.access$ > > > > > 000(DefaultBuildExecuter.java:23) > > > > > at org.gradle.execution.DefaultBuildExecuter$1. > > > > > proceed(DefaultBuildExecuter.java:43) > > > > > at org.gradle.execution.DryRunBuildExecutionAction.execute( > > > > > DryRunBuildExecutionAction.java:32) > > > > > at org.gradle.execution.DefaultBuildExecuter.execute( > > > > > DefaultBuildExecuter.java:37) > > > > > at org.gradle.execution.DefaultBuildExecuter.execute( > > > > > DefaultBuildExecuter.java:30) > > > > > at org.gradle.initialization.DefaultGradleLauncher$4.run( > > > > > DefaultGradleLauncher.java:154) > > > > > at org.gradle.internal.Factories$1.create(Factories.java:22) > > > > > at org.gradle.internal.progress.DefaultBuildOperationExecutor.run( > > > > > DefaultBuildOperationExecutor.java:90) > > > > > at org.gradle.internal.progress.DefaultBuildOperationExecutor.run( > > > > > DefaultBuildOperationExecutor.java:52) > > > > > at org.gradle.initialization.DefaultGradleLauncher.doBuildStages( > > > > > DefaultGradleLauncher.java:151) > > > > > at org.gradle.initialization.DefaultGradleLauncher.access$ > > > > > 200(DefaultGradleLauncher.java:32) > > > > > at org.gradle.initialization.DefaultGradleLauncher$1. > > > > > create(DefaultGradleLauncher.java:99) > > > > > at org.gradle.initialization.DefaultGradleLauncher$1. > > > > > create(DefaultGradleLauncher.java:93) > > > > > at org.gradle.internal.progress.DefaultBuildOperationExecutor.run( > > > > > DefaultBuildOperationExecutor.java:90) > > > > > at org.gradle.internal.progress.DefaultBuildOperationExecutor.run( > > > > > DefaultBuildOperationExecutor.java:62) > > > > > at org.gradle.initialization.DefaultGradleLauncher.doBuild( > > > > > DefaultGradleLauncher.java:93) > > > > > at org.gradle.initialization.DefaultGradleLauncher.run( > > > > > DefaultGradleLauncher.java:82) > > > > > at org.gradle.launcher.exec.InProcessBuildActionExecuter$ > > > > > DefaultBuildController.run(InProcessBuildActionExecuter.java:94) > > > > > at org.gradle.tooling.internal.provider. > > ExecuteBuildActionRunner.run( > > > > > ExecuteBuildActionRunner.java:28) > > > > > at org.gradle.launcher.exec.ChainingBuildActionRunner.run( > > > > > ChainingBuildActionRunner.java:35) > > > > > at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute( > > > > > InProcessBuildActionExecuter.java:43) > > > > > at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute( > > > > > InProcessBuildActionExecuter.java:28) > > > > > at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute( > > > > > ContinuousBuildActionExecuter.java:78) > > > > > at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute( > > > > > ContinuousBuildActionExecuter.java:48) > > > > > at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActi > > > > > onExecuter.execute(DaemonUsageSuggestingBuildActi > onExecuter.java:51) > > > > > at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActi > > > > > onExecuter.execute(DaemonUsageSuggestingBuildActi > onExecuter.java:28) > > > > > at org.gradle.launcher.cli.RunBuildAction.run( > > RunBuildAction.java:43) > > > > > at org.gradle.internal.Actions$RunnableActionAdapter.execute( > > > > > Actions.java:170) > > > > > at org.gradle.launcher.cli.CommandLineActionFactory$ > > > > > ParseAndBuildAction.execute(CommandLineActionFactory.java:237) > > > > > at org.gradle.launcher.cli.CommandLineActionFactory$ > > > > > ParseAndBuildAction.execute(CommandLineActionFactory.java:210) > > > > > at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute( > > > > > JavaRuntimeValidationAction.java:35) > > > > > at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute( > > > > > JavaRuntimeValidationAction.java:24) > > > > > at org.gradle.launcher.cli.CommandLineActionFactory$ > > > WithLogging.execute( > > > > > CommandLineActionFactory.java:206) > > > > > at org.gradle.launcher.cli.CommandLineActionFactory$ > > > WithLogging.execute( > > > > > CommandLineActionFactory.java:169) > > > > > at org.gradle.launcher.cli.ExceptionReportingAction.execute( > > > > > ExceptionReportingAction.java:33) > > > > > at org.gradle.launcher.cli.ExceptionReportingAction.execute( > > > > > ExceptionReportingAction.java:22) > > > > > at org.gradle.launcher.Main.doAction(Main.java:33) > > > > > at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint. > java:45) > > > > > at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit( > > > > > ProcessBootstrap.java:54) > > > > > at org.gradle.launcher.bootstrap.ProcessBootstrap.run( > > > > > ProcessBootstrap.java:35) > > > > > at org.gradle.launcher.GradleMain.main(GradleMain.java:23) > > > > > Caused by: org.gradle.api.InvalidUserDataException: No value has > > been > > > > > specified for property 'zincClasspath'. > > > > > at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter. > > > > execute( > > > > > ValidatingTaskExecuter.java:47) > > > > > ... 53 more > > > > > > > > > > > > > > > > > > > > My Operating system is Ubuntu Linux and using Intellij IDE. > > > > > I tried to search for this issue but not getting anything related > to > > > > this. > > > > > > > > > > Thanks > > > > > > > > > > On Sat, Sep 3, 2016 at 6:15 PM, Niclas Hedhman <[email protected] > > > > > > wrote: > > > > > > > > > >> I made a local full build, and it worked. > > > > >> > > > > >> On Sat, Sep 3, 2016 at 8:28 PM, Niclas Hedhman < > [email protected]> > > > > >> wrote: > > > > >> > > > > >> > For the containsInAnyOrder, that is in hamcrest-library, and I > > > think I > > > > >> > added that correctly. I will check again, but is it that you > have > > > not > > > > >> added > > > > >> > it to your IDE ? > > > > >> > > > > > >> > On Sat, Sep 3, 2016 at 6:04 PM, Prince Arora < > > > > [email protected]> > > > > >> > wrote: > > > > >> > > > > > >> >> Hi Niclas, > > > > >> >> > > > > >> >> I am getting an error in AssociationToValueTest.java that > > > > >> >> containsInAnyOrder() method is not found, this method is used > but > > > not > > > > >> >> declared in that test class. > > > > >> >> I have added the method to toAssociation() and will write test > > case > > > > for > > > > >> >> this as well. And also let me know do i have write permission > to > > > the > > > > >> >> repository? or i have to request for that before checking in. > > > > >> >> > > > > >> >> Thanks > > > > >> >> > > > > >> >> On Sat, Sep 3, 2016 at 2:24 PM, Prince Arora < > > > > [email protected] > > > > >> > > > > > >> >> wrote: > > > > >> >> > > > > >> >> > Thanks Niclas, I will take care of that part. > > > > >> >> > > > > > >> >> > On Sat, Sep 3, 2016 at 6:12 AM, Niclas Hedhman < > > > [email protected] > > > > > > > > > >> >> wrote: > > > > >> >> > > > > > >> >> >> Thanks for volunteering, but I implemented this faster than > I > > > > could > > > > >> >> create > > > > >> >> >> the Jira for it... and I have not committed it because of > the > > > > >> missing > > > > >> >> >> Jira. > > > > >> >> >> I'll do the Jira now, and commit the code. I will also add > > > another > > > > >> Jira > > > > >> >> >> for > > > > >> >> >> the opposite direction, which I will leave for you to > > implement. > > > > >> >> >> > > > > >> >> >> Niclas > > > > >> >> >> > > > > >> >> >> On Fri, Sep 2, 2016 at 11:26 PM, Prince Arora < > > > > >> >> [email protected]> > > > > >> >> >> wrote: > > > > >> >> >> > > > > >> >> >> > Hi Niclas, > > > > >> >> >> > > > > > >> >> >> > I will do it. Please let me know below it the requirement > > what > > > > we > > > > >> >> need > > > > >> >> >> > right? > > > > >> >> >> > We need a function in UnitOfWork to perform this to get > > Named > > > or > > > > >> Many > > > > >> >> >> > Association and convert it to List/Map/Set/ValueCommposit > > > > >> >> >> > > > > > >> >> >> > > > > > >> >> >> > On Fri, Sep 2, 2016 at 6:58 PM, Niclas Hedhman < > > > > >> [email protected]> > > > > >> >> >> wrote: > > > > >> >> >> > > > > > >> >> >> > > Hi, > > > > >> >> >> > > I am working on a migration experiment, and a common > > pattern > > > > in > > > > >> >> that > > > > >> >> >> > > migration is to take a ManyAssocation or a > > NamedAssociation > > > > and > > > > >> >> >> convert > > > > >> >> >> > > that to a List/Set/Map or ValueComposites. > > > > >> >> >> > > > > > > >> >> >> > > I would like to add that feature into UnitOfWork. > > > > >> >> >> > > > > > > >> >> >> > > I suspect I want to do the other way around soon enough > as > > > > well. > > > > >> >> >> > > > > > > >> >> >> > > WDYT? > > > > >> >> >> > > > > > > >> >> >> > > Cheers > > > > >> >> >> > > -- > > > > >> >> >> > > Niclas Hedhman, Software Developer > > > > >> >> >> > > http://zest.apache.org - New Energy for Java > > > > >> >> >> > > > > > > >> >> >> > > > > > >> >> >> > > > > >> >> >> > > > > >> >> >> > > > > >> >> >> -- > > > > >> >> >> Niclas Hedhman, Software Developer > > > > >> >> >> http://zest.apache.org - New Energy for Java > > > > >> >> >> > > > > >> >> > > > > > >> >> > > > > > >> >> > > > > >> > > > > > >> > > > > > >> > > > > > >> > -- > > > > >> > Niclas Hedhman, Software Developer > > > > >> > http://zest.apache.org - New Energy for Java > > > > >> > > > > > >> > > > > >> > > > > >> > > > > >> -- > > > > >> Niclas Hedhman, Software Developer > > > > >> http://zest.apache.org - New Energy for Java > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > Niclas Hedhman, Software Developer > > > http://zest.apache.org - New Energy for Java > > > > > > > > > -- > Niclas Hedhman, Software Developer > http://zest.apache.org - New Energy for Java >
