[mapguide-internals] Version setting script - What about ANT

Martin Morrison martin.morrison at edsi.com
Wed Apr 8 08:39:03 EDT 2009


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



More information about the mapguide-internals mailing list