dev@glassfish.java.net

Re: running quicklook tests

From: Carla Mott <Carla.Mott_at_Sun.COM>
Date: Wed, 03 Sep 2008 23:30:28 -0700

Thanks Jane. I'm able to run the tests.

carla

Jane Young wrote:
> Can you try using absolute path?
> I've never tried with symbolic link.
>
> "mvn -Dglassfish.home=/<your glassfish unzip directory>/glassfish/ test
> | tee runlog"
>
>
> Carla Mott wrote:
>
>>
>> Hi all,
>>
>> I followed the instructions on the wiki for V3 Quicklook tests
>> (http://wiki.glassfish.java.net/Wiki.jsp?page=V3BuildTests#ql) but
>> can't get them to run. I get errors it can't find my installation of
>> glassfish.
>>
>>
>> What should V3 Installation Dir be in the following:
>> mvn -Dglassfish.home={V3 Installation Dir} test | tee run.log
>>
>> I tried setting it to the absolute path where I have unzipped
>> glassfish, a relative path and setting a symbolic link in the current
>> dir to the installation and passing that but all fail at some point.
>>
>> for example I set the symbolic link (glassfish) in the quicklook dir
>> and ran
>>
>> mvn -Dglassfish.home=glassfish test | tee run.log
>>
>> I end up getting:
>> <snip>
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] An Ant BuildException has occured: The following error occurred
>> while executing this line:
>> /Users/cmott/logging/quicklook/build.xml:61: The following error
>> occurred while executing this line:
>> /Users/cmott/logging/quicklook/build.xml:97: The following error
>> occurred while executing this line:
>> /Users/cmott/logging/quicklook/web/helloworld/build.xml:52: The
>> following error occurred while executing this line:
>> /Users/cmott/logging/quicklook/gfproject/build-impl.xml:140: The
>> following error occurred while executing this line:
>> /Users/cmott/logging/quicklook/gfproject/build-impl.xml:174:
>> /Users/cmott/logging/quicklook/web/helloworld/glassfish not found.
>>
>> any help is appreciated.
>>
>> Thanks,
>> Carla
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>