Maybe we can build the source code before that CWS was integrated, that is DEV300m3, and then, use the perl script tbo provided.
在 2009-10-28三的 16:09 +0800,Zhu Lihua写道: > Hi Gregor, > > Thank you very much for the script. > > I tried, sorry, but it doesn't work. > > First, some how, build command dosen't work in a script. So I run this > script manually. And when I got the list, and deleted all the .so files > it contained in the "basis3.1/program" directory. Testtool.bin shows me > "segment error". Finally I even tried to use ldd command to find out all > the depend libs, and copy them back to "basis3.1/program" directory. > testtool.bin still doesn't work. > > > Do you have any other ideas? Or like tbo said in > http://qa.openoffice.org/source/browse/qa/qatesttool/tools/standaloneTestTool/?hideattic=0#dirlist > : > DEL: standalone TestTool is dead and won't be alive again due to CWS > sb87/83. > > > Thank you and best regards, > Lihua > > > 在 2009-10-27二的 13:04 +0100,Gregor Hartmann写道: > > Hi, > > > > here is a script that outputs a list of filenames. > > > > ----------------------------------------- start > > > > cd $SRC_ROOT > > > > cd automation > > build --all --show | grep "Building module" | sed "s/Building module //" > > > ../ttmodules > > cd $SRC_ROOT > > > > cd instsetoo_native > > build --all --show | grep "Building module" | sed "s/Building module //" > > > ../allmodules > > cd $SRC_ROOT > > > > grep -v -f ttmodules -x < allmodules > modules > > > > xargs -I {} cat $SOLARVER/$INPATH/inc/\{\}/deliver.log < modules | cut > > -d" " -f3 | sed "s,.*/,," | sort -u > > > > -------------------------------------- end > > > > I won't attach it as I don't know if it will be stripped or not. Please > > be careful reassembling the lines. > > > > You need a sourcetree which is completely compiled a shell with set > > environment and then source the script. (should work with bash and tcsh > > and the like) > > > > After removing the listed files from the installed office the testtool > > might still run. I did not try it, so no guarantee at all. > > > > > > Please let us know if it works. > > > > > > hth > > Gregor > > > > > > > > > > > > Zhu Lihua schrieb: > > > Hi Gregor, > > > > > > It's great that you are back. I'll wait for your script then. Thank you > > > very much for the effort! > > > > > > Best regards, > > > Lihua > > > > > > 在 2009-10-27二的 10:14 +0100,Gregor Hartmann写道: > > >> Hi, > > >> > > >> never thought of removing unneeded files but a good startingpoint would > > >> be to remove everything that was built after module automation (which > > >> contains the vcltesttool). > > >> > > >> so one would need to get a list of the modules needed and get all files > > >> delevered from the remaining modules. Then remove these files in the > > >> installed office. > > >> > > >> One exception is the hid.lst but there might be others like some of the > > >> *.rdb files. > > >> > > >> I will try to post a script which gets the filenames later. > > >> > > >> Gregor > > >> > > >> Andre Schnabel schrieb: > > >>> Hi, > > >>> > > >>> -------- Original-Nachricht -------- > > >>>> Von: Zhu Lihua <zhuli...@redoffice.com> > > >>>> > > >>>> I've built the openoffice.org on a loongson machine, include testtool. > > >>>> I wonder how to split testtool out from the installation set? I need a > > >>>> stand alone testtool. > > >>> There once was a set of scripts in CVS: > > >>> http://qa.openoffice.org/source/browse/qa/qatesttool/tools/standaloneTestTool/?hideattic=0 > > >>> > > >>> Unfortunately it seems, as standalone testtool is not supported anymore. > > >>> (What is somewhat strange, as it is the preferred way to use testtool > > >>> even for the QA-team). > > >>> > > >>> Maybe someone at the qa project has an idea. > > >>> > > >>> André > > >> > > >> --------------------------------------------------------------------- > > >> To unsubscribe, e-mail: dev-unsubscr...@openoffice.org > > >> For additional commands, e-mail: dev-h...@openoffice.org > > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscr...@openoffice.org > > For additional commands, e-mail: dev-h...@openoffice.org > > > -- > Lihua > > > 北京红旗贰仟软件技术有限公司 > Beijing Redflag 2000 Software Co., Ltd. > Building No.2, Block A, Huilongsen, 18 Xihuan Nanlu > Beijing Economic-Technological Development Area > Beijing - P.R.China > > Tel:+86-10-51570010 ext.6141 > http://www.RedOffice.com > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@openoffice.org > For additional commands, e-mail: dev-h...@openoffice.org > -- Lihua 北京红旗贰仟软件技术有限公司 Beijing Redflag 2000 Software Co., Ltd. Building No.2, Block A, Huilongsen, 18 Xihuan Nanlu Beijing Economic-Technological Development Area Beijing - P.R.China Tel:+86-10-51570010 ext.6141 http://www.RedOffice.com --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org