My local wiki notes state:
== OpenPetraOrg Setup on pgdbuk ==
/usr/local/openpetraorg/bin30 contains all the dlls and exe files
compile a new version on the development machine:
nant buildRelease -D=0.0.14.5
resulting files:
* u:\openpetraorg.uk\OpenPetraOMUKSetup-0.0.14-5.exe
* U:\openpetraorg.uk\tmp\openpetraorg-0.0.14-5
The build of "nant buildRelease -D=0.0.14.5" says it is successful.
But if I follow it up with "nant startPetraClient", I get the server can't be reached.
If I edit the PetraClient.exe.config in "C:\openpetraorg\csharp\ICT\Petra\Client\_bin\Debug\PetraClient.exe.config"
and change the value of url from localhost to my ip of the pgdbuk server (10.37.2.218)
and re-run the "nant buildRelease -D=0.0.14.5" it succeeds and upon startup of "nant startPetraClient" it tells me
Petra Client/Server Program Version Mismatch!
The Program Version of your Petra Client (0.0.9.0) does not match the Program Version of the Petra Server (0.0.14.5).
A Petra Client cannot connect to a Petra Server unless the Program Versions match. You need to install a Petra Client with the correct Program Version.
I was a bit surprised that the change in Debug config affected the client behaviour, but I assume the nant startPetraClient presumably starts up the Debug and not the release version?
I then also edited the config in the release directory "C:\openpetraorg\csharp\ICT\Petra\Client\_bin\Release\PetraClient.exe.config", just to be sure, but the client that started after a release compile still gave me same error message.
How and where do I tell the "nant buildRelease -D=0.0.14.5" to build the 0.0.14.5 client? Was the edit of the config file done in the right place? Or are they generated and I should have edited it somewhere else?
BTW I also cannot find the innosetup Client Installer called "OpenPetraOMUKSetup-0.0.14-5.exe" according to the local wiki notes, anywhere on the developer machine, nor on the pgdbuk server.
Does the buildRelease not build the Client installer as well?
Thanks for all you did Timo this week.