• FEATURES
  • PRICING
  • MARKETPLACE
  • CASE STUDIES
  • BLOG
  • How to configure build.properties

    I have been using this link to try and build and install openspecimen from the GIT repository on a windows 2012 server platform: https://openspecimen.atlassian.net/wiki/pages/viewpage.action?pageId=1115955

    My question is about the build.properties file and the appropriate values that need to be entered to complete the installation. This is on a Windows 2012 Server, so I’m not sure what to put for the app_home, app_data_dir, and plugin_dir. Tomcat is installed in my Program Files, and my plugins directory that I downloaded and built with gradle is on my C: root.

    Any help so that we can demo this software would be greatly appreciated.

    Thanks,
    Tim

    @timshannon22

    The documentation has the details for those fields. I have made some minor edits to make it clearer.

    It does not matter whether you are on Windows or Linux. Same instructions should work.

    Please check and let us know if you still have questions.
    ~Sri

    Thanks for the edits!

    However this is still unclear. On the Windows platform, Tomcat installs in C:\Program Files\Apache Software Foundation\Tomcat 7.0. Within that folder are the folders: bin, conf, lib, logs, temp, webapps, and work. It appears that Tomcat applications are loaded into the “webapps” folder…so would that be considered the APP_HOME…and then have gradle create an APP_DATA_DIR within that folder that is called “os-data”?

    When I attempt to deploy it in this manor, gradle creates a “server” folder in the Tomcat “webapps” folder. Inside that “server” folder, is another folder, “default”, and then another folder within that folder named “deploy” which contains the WAR file and an XML doc. This doesn’t seem correct. Any ideas?

    -Tim

    Hi Timothy,

    APP_HOME should be the path of tomcat directory. In your case, it should be C:\Program Files\Apache Software Foundation\Tomcat 7.0.

    Yes, I opened the gradle build script and looked through it and found where it is supposed to scan the APP_HOME folder looking for “/webapps” and if found, it installs there…unfortunately it doesn’t seem to actually do that. I have my APP_HOME path set exactly as you have described.