Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed resource file not being set when making localized calls in Grad… #1843

Merged
merged 1 commit into from
Jun 7, 2016

Conversation

HSAR
Copy link
Contributor

@HSAR HSAR commented Jun 7, 2016

…le build.

@@ -11,6 +11,9 @@ import trm = require('vsts-task-lib/toolrunner');
import sqCommon = require('sonarqube-common/sonarqube-common');
import {SonarQubeEndpoint} from 'sonarqube-common/sonarqube-common';

// Set up localization resource file
tl.setResourcePath(path.join( __dirname, 'task.json'));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this necessary ? Isn't it enough to set it once in the GradleTask.ts ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Discovered in testing that in fact no, it's not.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to know!

@bgavrilMS
Copy link
Member

LGTM

@HSAR HSAR merged commit f5b958c into master Jun 7, 2016
HSAR added a commit that referenced this pull request Jun 7, 2016
HSAR added a commit that referenced this pull request Jun 7, 2016
…le build. (#1843)

Added no-warning assertions to some Maven and Gradle tests. (#1847)
(cherry picked from commit f5b958c)
(cherry picked from commit 597033c)

Bumped version numbers
HSAR added a commit that referenced this pull request Jun 7, 2016
…le (#1848)

* Fixed resource file not being set when making localized calls in Gradle build. (#1843)
Added no-warning assertions to some Maven and Gradle tests. (#1847)
(cherry picked from commit f5b958c)
(cherry picked from commit 597033c)

Bumped version numbers

* Roll back Gradle patch number.
(Avoids losing work done after m101 cutoff)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants