On 8/31/2016 10:25 AM, Dennis E. Hamilton wrote:


-----Original Message-----
From: Patricia Shanahan [mailto:p...@acm.org]
Sent: Wednesday, July 13, 2016 12:57
To: dev@openoffice.apache.org
Subject: Re: Putting Windows First ( was RE: null)

[ ... ]
[orcmid]
I would like to suggest a way of squeezing out from between the rock and
hard place, and getting more developers:

Separate out the Windows build process. Pick one of the common IDE's,
and create a project file that sets all environment variables for
Windows. Get as close as possible to the step-by-step build instructions
for Windows being:

Check out the source from SVN.

Open the project file in $IDE$.
[orcmid]

I don't think it is necessary to have an IDE commitment.

Everything needed to do a build on Windows can be done with command-line tools 
that are part of the Windows SDK.  Other externals needed for builds can be 
obtained in Windows versions.  It is how Visual Studio works -- it spawns 
command-line operations.

So long as the SVN Working copy has the correct ignore settings, once could 
then create projects if desired, and there might be a way to download a .zip of 
project files that could be expanded into a build slot in the Working copy.  
Although, since most of what is needed is in text and XML files, there is a way 
to do this at a lower level that doesn't require binaries in the source tree.

That should get rid of the CygWin dependency for Windows builds and let the 
available tools work at their best.

I think the bigger challenge is to be able to do incremental builds or even 
build libraries shared within AOO separately as a way to get problems of 
massive clean builds that take hours and don't help localize errors much.  
That's probably the way to build up the Windows build case anyhow.

Note: If one is careful about the filepath rewriting business in CygWin, one 
can execute Windows command-line tools pretty easily, using .bat files as 
bridges -- .bat files execute properly in CygWin and MSys where I have tried 
it, and they will work correctly when used directly via cmd.exe.  That is also 
how one gets environment variables set properly, etc.  (One needs to get around 
a couple of glitches where CygWin and its cousins treat the environment as case 
sensitive but the Windows SDK tools do not.)

And then there's [unit] testing to consider.

There are already unit tests that run in Eclipse.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to