[vtkusers] VTK From CVS Please...
Andrea Gavana
andrea.gavana at polymtl.ca
Thu Jul 22 07:46:41 EDT 2004
Hello Ingo,
I haven't had problems in downloading the VTK CVS after having modified
the cvsgrab.bat file. If you are interested, this is my cvsgrab.bat (on
Win2000, I don't know if on Unix the same modifications will lead to the same
behavior):
@echo off
rem ************************************************************************
rem * Define here CVSGRAB_HOME if you didn't define it a a system variable
rem * CVSGRAB_HOME should be set to the installation directory of cvsgrab.
rem ************************************************************************
rem
rem set CVSGRAB_HOME = c:\cvsgrab
rem
if not "%OS%"=="Windows_NT" goto win9xStart
:winNTStart
@setlocal
rem %~dp0 is name of current script under NT
set DEFAULT_CVSGRAB_HOME=%~dp0
if "%CVSGRAB_HOME%"=="" set CVSGRAB_HOME=%DEFAULT_CVSGRAB_HOME%
set DEFAULT_CVSGRAB_HOME=
rem Need to check if we are using the 4NT shell...
if "%@eval[2+2]" == "4" goto setup4NT
rem On NT/2K grab all arguments at once
set ANT_CMD_LINE_ARGS=%*
goto doneStart
:setup4NT
set ANT_CMD_LINE_ARGS=%$
goto doneStart
:win9xStart
rem Slurp the command line arguments. This loop allows for an unlimited number
of
rem agruments (up to the command line limit, anyway).
set ANT_CMD_LINE_ARGS=
:setupArgs
if %1a==a goto doneStart
set ANT_CMD_LINE_ARGS=%ANT_CMD_LINE_ARGS% %1
shift
goto setupArgs
:doneStart
rem Take a look to the definition of LOG_ARGS
set LOG_ARGS=-rootUrl http://public.kitware.com/cgi-bin/cvsweb.cgi/ -packagePath
VTK -projectRoot VTK
set HOME_ARGS=-verbose -webUser anonymous -webPassword vtk
rem set HOME_ARG=-Dcvsgrab.home=%CVSGRAB_HOME%
java -jar %CVSGRAB_HOME%\lib\cvsgrab.jar %LOG_ARGS% %HOME_ARG%
%ANT_CMD_LINE_ARGS%
if not "%OS%"=="Windows_NT" goto end
@endlocal
:end
I get all the files without problems... it is only (by far) slower than using
the very nice WinCVS, but I have no other way to go...
HTH.
Andrea.
Selon de Boer Ingo <I.deBoer at polytec.de>:
> Hi Andrea,
>
> I have the same problem as you. I also use/used cvsgrab.
> The 'problem' is that VTK uses CVSWeb 3.0 and cvsgrab
> does not support that, yet.
> I made a request for that.
>
>
http://sourceforge.net/tracker/index.php?func=detail&aid=968776&group_id=52481&atid=467007
>
>
> greets
> Ingo
>
> ---
> Dr.-Ing. Ingo H. de Boer
>
> Polytec GmbH
> Polytec-Platz 1-7, 76337 Waldbronn, Germany
> phone: ++49 7243 604 106
> fax : ++49 7243 604 255
>
> > it. I also tried the nice solution CVSGrab, here:
> >
> > http://cvsgrab.sourceforge.net/
> >
>
More information about the vtkusers
mailing list