dev@glassfish.java.net

running quicklook tests

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

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