Hi Eric, On Saturday 07 of June 2008, Eric Hoch wrote: > Hi Mathias, Maho, > > Am Fri, 06 Jun 2008 17:58:30 +0200 schrieb Mathias Bauer: > > Hi Eric, > > > > Eric Hoch wrote: > >> Hi Mathias, > >> > >> Am Thu, 05 Jun 2008 13:48:47 +0200 schrieb Mathias Bauer: > >>> Hi, > >>> > >>> Maho NAKATA wrote: > >>>> Hi, > >>>> How I can checkout DEV300 branch (OOo3) source code correctly? > >>>> > >>>> According to CVSROOT/modules, > >>>> "OpenOffice3" alias does not contain > >>>> "apache-commons hyphen swext tomcat" etc etc. > >>>> > >>>> I have been put source code for every milestone at: > >>>> http://ooopackages.good-day.net/pub/OpenOffice.org/sources/ > >>>> and almost every build was checked on MacOSX and FreeBSD. > >>>> > >>>> Could you please help me? > >>>> Thanks > >>>> -- Nakata Maho http://accc.riken.jp/maho/ > >>> > >>> Do you know > >>> > >>> http://wiki.services.openoffice.org/wiki/User:Kr/Concurrent_Checkout > >>> > >>> I use it all the time. For a CWS on dev300 it needs an additional fix > >>> that I could give you, but for checking out a milestone it is fine. > >> > >> Thanks for the hint. I really didn't know that such a script > >> exists. > >> > >> But when I try to run it under Mac OS X I get the following error > >> message in Terminal: > >> > >> xdsl-87-79-55-98:test maveric$ ./conco.awk -v Master=DEV300 -v > >> Milestone=m17 > >> /usr/bin/awk: syntax error at source line 32 in function > >> queryMilestone source file ./conco.awk > >> context is > >> print "export > >> SOLARENV=./solenv" >>> |& <<< Shell > >> /usr/bin/awk: illegal statement at source line 33 in function > >> queryMilestone source file ./conco.awk > >> /usr/bin/awk: illegal statement at source line 33 in function > >> queryMilestone source file ./conco.awk > > After some investigation I figured out that the script seems to > work for both Linux and Mac OS X if you replace all of the |&, > which > represents the Regular Expression of AND/OR, with a simple && which > just stands for AND.
From what I see, '|&' is not AND/OR, but piped I/O (running command as co-process). The right fix would be to use normal '|' somehow - which pipes as well; most probably something like (written on one line): print "export WORK_STAMP=" Master "; export CWS_WORK_STAMP=" CWS "; export SOLARENV=./solenv" "; echo `$SOLARENV/bin/cwsquery modules`" | Shell | getline modules instead of: print "export WORK_STAMP=" Master |& Shell print "export CWS_WORK_STAMP=" CWS |& Shell print "export SOLARENV=./solenv" |& Shell print "echo `$SOLARENV/bin/cwsquery modules`" |& Shell Shell |& getline modules close(Shell) (untested, etc. - Kay will know more I guess.) Regards, Jan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]