Custom Module Question

LabKey Support Forum (Inactive)
Custom Module Question micahs  2015-01-12 15:13
Status: Closed
 
I'm looking at building a custom module outside of the server code and had questions:

First - I noticed when a module is built with the server code the JSP files are pre-compiled and the html is compressed. I'm following the docs at: https://www.labkey.org/wiki/home/Documentation/page.view?name=moduleDirectoryStructures but I don't see mention of pre-compilation or compressing. Are these necessary steps?

Second - Once I have a java module in the structure as recommended I should just be able to drop it in the externalModules dir. Correct?

Thanks - Micah
 
 
jeckels responded:  2015-01-12 16:44
Hi Micah,

If your module includes JSPs or .java files, it will need to be compiled before it can be deployed. I added a note to the page you linked to help clarify.

https://www.labkey.org/wiki/home/Documentation/page.view?name=customizingBuild

The build will also automatically do things like compress HTML and JS files, though this step is not required for a successful deployment.

Thanks,
Josh