What is the new way to build and include custom modules on a dev machine? | Leo Dashevskiy | 2013-08-22 09:43 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Status: Closed | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Good morning! I am running the following version of the Labkey server at the moment: [09:26:28]:~/Labkey/release/server svn info Path: . URL: https://hedgehog.fhcrc.org/tor/stedi/branches/modules13.2/server Repository Root: https://hedgehog.fhcrc.org/tor/stedi Repository UUID: a4ab64de-fbdc-0310-83ae-be1847ca59a0 Revision: 27966 Node Kind: directory Schedule: normal Last Changed Author: k.krouse Last Changed Rev: 27946 Last Changed Date: 2013-08-20 16:00:23 -0700 (Tue, 20 Aug 2013) Here is the listing of the server folder, where the main build.xml resides: [09:26:29]:~/Labkey/release/server ll total 484 drwxrwxr-x 6 ldashevs ldashevs 4096 2013-08-21 15:13 api drwxrwxr-x 6 ldashevs ldashevs 4096 2013-08-21 15:10 applets drwxrwxr-x 4 ldashevs ldashevs 4096 2012-04-02 11:46 bootstrap -rw-rw-r-- 1 ldashevs ldashevs 172 2012-04-02 11:46 build-info.properties.template -rw-rw-r-- 1 ldashevs ldashevs 151822 2013-08-21 15:13 build.xml -rw-rw-r-- 1 ldashevs ldashevs 544 2012-06-26 12:01 config.properties drwxrwxr-x 7 ldashevs ldashevs 4096 2013-01-17 10:40 configs drwxrwxr-x 42 ldashevs ldashevs 4096 2013-08-21 15:09 customModules drwxrwxr-x 8 ldashevs ldashevs 4096 2013-08-21 15:08 installer drwxrwxr-x 3 ldashevs ldashevs 4096 2012-05-02 16:07 intellijBuild drwxrwxr-x 7 ldashevs ldashevs 4096 2013-06-24 13:48 internal -rw-rw-r-- 1 ldashevs ldashevs 2949 2013-08-21 15:13 LabKey.iml -rw-rw-r-- 1 ldashevs ldashevs 106110 2013-08-21 15:33 LabKey.ipr -rw-rw-r-- 1 ldashevs ldashevs 122661 2013-08-22 09:11 LabKey.iws -rw-rw-r-- 1 ldashevs ldashevs 34512 2013-06-24 11:46 LabKey.iws.template drwxrwxr-x 34 ldashevs ldashevs 4096 2013-06-24 11:49 modules drwxrwxr-x 6 ldashevs ldashevs 4096 2012-06-25 15:17 moduleTemplate -rw-rw-r-- 1 ldashevs ldashevs 322 2012-04-02 11:46 module.template.properties -rw-rw-r-- 1 ldashevs ldashevs 1196 2013-06-24 11:46 module.template.xml -rw-rw-r-- 1 ldashevs ldashevs 1220 2012-06-25 15:28 simplemodule.template.xml -rw-rw-r-- 1 ldashevs ldashevs 2587 2012-04-02 11:46 standalone_build.xml drwxrwxr-x 10 ldashevs ldashevs 4096 2013-08-21 15:08 test I used to have build.xml within my module's folder (sitting in customModules folder), but that now is giving an error, so I was told to remove it. But now my modules are not being seen by the server, they are not being built. I am not seeing 'standard.modules' file, which would list what is being built - should I manually create it in the server folder? Also within my folder I have a file opencyto.modules: [09:31:55]:~/Labkey/release/server ll customModules/OpenCytoPreprocessing/ total 20 -rw-rw-r-- 1 ldashevs ldashevs 143 2013-08-08 14:54 module.properties -rw-rw-r-- 1 ldashevs ldashevs 1200 2013-03-18 14:19 module.template.xml -rw-rw-r-- 1 ldashevs ldashevs 32 2013-08-20 18:14 opencyto.modules -rw-rw-r-- 1 ldashevs ldashevs 141 2012-09-04 14:50 README.md drwxrwxr-x 8 ldashevs ldashevs 4096 2013-08-20 16:43 resources , which contains just one line: [09:32:32]:~/Labkey/release/server cat customModules/OpenCytoPreprocessing/opencyto.modules server/customModules/OpenCyto* From the server folder above I try and run "ant -DmodulesFile=/home/ldashevs/Labkey/release/server/customModules/OpenCytoPreprocessing/opencyto.modules", but that does not have any effect. (Does it matter if I have the server running or not at that time?) Are there any docs written up about this new approach? Please, help. Thanks. -Leo P.S. I personally don't like the new approach already because making this ant call above seems to do a lot of superfluous stuff that has already been done by the regular ant call - in the past I used to just navigate to my module's folder, call ant and in 2 seconds only the needed module would be staged and built properly... |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||