Skip to content
This repository has been archived by the owner on Jul 9, 2022. It is now read-only.

gradle.build command "antTaskName.logging.level = LogLevel.INFO" has no effect inside eclipfse gradle integration but works on the command line running "gradle antTaskName" #58

Closed
marcopenhacking opened this issue Nov 6, 2014 · 1 comment

Comments

@marcopenhacking
Copy link

Gradle IDE version: 3.6.2
eclipse.buildId=4.4.1.M20140925-0400

I did import my ant buold file with ant.importBuild 'build/build.xml'. Normal output of the ant taskt (stdout or special ant logging level output) like shown when running in ant is now suppressed when executing this imported ant task using the command line:

gradle antSetupStagingArea

:antSetupStagingArea

BUILD SUCCESSFUL

If antSetupStagingArea.logging.level = LogLevel.INFO is added to build.gradle the output on the command line is the same as in ant:

gradle antSetupStagingArea

:antSetupStagingArea
[ant:delete] Deleting directory ..
[ant:delete] Deleting directory ..
[ant:mkdir] Created dir: .. 
[ant:copy] Copying 2 files to ..
...

BUILD SUCCESSFUL

When running the same gradle task inside Eclipse Gradle IDE the command antSetupStagingArea.logging.level = LogLevel.INFO does not show effect and the output is just like without that command - no normal ant logging information is shown:

[sts] -----------------------------------------------------
[sts] Starting Gradle build for the following tasks: 
[sts]      antSetupStagingArea
[sts] -----------------------------------------------------
:antSetupStagingArea

BUILD SUCCESSFUL

Total time: 7.098 secs
[sts] -----------------------------------------------------
[sts] Build finished succesfully!
[sts] Time taken: 0 min, 7 sec
[sts] -----------------------------------------------------

Is it a bug?
How to show full logging information?

Eventually the Gradle Eclipse Integration should assist the user in setting up the required configuration.

@kdvolder
Copy link
Contributor

kdvolder commented Nov 7, 2014

I think this is a known problem in the Gradle tooling API implementation: https://issues.gradle.org/browse/GRADLE-2828

Closing as duplicate.

@kdvolder kdvolder closed this as completed Nov 7, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants