[mapguide-internals] Version setting script - What about ANT
Trevor Wekel
trevor.wekel at autodesk.com
Wed Apr 8 11:13:44 EDT 2009
Perl is required for the Fdo builds but not the MapGuide builds. If we are intending to build Fdo as well then we will need to include Perl in the toolset.
For day to day development on Windows, I think we should maintain the vcproj and sln files on Windows. Being able to build the MapGuide server and web extensions directly in the Visual Studio GUI is a big deal.
I could live with a post build step which creates the API bindings (PHP, .Net, Java) and copies/installs the web extensions bits into an IIS visible directory.
In short, I believe Perl/Ant/Php/whatever should be calling devenv Oem.sln/Server.sln/WebTier.sln on Windows.
Assuming we are only releasing Windows binaries for the 2.1 release, we could cobble together something based on the existing build.bat and Jason's VBS script. I am all in favor of picking the most appropriate, most maintainable toolset. However, it will take time to set up. And running through one release cycle may give us a better handle on all the requirements.
I am currently working on updates to the MapGuide TCP/IP connection infrastructure. I suspect the PSC would be willing to wait for this update assuming it resolves some of the outstanding "lockup" issues with MapGuide. With luck, this update may be ready sometime next week.
Thanks,
Trevor
-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org [mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Martin Morrison
Sent: Wednesday, April 08, 2009 6:39 AM
To: MapGuide Internals Mail List
Subject: RE: [mapguide-internals] Version setting script - What about ANT
The way I understand the question being discussed is two-fold. First is simply set the version numbers, second is some kind of automated build. PERL can handle the versioning easily and quickly. It is portable across platforms. I also thought PERL was already required, (http://wiki.osgeo.org/wiki/Building_MapGuide_on_Windows). I would recommend a LOT more discussion to implement a build package. I also would hate to see 2.1 pushed out farther waiting on that discussion.
Martin
-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org [mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of UV
Sent: Wednesday, April 08, 2009 8:24 AM
To: MapGuide Internals Mail List
Subject: Re: [mapguide-internals] Version setting script - What about ANT
Yes,
Perl was my first thought too.
But it is introducing another tool dependency into the build which I
think should be avoided if possible - not at all costs ;-)
And perl scripts are really not very readable for the unprepared.....
But its already more portable than the VBS.
Jason what are the specs for this version update??
This is now the interesting question so we can scope this better.
Martin Morrison wrote:
> PERL???
>
>
> -----Original Message-----
> From: mapguide-internals-bounces at lists.osgeo.org [mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of UV
> Sent: Wednesday, April 08, 2009 3:23 AM
> To: MapGuide Internals Mail List
> Subject: Re: [mapguide-internals] Version setting script - What about ANT
>
> I always thought java is like C++ without the need for a preprocessor
> ;-) so I though its easy to read when you know C++.
> But I have a very multi language background so I cant really judge this.
>
> I encountered standalone java files in a previous job and was surprised
> how simple it is to just use it for simple tasks like this.
> And a lot less cryptic than any other script language I know....
>
> But my main point was to leverage the power of ant for such a task....
> so the script (at your portable language choice) does the replacement on
> a single file only...
> Ant then parses the source tree and applies the little script everywhere....
> I think this is a good investment into infrastructure.
>
> Once you have used ant for building software the use of batch files
> feels very limiting.
> and ant is multiplatform
> I think the multi-platform issue will become more of an issue over time.
> But thats a call for a PSC decision and introducing ant for parts of the
> build seems like a bigger project.
>
> I am willing to make a proposal when you tell me what needs to be done....
> The build process on the server still needs bit more work so its a good
> time to play around a bit.
>
> Cheers,
> UV
>
>
> Jason Birch wrote:
>
>> Yea, I started out wanting to use batch (was focussing on Windows build) and VBS was my (il)logical next step.
>>
>> Java is a non-starter for me (proficiency), and may make it harder to find people who can maintain it... in our current community anyway. I'd be willing to re-write in PHP at some point, which is at least supported on all platforms, and is one of MapGuide's three supported API languages.
>>
>> Jason
>>
>> ________________________________________
>> From: UV
>> Sent: Tuesday, April 07, 2009 6:45 PM
>> To: MapGuide Internals Mail List
>> Subject: Re: [mapguide-internals] Version setting script
>>
>> Good idea. Properly tagged source file are very helpful!
>>
>> just one thought....
>> do we need to introduce yet another scripting language into the system?
>> This is supposed to be multi-platform I thought._______________________________________________
>> mapguide-internals mailing list
>> mapguide-internals at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>>
>>
>>
>
> _______________________________________________
> mapguide-internals mailing list
> mapguide-internals at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>
> _______________________________________________
> mapguide-internals mailing list
> mapguide-internals at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>
>
_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
_______________________________________________
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