Changes between Version 14 and Version 15 of WikiStart
- Timestamp:
- 03/11/19 15:13:32 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v14 v15 20 20 After installing and starting, go to [http://localhost:8080/profilesserver] to see if it works. 21 21 22 To download a profile in your agent, check the examples in [https://tracinsy.ewi.tudelft.nl/trac/Genius2ProfilesServer/browser/src/test/java/genius2/examples]. Basically you just open a websocket and read the incoming profile like this 22 23 = Downloading a profile programatically 24 To download a profile in your agent, create a websocket and fetch the profile. 25 26 27 There are java examples available [https://tracinsy.ewi.tudelft.nl/trac/Genius2ProfilesServer/browser/src/test/java/genius2/examples here]. Basically you just open a websocket and read the incoming profile like this 23 28 {{{ 24 29 WebSocketFactory factory = new WebSocketFactory().setConnectionTimeout(5000); … … 35 40 36 41 37 You can also download this source repository (you don't need this if you just want to use the profilesserver) 42 == Using the source code == 43 You can download the source repository. Note that you don't need this if you just want to use the profiles server. 38 44 39 45 {{{ 40 46 svn checkout https://tracinsy.ewi.tudelft.nl/svn/Genius2ProfilesServer/ 41 47 }}} 42 Since this is a tomcat web application, you need Eclipse Enterprise edition if you want to use this from Eclipse. 48 49 Since this is a tomcat web application, you need Eclipse Enterprise edition if you want to run this from Eclipse. 43 50 Also, to checkout from Eclipse, you need to prepare Eclipse for this. Check https://tracinsy.ewi.tudelft.nl/trac/Genius2/wiki/WikiStart 44 51 52 It is maven based so you only need maven to compile the code. 45 53 46 == Profile structure ==