[mapguide-internals] Installer Automated build
Kenneth Skovhede, GEOGRAF A/S
ks at geograf.dk
Fri Mar 6 03:34:11 EST 2009
Awesome.
I have produced this small build script, based on the instructions on
your blog:
cd MgDev
cmd /C build.bat -a=build -w=all
cmd /C build.bat -a=install -w=all
cd ..\Tools\Maestro
cmd /C build.bat -a=buildinstall
cd ..\..\Installer
cmd /C build.bat -a=prepare
cmd /C build.bat -a=build
cd ..
And I can now build the MSI from scratch!
Ps:
The -a=regen option seems to have a slight problem when looking for the
folder "%INSTALLER_DEV%\Support\Web\mapviewer", as it is not in SVN,
and not prepared in the steps.
Regards, Kenneth Skovhede, GEOGRAF A/S
Jackie Ng skrev:
> Hi Kenneth,
>
> MgDev\build.bat with no parameters does the build. You then need to run it
> with the -a=install parameter which will copy all the files to a staging
> area in MgDev\<Debug|Release>, which you can override with -o=<my staging
> directory>
>
> But if you override the staging directory, you will have to specify this
> directory when running the build.bat for the installer.
>
> I've detailed the build instructions here:
> http://themapguyde.blogspot.com/2009/03/building-mapguide-on-windows-made.html
>
> - Jackie
>
>
> Kenneth Skovhede, GEOGRAF A/S wrote:
>
>> I just tried a fresh checkout today.
>> After building MapGuide, using the "build.bat", I get the folder
>> MgDev\Server\bin\Release
>> But the "build.bat -a=regen" in the Installer looks for
>> ..\MgDev\Release\Server\Bin
>> And that second folder is supposed to contain other stuff (like the repo
>> admin files).
>>
>> Do I have to perform another step to get that special folder prepared?
>>
>> --
>> Regards, Kenneth Skovhede, GEOGRAF A/S
>>
>>
>> _______________________________________________
>> mapguide-internals mailing list
>> mapguide-internals at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>>
>>
>>
>
>
More information about the mapguide-internals
mailing list