asterics / AsTeRICS

The Assistive Technology Rapid Integration & Construction Set
http://www.asterics.eu
Other
57 stars 27 forks source link

areCommunicator.js and JSmap.js not found when running APE-project with AsTeRICS snapshot #233

Closed deinhofer closed 6 years ago

deinhofer commented 6 years ago

How to reproduce

  1. Clone an AsTeRICS snapshot to the parallel folder: https://github.com/asterics/AsTeRICS.git
  2. Clone an APE project like https://github.com/asterics/asterics-camerainput-cameramouse.git
  3. Call ant run in APE project.
  4. As soon as the startpage has opened, click onto Apply And Start Model --> The model is not deployed and started.

If you check the web console, you see the following error messages: grafik

Problem

The ant target run automatically calls the target buildAllNoCleanNoCopyLicenses, which only builds the ARE but doe not copy the javascript library files for the REST API to bin/ARE/web/webapps/startpage/clientExample

Solution

The targets in the AsTeRICS/ARE folder should also call the targets of AsTeRICS/ARE_RestAPIlibraries as the ARE webpage and the REST client demo needs them anyway.

Workaround

Call ant in the AsTeRICS root directory.

deinhofer commented 6 years ago

forgot target buildAllNoCleanNoCopyLicenses which must also call the build flie for the REST libraries.