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

Should legacy still be in 5.0 build, test ? #335

Closed
JohnLCaron opened this issue Dec 15, 2015 · 3 comments
Closed

Should legacy still be in 5.0 build, test ? #335

JohnLCaron opened this issue Dec 15, 2015 · 3 comments

Comments

@JohnLCaron
Copy link
Collaborator

Or if leaving in, make it work without a fail message

from Travis:

thredds.crawlabledataset.s3.CachingThreddsS3ClientSpec > getObjectMetadata STANDARD_ERROR
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http:https://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Gradle Test Executor 6 finished executing tests.
Finished generating test XML results (0.0 secs) into: /home/travis/build/JohnLCaron/thredds/legacy/build/test-results
Generating HTML test report...
Finished generating test html results (0.002 secs) into: /home/travis/build/JohnLCaron/thredds/legacy/build/reports/tests
:legacy:test (Thread[main,5,main]) completed. Took 6.599 secs.
:netcdf4:compileTestJava (Thread[main,5,main]) started.
:netcdf4:compileTestJava
file or directory '/home/travis/build/JohnLCaron/thredds/netcdf4/src/test/java', not found
Skipping task ':netcdf4:compileTestJava' as it has no source files.
:netcdf4:compileTestJava UP-TO-DATE

@JohnLCaron
Copy link
Collaborator Author

waterml test has same issue, should add a log implementation to dependencies

ucar.nc2.ogc.waterml.NcCollectionTypeTest > testCreateCollection STANDARD_ERROR
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http:https://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Gradle Test Executor 11 finished executing tests.

@cwardgar
Copy link
Contributor

Fixed in #336. I already had logic that added a testRuntime dependency on "slf4j-jdk14", but only if the subproject had an existing non-transitive dependency on "slf4j-api". :legacy and :waterml were pulling in "slf4j-api" transitively.

Isn't legacy intended as a transition aid from v4 to 5? If so, we should still be building it and testing it. I wouldn't mind nuking it for the next major version though.

dopplershift added a commit that referenced this issue Dec 16, 2015
Add explicit logger dependencies to :legacy and :waterml. Fixes #335.
@JohnLCaron
Copy link
Collaborator Author

i suppose we still need to build and test it.

On Tue, Dec 15, 2015 at 10:47 PM, Christian W [email protected]
wrote:

Fixed in #336 #336. I already
had logic that added a testRuntime dependency on "slf4j-jdk14", but only if
the subproject had an existing non-transitive dependency on
"slf4j-api". :legacy and :waterml were pulling in "slf4j-api" transitively.

Isn't legacy intended as a transition aid from v4 to 5? If so, we should
still be building it and testing it. I wouldn't mind nuking it for the next
major version though.


Reply to this email directly or view it on GitHub
#335 (comment).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants