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

Warning: Old profile syntax detected #459

Open
McPringle opened this issue Nov 5, 2017 · 3 comments
Open

Warning: Old profile syntax detected #459

McPringle opened this issue Nov 5, 2017 · 3 comments

Comments

@McPringle
Copy link
Contributor

Running ./kobaltw test on the latest Kobalt source from master shows the following warning message twice:

***** WARNING Old profile syntax detected for "                val debug = false", please update to "val debug by profile()"

To be a good example, the build file of Kobalt itself should not produce warnings… jm2c… ;-)

@cbeust
Copy link
Owner

cbeust commented Nov 5, 2017

Doesn't this log line come from the test that makes sure the old syntax is still supported?

@McPringle
Copy link
Contributor Author

Thanks for the hint, @cbeust, I'll check it and if it comes from the test, maybe I'll modify the test a bit to catch the warning.

@McPringle
Copy link
Contributor Author

Just catching System.out or System.err does not work because SLF4J is used for logging. But it should be possible to catch and check the warning with SLF4J Test. I'll suggest this topic for the next Hackergarten.

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

No branches or pull requests

2 participants