[greenstone-users] Re: About compile greenstone source code in Windows

From qq6@cs.waikato.ac.nz
DateWed Jun 4 12:10:26 2008
Subject [greenstone-users] Re: About compile greenstone source code in Windows
In-Reply-To (48459406-3030008-cis-strath-ac-uk)
Hi Suthanya

"Ant prepare" is only used when the greenstone3 source codes are
downloaded from SVN repository. It will get extra bits needed from
repository besides the greenstone3 codes. As the greenstone3 source
distribution has included all sources into greenstone3-3.X.zip, so you
don't need to do any downloading using "ant prepare" again, instead use
"ant install" to install the source distribution.

A command below can be applied to display all ant targets of greenstone3
on a console.
cd c:greenstone3
ant -p

Sorry, I don't have Microsoft Visual Studio C/C++ installed on my machine,
I cannot have a close look on it.

For the SVN client, your steps seem all right for me. But I will do double
check and let you know the progress.


> Dear Quan and Anupama,
> Thank you very much for your help about SVN Check out problem so i
> download greenstone3 source code from
> http://sourceforge.net/projects/greenstone3 instead. I am running on
> Windows. I do following the link
> http://wiki.greenstone.org/wiki/index.php/Walkthrough:_installing_Greenstone_3_from_SVN_source_on_Windows
> Then, i edited some lines in build.xml. I am not sure i edited it
> correctly and after that, i try to find "VCVARS.BAT" in Microsoft Visual
> Studio 6.0 but i can't find it so i can't run this file and when i type
> "ant install" in command line. I got some errors.
> i just realized that build.xml from sourceforge and web.xml from
> http://svn.greenstone.org/greenstone3/trunk/ are not the same. which one
> i should use please?
> I capture all steps as i do. I think i read the details for compile
> source code in windows carefully and try to install Microsoft Visual
> Studio6 (completely setup) however, i can't find "VCVARS.BAT"
> Could you help me please? Please find attached file. Thank you very
> much in advance.
> Best Wishes,
> Suthanya
> -------------------------------------------------------------
> qq6@cs.waikato.ac.nz wrote:
>> Hi Suthanya
>> I think I could answer your question as I met the same problem. It
>> happened when the quality of the Internet connection was low. After my
>> computer got a high speed Internet connection, SVN client could download
>> files from http://svn.greenstone.org without any problem.
>> You can get the up-to-date source codes if you use SVN.
>> Greenstone-3.xx-src.tar.gz is the offical source code release. It has
>> been
>> tested and is an good alternative option.
>> Regards
>> Quan