Making GnuCash development on Windows easier, one step at the time

Christian Stimming christian at cstimming.de
Fri Jan 18 16:25:23 EST 2013


Am Freitag, 18. Januar 2013, 17:33:52 schrieb Geert Janssens:
> I have written an experimental bootstrap script 

Excellent! That's great.

In fact, I had to solve a very similar problem in another project, and ended 
up learning the crude syntax and limited commands of Windows' cmd.exe "shell". 
But VBS is surely much better suited for this task.

I have a minor suggestion concerning the default location: With the newer 
Windows versions, users are strongly discourages to write anything into C:\ . 
Instead, at least in Windows 7 there is a true home directory, accessible via 
"%HOMEDRIVE%%HOMEPATH%" . Maybe you should change the default location from 
C:\soft for those systems that have a %HOMEDRIVE%%HOMEPATH% into 

 %HOMEDRIVE%%HOMEPATH%\soft

or 

 %HOMEDRIVE%%HOMEPATH%\development

The actual naming choice is up to you or whoever changes the code, but we 
should pick up the availability of the %HOMEPATH%.

> What you can expect:
> If you don't modify anything, the script will create a directory tree as
> follows:
> - c:\soft
> - c:\soft\downloads
> - c:\soft\Git-1.7.10     -> git installation
> - c:\soft\gnucash.git   -> gnucash git repository cloned from github
> - c:\soft\gnucash.git\packaging\win32\custom.sh
> - c:\soft\mingw          -> will have mingw-get and msys (including
> msys-wget)
> - c:\soft\tmp
> 
> Please do test though if the script runs properly and give feedback.

I haven't tested it myself but will do so during the next days. Thanks a lot!

Regards,

Christian


More information about the gnucash-devel mailing list