[mapguide-internals] Version setting script - What about ANT
UV
uvwild at gmail.com
Wed Apr 8 03:23:24 EDT 2009
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
>
>
More information about the mapguide-internals
mailing list