dev@glassfish.java.net

Re: QL Tests on Windows

From: Ming Zhang <Ming.Zhang_at_Sun.COM>
Date: Thu, 05 Nov 2009 15:24:16 -0800

This should be fixed and there is no need to use maven.repo.local any
more. The jruby dir has been moved under glassfish.home dir. Please let
me know if you see more problem.
Thanks,
Ming

Ming Zhang wrote:
> This looks like a path issue. When I originally tested the QL JRuby
> tests on windows, it was vista and there was no space in path to user
> home. A temp workaround is to move the repository to a place without
> space in path and run QL by specifying maven.repo.local, such as:
> C:\v3\quicklook>mvn -Dglassfish.home=C:\v3\glassfishv3\glassfish
> -Dmaven.repo.local=C:\v3\m2 test
> I'll look for a better solution.
>
> Thanks,
> Ming
>
> Vivek Pandey wrote:
>> Does, C:/Documents and
>> Settings/bnevins/.m2/repository/org/glassfish/scripting/bundle/jruby-all/jruby/lib/ruby/gems/1.8/ge
>>
>> ms/rails-2.3.4/bin/rails exist? I see the path separators mixed up
>> (forward and back slashes).
>>
>> Ming, perhaps either there is some issue with the path or unzip your
>> job is doing. Can you check why its happening on Windows?
>>
>> -vivek.
>>
>> Byron Nevins wrote:
>>> QL Tests never pass on Windows for me for the past week or so. Is
>>> anyone seeing QL tests *passing* on Windows?
>>>
>>> create-app-common:
>>> [echo] JRUBY_HOME: C:\Documents and
>>> Settings\bnevins/.m2/repository/org/glassfish/scripting/bundle/jruby-all/jruby
>>>
>>> [echo] C:\Documents and
>>> Settings\bnevins/.m2/repository/org/glassfish/scripting/bundle/jruby-all/jruby/bin/jruby
>>> -S rails -d mysql hell
>>> oworld
>>>
>>> create-app-common-unix:
>>>
>>> create-app-common-windows:
>>> [exec] C:/Documents and
>>> Settings/bnevins/.m2/repository/org/glassfish/scripting/bundle/jruby-all/jruby/bin/../bin/rails:19:in
>>> `load': N
>>> o such file to load -- "C:/Documents and
>>> Settings/bnevins/.m2/repository/org/glassfish/scripting/bundle/jruby-all/jruby/lib/ruby/gems/1.8/ge
>>>
>>> ms/rails-2.3.4/bin/rails" (LoadError)
>>> [exec] from C:/Documents and
>>> Settings/bnevins/.m2/repository/org/glassfish/scripting/bundle/jruby-all/jruby/bin/../bin/rails:19
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> [ERROR] BUILD ERROR
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> [INFO] An Ant BuildException has occured: The following error
>>> occurred while executing this line:
>>> C:\gf\v3\tests\quicklook\build.xml:110: The following error occurred
>>> while executing this line:
>>> C:\gf\v3\tests\quicklook\build.xml:190: The following error occurred
>>> while executing this line:
>>> C:\gf\v3\tests\quicklook\web\jruby\build.xml:34: The following error
>>> occurred while executing this line:
>>> C:\gf\v3\tests\quicklook\web\jruby\build.xml:63: The following error
>>> occurred while executing this line:
>>> C:\gf\v3\tests\quicklook\web\jruby\build.xml:77: exec returned: 1
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> [INFO] For more information, run Maven with the -e switch
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> [INFO] Total time: 5 minutes 41 seconds
>>> [INFO] Finished at: Wed Nov 04 23:18:07 PST 2009
>>> [INFO] Final Memory: 11M/22M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> 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
>