|
View:
New views
11 Messages
—
Rating Filter:
Alert me
|
|
|
How to split VCL testtool out?Hi all,
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. If I don't split it out, I'll have to use a very big (>300M) tool include all the libs used by the office. It's a bit inconvenience. Is there anyone could help? Thanks in advance. Best regards, -- 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-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: How to split VCL testtool out?For now, I've removed some useless directories. There is 230MB remained.
I think some libs should also be removed. Thanks. 在 2009-10-27二的 16:01 +0800,Zhu Lihua写道: > Hi all, > > 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. > > If I don't split it out, I'll have to use a very big (>300M) tool > include all the libs used by the office. It's a bit inconvenience. > > Is there anyone could help? Thanks in advance. > > Best regards, 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-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: How to split VCL testtool out?On Tue, 2009-10-27 at 16:01 +0800, Zhu Lihua wrote:
> Hi all, > > 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. Don't you just need to package... path/to/openoffice.org/basis3.X/program/hid.lst path/to/openoffice.org/basis3.X/program/libcommunili.so path/to/openoffice.org/basis3.X/program/libsimplecmli.so path/to/openoffice.org/basis3.X/program/resource/stten-US.res path/to/openoffice.org/basis3.X/program/testtool.bin path/to/openoffice.org/basis3.X/program/testtoolrc (replacing li with the mips equivalent suffix) C. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: How to split VCL testtool out?Hi Caolán,
Thank you very much for the replay. But it needs much more than those. It needs libs from URE also, and many libs in the current directory. BTW, your name sounds very much like a Chinese name, such as 曹兰. :-) Best regards, Lihua 在 2009-10-27二的 08:24 +0000,Caolán McNamara写道: > On Tue, 2009-10-27 at 16:01 +0800, Zhu Lihua wrote: > > Hi all, > > > > 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. > > Don't you just need to package... > > path/to/openoffice.org/basis3.X/program/hid.lst > path/to/openoffice.org/basis3.X/program/libcommunili.so > path/to/openoffice.org/basis3.X/program/libsimplecmli.so > path/to/openoffice.org/basis3.X/program/resource/stten-US.res > path/to/openoffice.org/basis3.X/program/testtool.bin > path/to/openoffice.org/basis3.X/program/testtoolrc > > (replacing li with the mips equivalent suffix) > > C. > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@... > For additional commands, e-mail: dev-help@... > 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-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: How to split VCL testtool out?Hi,
-------- Original-Nachricht -------- > Von: Zhu Lihua <zhulihua@...> > > 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é -- Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 - sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: How to split VCL testtool out?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 <zhulihua@...> >> >> 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-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: How to split VCL testtool out?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 <zhulihua@...> > >> > >> 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-unsubscribe@... > For additional commands, e-mail: dev-help@... > 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-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: [qa-dev] Re: [dev] How to split VCL testtool out?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 <zhulihua@...> >>>> >>>> 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-unsubscribe@... >> For additional commands, e-mail: dev-help@... >> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: Re: [qa-dev] Re: [dev] How to split VCL testtool out?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 <zhulihua@...> > >>>> > >>>> 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-unsubscribe@... > >> For additional commands, e-mail: dev-help@... > >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@... > For additional commands, e-mail: dev-help@... > 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-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: Re: [qa-dev] Re: [dev] How to split VCL testtool out?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 <zhulihua@...> > > >>>> > > >>>> 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-unsubscribe@... > > >> For additional commands, e-mail: dev-help@... > > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscribe@... > > For additional commands, e-mail: dev-help@... > > > -- > 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-unsubscribe@... > For additional commands, e-mail: dev-help@... > 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-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: [qa-dev] Re: [dev] Re: [qa-dev] Re: [dev] How to split VCL testtool out?Hi Lihua
sorry to hear it doesn't work that easy. The approarch that tbo used was to copy used files in a directory, this aproach was different. There is another way which I used earlier to help tbo in finding the files needed. Use strace and run the testtool. after some grep you can find out which files were opened. these are the ones used. but be aware that not all files used are opened at startup. Condiguration and UNO only open files on demand. So a complete run would be necessary to show all files. I used this command for tcsh: strace -f testtool |& grep open | grep "<installdir>" | grep -v ENOENT Using some sed or the like will output a nice script that copies the used files to a new tree. Maybe that works better. best Regards Gregor > 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 <zhulihua@...> >>>>>> >>>>>> 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-unsubscribe@... >>>> For additional commands, e-mail: dev-help@... >>>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@... >> For additional commands, e-mail: dev-help@... >> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
| Free embeddable forum powered by Nabble | Forum Help |