Difference between revisions of "Robotino Web Interface build"

From RobotinoWiki
(Created page with "==Build Webpages from Source== Robotino Web Interface consists of the server part and the webpages. The server part, mainly Fcgid, is part of [http://wiki.openrobotino.org/in...")
 
Line 1: Line 1:
 
==Build Webpages from Source==
 
==Build Webpages from Source==
  
Robotino Web Interface consists of the server part and the webpages. The server part, mainly Fcgid, is part of [http://wiki.openrobotino.org/index.php?title=API2_source_build#Step_3:_Build_Robotino_Daemons Robotino Daemons]. The webpages are based on [http://www.smartclient.com/product/smartgwt.jsp SmartGWT] and are developed as a seperate project. The source can be found at [http://svn.openrobotino.org/smartgwt/tags/ SVN]. It is recommonded to check out the latest tag.
+
Robotino Web Interface consists of the server part and the webpages. The server part, mainly Fcgid, is part of [http://wiki.openrobotino.org/index.php?title=API2_source_build#Step_3:_Build_Robotino_Daemons Robotino Daemons]. The webpages are based on [http://www.smartclient.com/product/smartgwt.jsp SmartGWT] and are developed as a separate project. The source can be found at [http://svn.rec.de/listing.php?repname=openrobotino&path=%2Fsmartgwt%2Ftrunk%2FRobotinoWeb%2Fsrc%2FrobotinoWebInterface%2Fclient%2F&#a5b7864adc177546383f2f4dd2f32ad6e SVN Repository].
  
 
Note: The compiled webpages are already included in the SVN repository. Therefore if you are not going to make any change, then there is no need to build the project by yourself (can go to Deploy section directly).  
 
Note: The compiled webpages are already included in the SVN repository. Therefore if you are not going to make any change, then there is no need to build the project by yourself (can go to Deploy section directly).  

Revision as of 16:31, 19 October 2015

Build Webpages from Source

Robotino Web Interface consists of the server part and the webpages. The server part, mainly Fcgid, is part of Robotino Daemons. The webpages are based on SmartGWT and are developed as a separate project. The source can be found at SVN Repository.

Note: The compiled webpages are already included in the SVN repository. Therefore if you are not going to make any change, then there is no need to build the project by yourself (can go to Deploy section directly).

Setup Eclipse

Build

  • Import project to your workspace
  • Set classpath for smartgwt.jar and smartgwt-skin.jar (Project->Properties->Java Build Path->Libaries). These jar files can be found at the root directory of the project.
  • GWT compile project

Deploy

  • Set environment variable ROBOTINO_WAR_DIR as the full path of the "war" folder.
  • Then build and install Robotino Daemons as instructed in Build Robotino Daemons. It will copy the whole "war" folder into the server host directory (/var/www/).
  • (NOT recommended) Instead of the two steps above, you could also manually copy the "war" folder into the server host directory (/var/www/).