How to contribute - webrev question

Jean-Christophe Collet Jean-Christophe.Collet at Sun.COM
Mon Jul 20 17:43:32 UTC 2009


Ulf Zibis wrote:
> Hi all,
>
> I'm very happy to successful run webrev on Windows :-)
> Much thanks you all.
>
> Now I have some errors when trying to 'webrev' a single file 'README' 
> from my workspace.
> I'm afraid, I don't understand, how to define a 'filelist'.
> So please give me additional hint.
>

A 'filelist' is a file that contains a list of file :-)
1 line per file, paths relative to the top of the workspace.


> Here is what I tried:
>
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>
> ich at Mobi ~
> $ dir /cygdrive
> c  d  e
>
> ich at Mobi ~
> $ cd /cygdrive/c/Projects/OpenJDK7/jdk
>
> ich at Mobi /cygdrive/c/Projects/OpenJDK7/jdk
> $ dir
> ASSEMBLY_EXCEPTION  README              build  make  test
> LICENSE             THIRD_PARTY_README  dist   src   webrev
>
> ich at Mobi /cygdrive/c/Projects/OpenJDK7/jdk
> $ /usr/local/bin/webrev -b -o ../webrev -u UlfZibis README
>   SCM detected: mercurial
> File list from: README
>      Workspace: c:/Projects/OpenJDK7/jdk
> Compare against: C:/Projects/Repositories/OpenJDK7-tl_jdk/jdk
>      Output to: /cygdrive/c/Projects/OpenJDK7/jdk/../webrev
>   Output Files:
> abort: cannot follow nonexistent file: "README:"
>        README:
>                *** Error: file not in parent or child
> abort: cannot follow nonexistent file: "This"
>        This
>                *** Error: file not in parent or child
> abort: cannot follow nonexistent file: "See"
>        See
>                *** Error: file not in parent or child
> abort: cannot follow nonexistent file: "Simple"
>        Simple
>                *** Error: file not in parent or child
> abort: cannot follow nonexistent file: "1."
>        1.
>                *** Error: file not in parent or child
> mkdir: cannot create directory `c:/Projects/OpenJDK7/jdk/http:': No 
> such file or
> directory
>        http://java.sun.com/javase/downloads/index.jsp
>                mkdir: cannot create directory 
> `/cygdrive/c/Projects/OpenJDK7/jd
> k/../webrev/http:': No such file or directory
> /usr/local/bin/webrev[2873]: cd: 
> c:/Projects/OpenJDK7/jdk/http:/java.sun.com/jav
> ase/downloads - No such file or directory
> mkdir: cannot create directory 
> `/cygdrive/c/Projects/OpenJDK7/jdk/../webrev/raw_
> files/old/http:': No such file or directory
> mkdir: cannot create directory 
> `/cygdrive/c/Projects/OpenJDK7/jdk/../webrev/raw_
> files/new/http:': No such file or directory
> *** Error: file not in parent or child
> abort: cannot follow nonexistent file: "Set"
>        Set
>                *** Error: file not in parent or child
> abort: cannot follow nonexistent file: "2."
>        2.
>                *** Error: file not in parent or child
> abort: cannot follow nonexistent file: "You'll"
>        You'll
>                *** Error: file not in parent or child
> abort: cannot follow nonexistent file: "bcel.jar"
>        bcel.jar
>                *** Error: file not in parent or child
> abort: cannot follow nonexistent file: "jibx-bind.jar"
>        jibx-bind.jar
>                *** Error: file not in parent or child
>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>       ich at Mobi /cygdrive/c/Projects/OpenJDK7/jdk
> $ /usr/local/bin/webrev -h
> /usr/local/bin/webrev[2107]: -h: unknown option
> Usage:  webrev [common-options]
>        webrev [common-options] ( <file> | - )
>        webrev [common-options] -w <wx file>
>        webrev [common-options] -l [arguments to 'putback']
>
> Options:
>        -v: Print the version of this tool.
>        -b: Do not ignore changes in the amount of white space.
>        -c <CR#>: Include link to CR (aka bugid) in the main page.
>        -i <filename>: Include <filename> in the index.html file.
>        -o <outdir>: Output webrev to specified directory.
>        -p <compare-against>: Use specified parent wkspc or basis for 
> comparison
>
>        -w <wxfile>: Use specified wx active file.
>        -u <username>: Use that username instead of 'guessing' one.
>        -m: Forces the use of Mercurial
>        -t: Forces the use of Teamware
>
> Mercurial only options:
>        -r rev: Compare against a specified revision
>        -N: Skip 'hg outgoing', use only 'hg status'
>        -f: Use the forest extension
>
> Environment:
>        WDIR: Control the output directory.
>        WEBREV_BUGURL: Control the URL prefix for bugids.
>        WEBREV_SACURL: Control the URL prefix for ARC cases.
>
> SCM Environment:
>        Teamware: CODEMGR_WS: Workspace location.
>        Teamware: CODEMGR_PARENT: Parent workspace location.
>
> Contact: jean-christophe.collet at sun.com for issues and bug reports.
>
>
> ich at Mobi /cygdrive/c/Projects/OpenJDK7/jdk
> $ /usr/local/bin/webrev -b -o ../webrev -u UlfZibis < README | - >
> bash: syntax error near unexpected token `newline'
>
> ich at Mobi /cygdrive/c/Projects/OpenJDK7/jdk
> $ /usr/local/bin/webrev -b -o ../webrev -u UlfZibis README | -
> bash: -: command not found
>   SCM detected: mercurial
> File list from: README
>
> ich at Mobi /cygdrive/c/Projects/OpenJDK7/jdk
> $ /usr/local/bin/webrev -b -o ../webrev -u UlfZibis < <README> | - >
> bash: syntax error near unexpected token `<'
>
> ich at Mobi /cygdrive/c/Projects/OpenJDK7/jdk
> $ /usr/local/bin/webrev -b -o ../webrev -u UlfZibis < <README> | -
> bash: syntax error near unexpected token `<'
>
> ich at Mobi /cygdrive/c/Projects/OpenJDK7/jdk
> $ /usr/local/bin/webrev -b -o ../webrev -u UlfZibis < README | -
> bash: -: command not found
>   SCM detected: mercurial
>
> ich at Mobi /cygdrive/c/Projects/OpenJDK7/jdk
> $ /usr/local/bin/webrev -b -o ../webrev -u UlfZibis < README
>   SCM detected: mercurial
>      Workspace: c:/Projects/OpenJDK7/jdk
> Compare against: C:/Projects/Repositories/OpenJDK7-tl_jdk/jdk
>      Output to: /cygdrive/c/Projects/OpenJDK7/jdk/../webrev
>   Output Files:
>        .hgtags
>                 patch new
>        README
>                 patch new
>        make/Makefile
>                 patch new
>        make/com/sun/Makefile
>                 patch new
>        make/common/Defs-linux.gmk
>                 patch new
>        make/common/Defs-solaris.gmk
>                 patch new
>        make/common/Defs-windows.gmk
>                 patch new
> $
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>
>
> Am 17.07.2009 14:17, Ulf Zibis schrieb:
>> Am 17.07.2009 13:00, Dalibor Topic schrieb:
>>> Ulf Zibis wrote:
>>>  
>>>> Much thanks, Martin, to rub my eyes.
>>>>
>>>> I'm successive with Cygwin to run awk scripts on Windows, but there is
>>>> no library for ksh (Kern Shell) :-(
>>>>     
>>>
>>> There is pdksh, fwiw: http://cygwin.com/packages/pdksh/pdksh-5.2.14-3
>>> but it may or may not work. It may be worth a try, of course.
>>>
>>>   
>>
>> Oops, I've overseen this in the list, because it starts with a 'p'.
>> Much thanks Dalibor,
>>
>> -Ulf
>>
>>
>>
>




More information about the core-libs-dev mailing list