Build Error with Labkey Trunk - Server

LabKey Support Forum (Inactive)
Build Error with Labkey Trunk - Server Jon (LabKey DevOps)  2015-03-16 12:37
Status: Closed
 
Hi Lewis,

Have you had an opportunity to review our developer documentation on setting up a development machine?

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

The config.properties file is the file that your dev instance will use to create its build.xml from. That config.properties file is located under the LABKEY_ROOT/server/ directory and it relies on the properties files that are within the LABKEY_ROOT/server/configs/ subdirectory. If you go into configs, you'll see two .properties files - one called pg.properties, the other mssql.properties. The pg one is for PostgreSQL while mssql is for Microsoft SQL. Depending on which version of SQL you're using, you want to edit the appropriate file and enter in your information (e.g. Database Name, database username, database password, port number, host address, etc). So when you run ant in the server directory, you would use either "ant pick_pg" or "ant pick_mssql" to have it pick the specific properties file in the configs directory, which will then write to the config.properties file. This will then eventually create your build.xml file and labkey.xml file for your dev instance to start working.

Does this make sense?

Regards,

Jon