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.  

According to various documentations on the web only gawk 
understands the |& as AND/OR while the awk comming with Mac OS X 
(most probably it should be the nawk) doesn't. So if AND/OR isn't 
really neccessary we can simply use the && as AND and both awk 
implementations will understand it and provide the checkout that 
hopefully contains everything to build any OOH and DEV300 Milestone.

I haven't tested it with CWS yet but it should work and I couldn't 
test my changes under Cygwin.  

Eric

-- 
## de.OpenOffice.org - Office für MacOS X, Linux, Solaris & Windows
## Openoffice.org - ich steck mit drin!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to