Hi,
Good question
The umpleonline server on your local machine uses umplesync.jar in the
umpleonline/scripts directory. But this does not happen after a full build
automatically.
The new umplesync jar has to be copied to the umpleonline/scripts
directory by the following command
ant -DshouldPackageUmpleOnline=true -Dmyenv=local -f build.umple.xml packageUmpleonline
additionally the previous server has to be stopped using, in the
umpleonline/scripts directory:
php UmpleServerTest.php server -quit
There is a script in the dev-tools directory called 'pumple' that does
this: pumple
One more point: There can be permission problems that cause the command
php UmpleServerTest.php server -quit to be ignored. This sometimes happens
if you try to access that script before you have ever used UmpleOnline
itself (it has to do with the fact that UmpleOnline writes files and runs
the server using the 'www' userid, as opposed to your own userid). In such
circumstances, identify the running server process id 'ps aux | grep java'
and kill it.
Tim
Timothy C. Lethbridge, PhD, P.Eng., I.S.P., CSDP
Professor of Software Engineering and Computer Science
/ Professeur Titulaire de génie logiciel et d'informatique
Faculté de genie / Faculty of Engineering
University of Ottawa / Université d'Ottawa
Tel:
613-562-5800x6685 Fax:
613-562-5664 Mobile:
613-252-1850
http://www.eecs.uottawa.ca/~tcl