Gradle plugin for support of all Eclipse files for a project
Questions tagged [gradle-eclipse]
182 questions
1
vote
0 answers
GRADLE errors when migrated from 3.1 to 5.1
below is a snippet of our gradle build script
def binDir = file("bin")
def libDir = "WebContent/WEB-INF/lib"
def testReportDir = file('testReport')
def outputDir = file("output")
def envParam = "local"
repositories {
…

Hingle McJingleberry
- 541
- 4
- 26
1
vote
0 answers
How to download gradle dependencies from local jar
I have a local jar which I have included in my build.gradle. This jar refers to some dependent jars which are listed as part of jar's META-INF/maven/{package}/pom.xml
When I add this jar as part of my gradle compile dependencies it doesn't download…

doublevision
- 101
- 2
- 10
1
vote
1 answer
Gradle pass dynamic value as system property to method
I have a gradle project that has a calculated variable I need to pass into an application. When i attempt to do this is passes a null value, not the set value I want.
I have the below example file that demonstrates the issue to run just do gradle…

ken
- 11
- 5
1
vote
1 answer
How to debug issues with deploying to tomcat from eclipse?
I've inherited a Spring web app. It's a gradle web app project that I've imported into Eclipse. We're using Eclipse 4.7.3, Tomcat 7.0.47 and JDK 1.8.0.151.
The problem is that when I deploy the project to Tomcat from Eclipse, some of the…

Brad Dre
- 3,580
- 2
- 19
- 22
1
vote
0 answers
How to solve gradle build fail caused by org.apache.jasper.JasperException:xxx is quoted with ["] when upgrade tomact from v8.0.x to v 8.5.30
When I upgrade Tomcat from v8.0.x to v8.5.30, Tomcat can run successful.
I run gradle build. The step convertToJavaFromJSP will be fail caused by org.apache.jasper.JasperException:xxx is quoted with ["] .
The custom task which is…

Destiny
- 21
- 2
1
vote
2 answers
Build failed with an exception. java.lang.AssertionError while passing parameter to Gradle
I have a question about passing a parameter to the gradle build script.
First of all I have a selenium test class:
public class TestHH extends HHTest{
@Parameters({ "platform", "browser", "version"})
@BeforeTest(alwaysRun = true)
public…

Jaw. M.
- 139
- 2
- 15
1
vote
0 answers
What's wrong with my gradle dependency?
Project structure:
+ root
+ lib-test1
- build.gradle
- settings.gradle
+ lib-test2
- build.gradle
- settings.gradle
The settings.gradle file of my test2:
include ':lib-test1'
project(':lib-test1').projectDir = new…

codenamezero
- 2,724
- 29
- 64
1
vote
1 answer
Not possible to update to Buildship v. 2.1.2.v20170807-1324 from v. 2.0.2.v20170420-0909 in Eclipse Oxygen 4.7.0 build 20170620-1800
I've a new installation of Eclipse Oxygen v. 4.7.0 build 20170620-1800 with the Spring Tool plugin v. 3.9.0.201707061730-RELEASE.
I'm trying to update the Buildship from v. 2.0.2.v20170420-0909 to v. 2.1.2.v20170807-1324 (as noticed from the Eclipse…

Andrea Bevilacqua
- 1,197
- 3
- 15
- 27
1
vote
1 answer
gradle generated jars in subprojects are empty
I have the following project structure:
└───src
└───main
└───java
├───client
├───lib
└───server
I want to generate 2 jar archives with gradle. One jar archive for server and one jar archive for…

shibumi
- 77
- 2
- 8
1
vote
3 answers
Coudnot Install Gradle distribution - eclipse- Liferay
Error shows when I took a new Liferay module project
I am using eclipse with liferay plugin. when I take a new liferay module project it shows above error (Synchronize Gradle builds with workspace failed due to an error connecting to the Gradle…

HARIS JOSE
- 21
- 1
- 2
1
vote
0 answers
add jar dynamically in to running java project(Main project)
I need to add jar generated from running application into same application classpath.
Flow - i have generated set of class files(packaged as jar) from WSDL using axis 2 from java .Now i need to access the .class file in generated jar on same java…

Dhinakar
- 128
- 14
1
vote
1 answer
Gradle Eclipse Classpath Exception: FAILURE: Build failed with an exception
I am getting the error as attached in the image above whenever I am trying to run gradle eclipse.
I keep on getting this eclipseClassPath exception.
The Gradle Version, I am using is 3.1
Someone suggested me to use gradle version 2.14 because it…

Shashesh
- 131
- 1
- 4
1
vote
0 answers
How to use Java LZO Library?
I am trying to use LZO Compression Decompression Library in my Java Program but I could not find a single example how to use it for compression and decompression of data.How to write main function so that it would work as entry point for my code.
I…

Ankit Raman
- 79
- 1
- 14
1
vote
0 answers
When creating a new Gradle project in Eclipse Neon, why does the Gradle wrapper version default to an older version of Gradle?
I'm new to Gradle (but I'm familiar with Ant and Maven), and I tried creating a new Gradle Project with Eclipse Neon.
For the Gradle distribution option, I chose Gradle wrapper as Gradle documents seem to suggest this is preferred (and it is the…

Ben Hocking
- 7,790
- 5
- 37
- 52
1
vote
0 answers
Detect Eclipse Buildship
Eclipse buildship doesn't like this configuration line:
eclipse {
pathVariables 'M2_REPO': new File(repositories.MavenLocal.url)
}
which causes the gradle-eclipse plugin to produce better .classpath files (using the M2_REPO variable, rather than…

Erich Schubert
- 8,575
- 2
- 26
- 42