[ 
https://issues.apache.org/jira/browse/OFBIZ-11103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux updated OFBIZ-11103:
------------------------------------
    Description: 
By curiosity I ran the init task after removing the build.gradle file (else you 
get 
bq. The build file 'build.gradle' already exists. Skipping build initialization.

Got this:

{noformat}
C:\projectsASF\ofbiz>g init
C:\projectsASF\ofbiz>gradlew init
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\projectsASF\ofbiz\plugins\birt\build.gradle' line: 21
* What went wrong:
A problem occurred evaluating project ':plugins:birt'.
> Could not find method pluginLibsCompile() for arguments 
> [org.eclipse.birt.runtime:viewservlets:4.5.0, 
> build_ai296cj6wufieldmkhonpm0u3$_run_closure1$_closure2@23181d75] on object 
> of type org.gradle.api.internal.artifacts.dsl.dependencie
s.DefaultDependencyHandler.
{noformat}

I'm not sure when the init task is helpful, so just reporting here

Here is the related Gradle documentation: 
https://docs.gradle.org/current/userguide/build_init_plugin.html

  was:
By curiosity I ran the init task after removing the build.gradle file (else you 
get 
bq. The build file 'build.gradle' already exists. Skipping build initialization.

Got this:

{noformat}
C:\projectsASF\ofbiz>g init
C:\projectsASF\ofbiz>gradlew init
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\projectsASF\ofbiz\plugins\birt\build.gradle' line: 21
* What went wrong:
A problem occurred evaluating project ':plugins:birt'.
> Could not find method pluginLibsCompile() for arguments 
> [org.eclipse.birt.runtime:viewservlets:4.5.0, 
> build_ai296cj6wufieldmkhonpm0u3$_run_closure1$_closure2@23181d75] on object 
> of type org.gradle.api.internal.artifacts.dsl.dependencie
s.DefaultDependencyHandler.
{noformat}

I'm not sure when the init task is helpful, so just reporting here

Here is the related Gradle documentation: 
https://docs.gradle.org/current/userguide/init_scripts.html


> Gradle init task fails
> ----------------------
>
>                 Key: OFBIZ-11103
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11103
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Trunk
>            Reporter: Jacques Le Roux
>            Priority: Minor
>
> By curiosity I ran the init task after removing the build.gradle file (else 
> you get 
> bq. The build file 'build.gradle' already exists. Skipping build 
> initialization.
> Got this:
> {noformat}
> C:\projectsASF\ofbiz>g init
> C:\projectsASF\ofbiz>gradlew init
> FAILURE: Build failed with an exception.
> * Where:
> Build file 'C:\projectsASF\ofbiz\plugins\birt\build.gradle' line: 21
> * What went wrong:
> A problem occurred evaluating project ':plugins:birt'.
> > Could not find method pluginLibsCompile() for arguments 
> > [org.eclipse.birt.runtime:viewservlets:4.5.0, 
> > build_ai296cj6wufieldmkhonpm0u3$_run_closure1$_closure2@23181d75] on object 
> > of type org.gradle.api.internal.artifacts.dsl.dependencie
> s.DefaultDependencyHandler.
> {noformat}
> I'm not sure when the init task is helpful, so just reporting here
> Here is the related Gradle documentation: 
> https://docs.gradle.org/current/userguide/build_init_plugin.html



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to