Schemas directory moved - action required

LabKey Support Forum
Schemas directory moved - action required Susan Hert  2018-10-22 07:27
Status: Closed
 

With r60757 in trunk, the schemas directory (<labkeyRoot>/schemas) has been moved into the api module (<labkeyRoot>/server/api/schemas). This consolidation makes for one less special part of the build, which should allow a bit of clean up in a later release of the gradle plugins.

To avoid having two jars for these XSDs if you are building from source, you will need to do some special cleaning. For those who prefer a ham-fisted approach, you can accomplish this with

   gradlew cleanBuild
   gradlew deployApp

and a little patience. (And if you're picking up this change along with the update of the Gradle Plugins version, which happened with r60731, you'll essentially be rebuilding everything anyway, so you might as well use this option.)

If you prefer a more delicate cleaning, you can do:

   rm -r build/modules/schemas/
   rm build/deploy/labkeyWebapp/WEB-INF/lib/schemas-18.3-SNAPSHOT-schemas.jar 
   gradlew deployApp

In either case, you'll want to follow this cleaning with a Gradle refresh in IntelliJ so it will pick up the new location of the XSDs in its build as well.

Thanks!

Susan