You are viewing a plain text version of this content. The canonical link for it is here.
Posted to qa@openoffice.apache.org by Lucas Burson <lj...@gmail.com> on 2012/12/07 04:15:06 UTC

automation

How do I get this to work? I followed the instructions at [1], section
"Running Test". I have the AOO3.5 (4.0) M1 developer release, and I
installed it using the .DEB files.

Here's the cmd output:
ljdelight@ubuntutest:~/aoo/test$ ./run
-Dopenoffice.home="/opt/openoffice.org" -tp bvt
Dec 06, 2012 9:12:09 PM org.openoffice.test.Run main
SEVERE: Runnable is failed!
java.lang.RuntimeException: No valid OpenOffice is found in
/opt/openoffice.org! Use system property openoffice.home to specify a
valid OpenOffice installation directory.
	at org.openoffice.test.common.Installer.run(Installer.java:104)
	at org.openoffice.test.Run.main(Run.java:110)


Thanks for the help,
 Lucas

[1] http://wiki.openoffice.org/wiki/QA/test_automation_guide

Re: automation

Posted by Lucas Burson <lj...@gmail.com>.
It worked! I didn't know the different between '.org' and '.org3'.
Thanks for clarifying openoffice.home.

Here's what I just used:
svn co https://svn-master.apache.org/repos/asf/openoffice/trunk/test test
cd test
ant -Dopenoffice.home="/opt/openoffice.org3" compile
./run -Dopenoffice.home="/opt/openoffice.org3" -tp bvt

Lucas

On Thu, Dec 6, 2012 at 9:39 PM, Linyi Li <li...@gmail.com> wrote:
> Hi Lucas,
>
> Try this: Change -Dopenoffice.home="/opt/openoffice.org" to
> -Dopenoffice.home="/opt/openoffice.org3 <http://openoffice.org>".
> The openoffice.home should be the parent directory location of soffice.
>
>
>
> On Fri, Dec 7, 2012 at 11:15 AM, Lucas Burson <lj...@gmail.com> wrote:
>
>> How do I get this to work? I followed the instructions at [1], section
>> "Running Test". I have the AOO3.5 (4.0) M1 developer release, and I
>> installed it using the .DEB files.
>>
>> Here's the cmd output:
>> ljdelight@ubuntutest:~/aoo/test$ ./run
>> -Dopenoffice.home="/opt/openoffice.org" -tp bvt
>> Dec 06, 2012 9:12:09 PM org.openoffice.test.Run main
>> SEVERE: Runnable is failed!
>> java.lang.RuntimeException: No valid OpenOffice is found in
>> /opt/openoffice.org! Use system property openoffice.home to specify a
>> valid OpenOffice installation directory.
>>         at org.openoffice.test.common.Installer.run(Installer.java:104)
>>         at org.openoffice.test.Run.main(Run.java:110)
>>
>>
>> Thanks for the help,
>>  Lucas
>>
>> [1] http://wiki.openoffice.org/wiki/QA/test_automation_guide
>>
>
>
>
> --
> Best wishes.
> Linyi Li

Re: automation

Posted by Linyi Li <li...@gmail.com>.
Hi Lucas,

Try this: Change -Dopenoffice.home="/opt/openoffice.org" to
-Dopenoffice.home="/opt/openoffice.org3 <http://openoffice.org>".
The openoffice.home should be the parent directory location of soffice.



On Fri, Dec 7, 2012 at 11:15 AM, Lucas Burson <lj...@gmail.com> wrote:

> How do I get this to work? I followed the instructions at [1], section
> "Running Test". I have the AOO3.5 (4.0) M1 developer release, and I
> installed it using the .DEB files.
>
> Here's the cmd output:
> ljdelight@ubuntutest:~/aoo/test$ ./run
> -Dopenoffice.home="/opt/openoffice.org" -tp bvt
> Dec 06, 2012 9:12:09 PM org.openoffice.test.Run main
> SEVERE: Runnable is failed!
> java.lang.RuntimeException: No valid OpenOffice is found in
> /opt/openoffice.org! Use system property openoffice.home to specify a
> valid OpenOffice installation directory.
>         at org.openoffice.test.common.Installer.run(Installer.java:104)
>         at org.openoffice.test.Run.main(Run.java:110)
>
>
> Thanks for the help,
>  Lucas
>
> [1] http://wiki.openoffice.org/wiki/QA/test_automation_guide
>



-- 
Best wishes.
Linyi Li