LabKey development in Eclipse

LabKey Support Forum (Inactive)
LabKey development in Eclipse Andy Straw  2015-03-10 13:41
Status: Closed
 
I use Eclipse, and have created a set of .project and .classpath files for LabKey 14.3 source - at least for the server/api, server/internal, remoteapi, server/modules/experiment, and server/modules/study. I've attached those as a zip file. I've also attached the PDF version of two wiki pages I wrote that explain 1.) how to use the .project and .classpath files, and 2.) details of how those project and classpath files were created in the first place, in case you care.

I can't guarantee that these will work for you, but you can try them, and perhaps adjust them if they don't work quite right.

I ran into a couple of issues with the LabKey source in these Eclipse projects: 1.) there are two different LogPrintWriter.java files, one in server/api and one in server/internal and 2.) Eclipse gives a compile error for one return value that javac does NOT consider an error. I just ignore these - I don't use Eclipse to build the LabKey source, just to write code that uses it, like external Java apps that use remoteapi project and Java-based modules that use the server/* projects.

I'm happy to answer questions about these.

Andy Straw
University of Rochester