@@ -5,41 +5,24 @@ See also the [CHANGELOG](CHANGELOG.md).
## Build
## Build
### Build the API
1. Create a `config.properties` file (copy it from `config.properties.example`). In this file it is specified:
***ucd_service_url**: the URL for the UCD REST web service.
cd TASMAN-core
* IA2 UCD service is at http://ia2-vo.oats.inaf.it/ucd/
mvn install
* if the UCD web service is unreachable the web app will work anyway, but without the UCD search functionality.
***config_file_path**: the location where the web app will store the generated XML configuration (the location needs to be writable by the application server in which TASMAN will run).
#### WARNING: test
Test suite for the TASMAN-core assumes some hardcoded values. If they
2.`chmod +x build.sh`
fail simply put an _@Ignore_ in front on the test class.
3.`./build.sh <command>`, commands are:
***core** build only TASMAN core
### Build the Web application
***test**: run tests; you need to create a `test.properties` file containing a configuration for connecting to a MySQL and a Postgres test database
***glassfish**: build GlassFish war package
cd TASMAN-webapp
***tomcat**: build Tomcat war package (using config.properties file)
***embedded**: build embedded package (to be run _locally!_)