marklogic-community / marklogic-samplestack

A sample implementation of the MarkLogic Reference Architecture
Apache License 2.0
82 stars 56 forks source link

warning messages with gradlew appserver #620

Open gghai opened 9 years ago

gghai commented 9 years ago

ML 8.0.1.1 latest develop code . Warning message are marked inside +++++++++++++ symbols

ofclan16-18-253:java-spring demouser$ ./gradlew appserver :buildSrc:clean UP-TO-DATE :buildSrc:compileJava UP-TO-DATE :buildSrc:compileGroovy :buildSrc:processResources UP-TO-DATE :buildSrc:classes :buildSrc:jar :buildSrc:assemble :buildSrc:compileTestJava UP-TO-DATE :buildSrc:compileTestGroovy UP-TO-DATE :buildSrc:processTestResources UP-TO-DATE :buildSrc:testClasses UP-TO-DATE :buildSrc:test UP-TO-DATE :buildSrc:check UP-TO-DATE :buildSrc:build :compileJava ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ warning: [options] bootstrap class path not set in conjunction with -source 1.6 /Users/demouser/.gradle/caches/modules-2/files-2.1/org.springframework/spring-context/4.1.4.RELEASE/5c66d0962e89ee577627a526b6b299a5337072be/spring-context-4.1.4.RELEASE.jar(org/springframework/context/annotation/PropertySource.class): warning: Cannot find annotation method 'value()' in type 'Repeatable': class file for java.lang.annotation.Repeatable not found 2 warnings ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ :compileGroovy UP-TO-DATE :processResources :classes :jar :findMainClass :startScripts :distTar :distZip :bootRepackage :dbConfigureClean :dbInit Server already secured. Initialization skipped. Server already secured. Initialization skipped Creating users and roles... Success: 201 :dbConfigure Putting database configuration database-properties.json Success: 204 Looks like /Users/demouser/marklogic-samplestack/database/LICENSE is not a MarkLogic configuration file... skipping Looks like /Users/demouser/marklogic-samplestack/database/README.md is not a MarkLogic configuration file... skipping Success: 204 Putting search options contributors.json Success: 201 Putting search options questions.json Success: 201 Putting search options single-question.json Success: 201 Putting search options tags.json Success: 201 Putting service extension relatedTags.sjs Success: 204 Putting transform search-response.sjs Success: 204 Putting transform single-question.sjs Success: 204 :props :compileTestJava +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ warning: [options] bootstrap class path not set in conjunction with -source 1.6 /Users/demouser/.gradle/caches/modules-2/files-2.1/org.springframework/spring-context/4.1.4.RELEASE/5c66d0962e89ee577627a526b6b299a5337072be/spring-context-4.1.4.RELEASE.jar(org/springframework/context/annotation/PropertySource.class): warning: Cannot find annotation method 'value()' in type 'Repeatable': class file for java.lang.annotation.Repeatable not found +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 warnings :compileTestGroovy UP-TO-DATE :processTestResources :testClasses :test 19:28:35.746 [Thread-5] INFO o.s.c.s.GenericApplicationContext - Closing org.springframework.context.support.GenericApplicationContext@1a1510b6: startup date [Mon Apr 06 19:24:07 GMT 2015]; root of context hierarchy 19:28:35.746 [Thread-6] INFO o.s.w.c.s.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@165b95ba: startup date [Mon Apr 06 19:25:20 GMT 2015]; root of context hierarchy 19:28:35.746 [Thread-55] INFO o.s.w.c.s.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@76b721af: startup date [Mon Apr 06 19:28:26 GMT 2015]; root of context hierarchy 19:28:35.747 [Thread-56] INFO o.s.w.c.s.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@520e0329: startup date [Mon Apr 06 19:28:32 GMT 2015]; root of context hierarchy 19:28:35.748 [Thread-4] INFO o.s.c.s.GenericApplicationContext - Closing org.springframework.context.support.GenericApplicationContext@f8d70a6: startup date [Mon Apr 06 19:22:32 GMT 2015]; root of context hierarchy 19:28:35.830 [Thread-4] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/20864442.json 19:28:35.850 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/20864442.json 19:28:35.851 [Thread-56] INFO o.s.j.e.a.AnnotationMBeanExporter - Unregistering JMX-exposed beans on shutdown 19:28:35.919 [Thread-4] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/20864445.json 19:28:35.921 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/20864445.json 19:28:35.953 [Thread-4] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/20864449.json 19:28:35.958 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/20864449.json 19:28:35.987 [Thread-4] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/01600486-60ea-4557-bcfc-9c10b06fb8cd.json 19:28:35.990 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/01600486-60ea-4557-bcfc-9c10b06fb8cd.json 19:28:36.000 [Thread-4] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/778d0b9c-419f-496a-a300-44815d79708e.json 19:28:36.004 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/778d0b9c-419f-496a-a300-44815d79708e.json 19:28:36.009 [Thread-4] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/8450f8a4-2782-4c8a-9fd9-b83bcacc5018.json 19:28:36.015 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/8450f8a4-2782-4c8a-9fd9-b83bcacc5018.json 19:28:36.018 [Thread-4] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/e3d54960-40f7-4d86-b503-31f14f3dfa12.json 19:28:36.024 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/e3d54960-40f7-4d86-b503-31f14f3dfa12.json 19:28:36.027 [Thread-4] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/fd044632-55eb-4c91-9300-7578cee12eb2.json 19:28:36.033 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/fd044632-55eb-4c91-9300-7578cee12eb2.json 19:28:36.035 [Thread-4] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/3410347b-abf0-4e1a-8aa8-f153207322eb.json 19:28:36.043 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/3410347b-abf0-4e1a-8aa8-f153207322eb.json 19:28:36.044 [Thread-4] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/5dce8909-0972-4289-93cd-f2e8790a17fb.json 19:28:36.053 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/5dce8909-0972-4289-93cd-f2e8790a17fb.json 19:28:36.058 [Thread-4] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/6c90b1cf-2cd8-4a8d-87ae-0c6d5182d300.json 19:28:36.065 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting /questions/6c90b1cf-2cd8-4a8d-87ae-0c6d5182d300.json 19:28:36.069 [Thread-4] INFO c.m.client.impl.DocumentManagerImpl - Deleting /triples/testRdf.json 19:28:36.102 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting /triples/testRdf.json 19:28:36.428 [Thread-4] INFO c.m.client.impl.DocumentManagerImpl - Deleting com.marklogic.samplestack.domain.Contributor/cf99542d-f024-4478-a6dc-7e723a51b041.json 19:28:36.436 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting com.marklogic.samplestack.domain.Contributor/cf99542d-f024-4478-a6dc-7e723a51b041.json 19:28:36.452 [Thread-4] INFO c.m.client.impl.DocumentManagerImpl - Deleting com.marklogic.samplestack.domain.Contributor/9611450a-0663-45a5-8a08-f1c71320475f.json 19:28:36.453 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting com.marklogic.samplestack.domain.Contributor/9611450a-0663-45a5-8a08-f1c71320475f.json 19:28:36.462 [Thread-6] INFO c.m.client.impl.DocumentManagerImpl - Deleting com.marklogic.samplestack.domain.Contributor/779b383c-dbf3-4008-b9d8-64f0491f1d4a.json 19:28:36.474 [Thread-4] INFO c.m.client.impl.DocumentManagerImpl - Deleting com.marklogic.samplestack.domain.Contributor/779b383c-dbf3-4008-b9d8-64f0491f1d4a.json 19:28:36.487 [Thread-6] INFO o.s.s.ldap.server.ApacheDSContainer - Shutting down directory server ... 19:28:38.290 [Thread-6] INFO o.s.s.ldap.server.ApacheDSContainer - Deleting working directory /var/folders/t7/3dh7n5dx4gs6pqf3r1qqc99w0000gp/T/apacheds-spring-security-1428348426561878000 :assemble :seedDataFetch Fetching data from http://developer.marklogic.com/media/gh/seed-data1.8.2.tgz

grechaw commented 9 years ago

I think if we bump the expected source version to 1.7 this will go away. I'll see if that's the case.

grechaw commented 9 years ago

Bumping the source version changes nothing. I believe I've read that this warning will not go away unless using 1.8. In any event, it's a legit compile warning from deep in the project, and there's nothing to do but note it. I'll mark this as external to track when we progress to a point when it disappears.

grechaw commented 9 years ago

Cleared milestone because this warning is not really in our control, and is actually something a java developer would not care to suppress.