[opencms-dev] pencms-gradle -plugin - Netbeans

Laurent Druart druart at ugr.be
Sat Nov 13 20:24:29 CET 2021


Hello Daniel,

First, thanks for your answer.

I changed the gradle wrapper to v 6.9.1 and added

opencms_version=12.0
java_target_version=11
java_source_version=11

to gradle .properties

but error remains the same:

Build file 
'/Users/laurentdruart/projets/opencms/testOpenCMS/build.gradle' line: 27

* What went wrong:
A problem occurred evaluating root project 'testOpenCMS'.
 > Failed to apply plugin 'org.opencms.modules'.
    > Could not get unknown property '*opencms_version*' for root 
project 'testOpenCMS' of type org.gradle.api.Project.

Thanks for your help

Kind regards,

Laurent



Le 13/11/21 à 15:35, Daniel Seidel a écrit :
>
> Hi Laurent,
>
> the plugin should work with gradle only - independent of the IDE you 
> you use. You should configure the following things:
>
> build.gradle: similar as you have it. You probably don't need to 
> overwrite the "ocDependencies". If you have no extra libs in your 
> repository (besides the one that will be build from code in modules), 
> you don't need the "inModuleDeps" option.
>
> gradle.properties: Here something seemed wrong in your first try. It 
> should be in the format (maybe adopted versions and names):
>
> opencms_version=12.0
> java_target_version=11
> java_source_version=11
> build_version=master
> project_name=my-project-name
> project_nice_name=My Project Name
> modules_list=my.first.module,\
> my.second.module
>
>
> Optionally, if you have more dependencies than opencms, a 
> dependencies.gradle file is needed in the format:
>
> dependencies {
>
>  moduleDeps  group: '...', name: '...', version: '...', transitive: false
>
>  compile: ...
>
>  testCompile: ...
>
> }
>
>
> For compilation it's best to use a Gradle wrapper with some Gradle 6. 
> You may run
>
> gradle wrapper --gradle-version 6.9.1
>
> first and then you can build all you modules via:
>
> ./gradlew bindist
>
> or install artifacts locally (if you ever need it) via
>
> ./gradlew install
>
> Best, Daniel.
>
>
> Am 09.11.21 um 21:05 schrieb Laurent Druart:
>>
>> Hello,
>>
>> I tried to develop a module using opencms-gradle-plugin on Intellij 
>> Idea without success and without response on the mailing list. (see 
>> my two previous posts)
>>
>> In between, I tried same dev on Netbeans (my previous Ide) but on 
>> last Netbeans release (12.5).
>>
>> The process go a litle bit further...
>>
>> The error is now:
>>
>> > Configure project :
>> Initialized ocDependencies.
>> Using plugins default Java target compatibility (1.8). To overwrite 
>> use property 'java_target_version'.
>> Java source compatibility not explicitly specified. Using target 
>> compatiblity (1.8). To overwrite use property 'java_source_version'.
>> You are using default OpenCms dependencies with the following 
>> configuration:
>>
>>
>> OpenCms default dependencies are configured as follows
>> ======================================================
>> ocDefaultDependencies {
>>   compile {
>>     opencmsCore=true
>>     opencmsGwt=false
>>     opencmsModules=true
>>     opencmsSetup=false
>>     opencmsTest=false
>>     hsqldb=false
>>     junit=false
>>   }
>>   testCompile {
>>     opencmsCore=false
>>     opencmsGwt=false
>>     opencmsModules=false
>>     opencmsSetup=true
>>     opencmsTest=true
>>     hsqldb=true
>>     junit=true
>>   }
>>   inModuleDeps=false
>>   ignoreTestDeps=false
>> }
>>
>> Adding default compile dependencies:
>>  - compile org.opencms:opencms-core:12.0.0
>>  - compile org.opencms:opencms-modules:12.0.0
>> Adding default testCompile dependencies:
>>  - testCompile org.opencms:opencms-setup:12.0.0
>>  - testCompile org.opencms:opencms-test:12.0.0
>>  - testCompile org.hsqldb:hsqldb:2.3.2
>>  - testCompile junit:junit:4.12
>> No custom dependencies loaded. Add file 'dependencies.gradle' with to 
>> dependencies to add some.
>> ===============================================================================
>> Failed to configure OpenCms modules project:
>>
>> *Could not find method install() for arguments 
>> [org.opencms.OpenCmsModulesPlugin$_apply_closure20 at 61f0bf68] on root 
>> project 'gradleproject1' of type org.gradle.api.Project.
>> *
>> Use the opencmsPluginDescription task to view plugin description.
>> ===============================================================================
>>
>>
>> org.gradle.internal.metaobject.AbstractDynamicObject$CustomMessageMissingMethodException: 
>> Could not find method install() for arguments 
>> [org.opencms.OpenCmsModulesPlugin$_apply_closure20 at 61f0bf68] on root 
>> project 'gradleproject1' of type org.gradle.api.Project.
>>     at 
>> org.gradle.internal.metaobject.AbstractDynamicObject$CustomMissingMethodExecutionFailed.<init>(AbstractDynamicObject.java:190)
>>     at 
>> org.gradle.internal.metaobject.AbstractDynamicObject.methodMissingException(AbstractDynamicObject.java:184)
>>     at 
>> org.gradle.internal.metaobject.AbstractDynamicObject.invokeMethod(AbstractDynamicObject.java:167)
>>     at 
>> org.gradle.api.internal.project.DefaultProject_Decorated.invokeMethod(Unknown 
>> Source)
>>     at 
>> org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:44)
>>     at 
>> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
>>     at 
>> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
>>     at 
>> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:139)
>>     at 
>> org.opencms.OpenCmsModulesPlugin.apply(OpenCmsModulesPlugin.groovy:610)
>>     at 
>> org.opencms.OpenCmsModulesPlugin.apply(OpenCmsModulesPlugin.groovy)
>>     at 
>> org.gradle.api.internal.plugins.ImperativeOnlyPluginTarget.applyImperative(ImperativeOnlyPluginTarget.java:43)
>>     at 
>> org.gradle.api.internal.plugins.RuleBasedPluginTarget.applyImperative(RuleBasedPluginTarget.java:51)
>>     at 
>> org.gradle.api.internal.plugins.DefaultPluginManager.addPlugin(DefaultPluginManager.java:177)
>>     at 
>> org.gradle.api.internal.plugins.DefaultPluginManager.access$100(DefaultPluginManager.java:51)
>>     at 
>> org.gradle.api.internal.plugins.DefaultPluginManager$AddPluginBuildOperation.run(DefaultPluginManager.java:272)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:56)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$run$1(DefaultBuildOperationExecutor.java:71)
>>     at 
>> org.gradle.internal.operations.UnmanagedBuildOperationWrapper.runWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:45)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:71)
>>     at 
>> org.gradle.api.internal.plugins.DefaultPluginManager.lambda$doApply$0(DefaultPluginManager.java:157)
>>     at 
>> org.gradle.configuration.internal.DefaultUserCodeApplicationContext.apply(DefaultUserCodeApplicationContext.java:43)
>>     at 
>> org.gradle.api.internal.plugins.DefaultPluginManager.doApply(DefaultPluginManager.java:156)
>>     at 
>> org.gradle.api.internal.plugins.DefaultPluginManager.apply(DefaultPluginManager.java:136)
>>     at 
>> org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.applyType(DefaultObjectConfigurationAction.java:167)
>>     at 
>> org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.access$200(DefaultObjectConfigurationAction.java:43)
>>     at 
>> org.gradle.api.internal.plugins.DefaultObjectConfigurationAction$3.run(DefaultObjectConfigurationAction.java:98)
>>     at 
>> org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.execute(DefaultObjectConfigurationAction.java:190)
>>     at 
>> org.gradle.api.internal.project.AbstractPluginAware.apply(AbstractPluginAware.java:49)
>>     at 
>> org.gradle.api.internal.project.ProjectScript.apply(ProjectScript.java:37)
>>     at org.gradle.api.Script$apply$0.callCurrent(Unknown Source)
>>     at 
>> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51)
>>     at 
>> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:171)
>>     at 
>> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
>>     at 
>> build_61pxx1dxcnax2tvsqqhm4h3gf.run(/Users/laurentdruart/NetBeansProjects/gradleproject1/build.gradle:27)
>>     at 
>> org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:91)
>>     at 
>> org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.lambda$apply$0(DefaultScriptPluginFactory.java:133)
>>     at 
>> org.gradle.configuration.ProjectScriptTarget.addConfiguration(ProjectScriptTarget.java:77)
>>     at 
>> org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:136)
>>     at 
>> org.gradle.configuration.BuildOperationScriptPlugin$1.run(BuildOperationScriptPlugin.java:65)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:56)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$run$1(DefaultBuildOperationExecutor.java:71)
>>     at 
>> org.gradle.internal.operations.UnmanagedBuildOperationWrapper.runWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:45)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:71)
>>     at 
>> org.gradle.configuration.BuildOperationScriptPlugin.lambda$apply$0(BuildOperationScriptPlugin.java:62)
>>     at 
>> org.gradle.configuration.internal.DefaultUserCodeApplicationContext.apply(DefaultUserCodeApplicationContext.java:43)
>>     at 
>> org.gradle.configuration.BuildOperationScriptPlugin.apply(BuildOperationScriptPlugin.java:62)
>>     at 
>> org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.lambda$applyToMutableState$0(DefaultProjectStateRegistry.java:250)
>>     at 
>> org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.fromMutableState(DefaultProjectStateRegistry.java:277)
>>     at 
>> org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.applyToMutableState(DefaultProjectStateRegistry.java:249)
>>     at 
>> org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:42)
>>     at 
>> org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:26)
>>     at 
>> org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:35)
>>     at 
>> org.gradle.configuration.project.LifecycleProjectEvaluator$EvaluateProject.lambda$run$0(LifecycleProjectEvaluator.java:100)
>>     at 
>> org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.lambda$applyToMutableState$0(DefaultProjectStateRegistry.java:250)
>>     at 
>> org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.lambda$withProjectLock$3(DefaultProjectStateRegistry.java:310)
>>     at 
>> org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:213)
>>     at 
>> org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.withProjectLock(DefaultProjectStateRegistry.java:310)
>>     at 
>> org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.fromMutableState(DefaultProjectStateRegistry.java:291)
>>     at 
>> org.gradle.api.internal.project.DefaultProjectStateRegistry$ProjectStateImpl.applyToMutableState(DefaultProjectStateRegistry.java:249)
>>     at 
>> org.gradle.configuration.project.LifecycleProjectEvaluator$EvaluateProject.run(LifecycleProjectEvaluator.java:91)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:56)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$run$1(DefaultBuildOperationExecutor.java:71)
>>     at 
>> org.gradle.internal.operations.UnmanagedBuildOperationWrapper.runWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:45)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:71)
>>     at 
>> org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:63)
>>     at 
>> org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:723)
>>     at 
>> org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:150)
>>     at 
>> org.gradle.execution.TaskPathProjectEvaluator.configure(TaskPathProjectEvaluator.java:41)
>>     at 
>> org.gradle.configuration.DefaultProjectsPreparer.prepareProjects(DefaultProjectsPreparer.java:44)
>>     at 
>> org.gradle.configuration.BuildTreePreparingProjectsPreparer.prepareProjects(BuildTreePreparingProjectsPreparer.java:64)
>>     at 
>> org.gradle.configuration.BuildOperationFiringProjectsPreparer$ConfigureBuild.run(BuildOperationFiringProjectsPreparer.java:52)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:56)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$run$1(DefaultBuildOperationExecutor.java:71)
>>     at 
>> org.gradle.internal.operations.UnmanagedBuildOperationWrapper.runWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:45)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:71)
>>     at 
>> org.gradle.configuration.BuildOperationFiringProjectsPreparer.prepareProjects(BuildOperationFiringProjectsPreparer.java:40)
>>     at 
>> org.gradle.initialization.DefaultGradleLauncher.prepareProjects(DefaultGradleLauncher.java:226)
>>     at 
>> org.gradle.initialization.DefaultGradleLauncher.doClassicBuildStages(DefaultGradleLauncher.java:164)
>>     at 
>> org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:149)
>>     at 
>> org.gradle.initialization.DefaultGradleLauncher.executeTasks(DefaultGradleLauncher.java:125)
>>     at 
>> org.gradle.internal.invocation.GradleBuildController$1.create(GradleBuildController.java:71)
>>     at 
>> org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:213)
>>     at 
>> org.gradle.internal.invocation.GradleBuildController.doBuild(GradleBuildController.java:67)
>>     at 
>> org.gradle.internal.invocation.GradleBuildController.run(GradleBuildController.java:56)
>>     at 
>> org.gradle.tooling.internal.provider.runner.BuildModelActionRunner.run(BuildModelActionRunner.java:56)
>>     at 
>> org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
>>     at 
>> org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
>>     at 
>> org.gradle.launcher.exec.BuildOutcomeReportingBuildActionRunner.run(BuildOutcomeReportingBuildActionRunner.java:66)
>>     at 
>> org.gradle.tooling.internal.provider.ValidatingBuildActionRunner.run(ValidatingBuildActionRunner.java:32)
>>     at 
>> org.gradle.tooling.internal.provider.FileSystemWatchingBuildActionRunner.run(FileSystemWatchingBuildActionRunner.java:90)
>>     at 
>> org.gradle.launcher.exec.BuildCompletionNotifyingBuildActionRunner.run(BuildCompletionNotifyingBuildActionRunner.java:41)
>>     at 
>> org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$3.call(RunAsBuildOperationBuildActionRunner.java:49)
>>     at 
>> org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$3.call(RunAsBuildOperationBuildActionRunner.java:44)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:200)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:195)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:62)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$call$2(DefaultBuildOperationExecutor.java:76)
>>     at 
>> org.gradle.internal.operations.UnmanagedBuildOperationWrapper.callWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:54)
>>     at 
>> org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:76)
>>     at 
>> org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner.run(RunAsBuildOperationBuildActionRunner.java:44)
>>     at 
>> org.gradle.launcher.exec.InProcessBuildActionExecuter.lambda$execute$0(InProcessBuildActionExecuter.java:59)
>>     at 
>> org.gradle.composite.internal.DefaultRootBuildState.run(DefaultRootBuildState.java:86)
>>     at 
>> org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:58)
>>     at 
>> org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:30)
>>     at 
>> org.gradle.launcher.exec.BuildTreeScopeLifecycleBuildActionExecuter.lambda$execute$0(BuildTreeScopeLifecycleBuildActionExecuter.java:34)
>>     at 
>> org.gradle.internal.buildtree.BuildTreeState.run(BuildTreeState.java:53)
>>     at 
>> org.gradle.launcher.exec.BuildTreeScopeLifecycleBuildActionExecuter.execute(BuildTreeScopeLifecycleBuildActionExecuter.java:33)
>>     at 
>> org.gradle.launcher.exec.BuildTreeScopeLifecycleBuildActionExecuter.execute(BuildTreeScopeLifecycleBuildActionExecuter.java:28)
>>     at 
>> org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:104)
>>     at 
>> org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:55)
>>     at 
>> org.gradle.tooling.internal.provider.SubscribableBuildActionExecuter.execute(SubscribableBuildActionExecuter.java:64)
>>     at 
>> org.gradle.tooling.internal.provider.SubscribableBuildActionExecuter.execute(SubscribableBuildActionExecuter.java:37)
>>     at 
>> org.gradle.tooling.internal.provider.SessionScopeLifecycleBuildActionExecuter.lambda$execute$0(SessionScopeLifecycleBuildActionExecuter.java:54)
>>     at 
>> org.gradle.internal.session.BuildSessionState.run(BuildSessionState.java:67)
>>     at 
>> org.gradle.tooling.internal.provider.SessionScopeLifecycleBuildActionExecuter.execute(SessionScopeLifecycleBuildActionExecuter.java:50)
>>     at 
>> org.gradle.tooling.internal.provider.SessionScopeLifecycleBuildActionExecuter.execute(SessionScopeLifecycleBuildActionExecuter.java:36)
>>     at 
>> org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:36)
>>     at 
>> org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:25)
>>     at 
>> org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:59)
>>     at 
>> org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:31)
>>     at 
>> org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:58)
>>     at 
>> org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:42)
>>     at 
>> org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:47)
>>     at 
>> org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:31)
>>     at 
>> org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:65)
>>     at 
>> org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
>>     at 
>> org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
>>     at 
>> org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:39)
>>     at 
>> org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
>>     at 
>> org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:29)
>>     at 
>> org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
>>     at 
>> org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:35)
>>     at 
>> org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
>>     at 
>> org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.create(ForwardClientInput.java:78)
>>     at 
>> org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.create(ForwardClientInput.java:75)
>>     at org.gradle.util.Swapper.swap(Swapper.java:38)
>>     at 
>> org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:75)
>>     at 
>> org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
>>     at 
>> org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)
>>     at 
>> org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
>>     at 
>> org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:63)
>>     at 
>> org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
>>     at 
>> org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
>>     at 
>> org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:84)
>>     at 
>> org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:37)
>>     at 
>> org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
>>     at 
>> org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:52)
>>     at 
>> org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:297)
>>     at 
>> org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
>>     at 
>> org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
>>     at 
>> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
>>     at 
>> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>>     at 
>> org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
>>     at java.base/java.lang.Thread.run(Thread.java:834)
>>
>> > Task :init SKIPPED
>> The build file 'build.gradle' already exists. Skipping build 
>> initialization.
>>
>>
>> Can someone give me a short updated tutorial on module dev in java ?
>>
>> Thank you,
>>
>> Laurent
>>
>>
>>
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please visit
>> https://lists.opencms.org/mailman/listinfo/opencms-dev
>>
>>
>>
> -- 
> Kind Regards
>
> Daniel.
>
> -------------------
>
> Daniel Seidel
> Alkacon Software GmbH & Co. KG - The OpenCms Experts
> https://www.alkacon.com  -http://www.opencms.org
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> https://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
>
-- 

—

Kind regards/ Salutations distinguées/ Vriendelijke groeten


Ir Druart Laurent

Ulysse Group S.A.

Rue René Descartes 20

B-7000 Mons

Belgium

Phone: +32-65-401811

Fax: +32-65-401819

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20211113/864bf279/attachment.htm>


More information about the opencms-dev mailing list