dev@glassfish.java.net

Re: [v3] Compilation error in Quicklook

From: Lloyd Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Tue, 18 Aug 2009 12:41:23 -0700

Check your premises:

Does ConnectorRuntimeAPIProvider.PING_CONNECTION_POOL_KEY exist in
your source?

If so and you've built the source, then by definition something else
is wrong.

Lloyd

On Aug 18, 2009, at 11:53 AM, Kin-man Chung wrote:

> Stale? I did a svn update and mvn clean first, so what else do I
> need to do here?
>
> -Kin-man
>
> On 08/18/09 11:30, Lloyd Chambers wrote:
>> Someone made a change here recently, but I'm not seeing the problem
>> after I check out, so I think your build is stale.
>> —Lloyd
>> On Aug 18, 2009, at 11:23 AM, Kin-man Chung wrote:
>>> The got this error running quicklook, with a fresh v3 build.
>>>
>>> compile-tests:
>>> [echo] compiling test client to ..//classes/test
>>> [mkdir] Created dir: /export/work/v3x/tests/quicklook/classes/test
>>> [javac] Compiling 7 source files to /export/work/v3x/tests/
>>> quicklook/classes/test
>>> [javac] /export/work/v3x/tests/quicklook/amx/src/test/amx/
>>> AMXOtherTests.java:96: cannot find symbol
>>> [javac] symbol : variable PING_CONNECTION_POOL_KEY
>>> [javac] location: interface
>>> org.glassfish.admin.amx.base.ConnectorRuntimeAPIProvider
>>> [javac] assert
>>> pingResults
>>> .get(ConnectorRuntimeAPIProvider.PING_CONNECTION_POOL_KEY) != null
>>> || pingResults.get(REASON_FAILED_KEY) != null;
>>>
>>> [javac
>>> ] ^
>>> [javac] Note: Some input files use or override a deprecated API.
>>> [javac] Note: Recompile with -Xlint:deprecation for details.
>>> [javac] Note: Some input files use unchecked or unsafe operations.
>>> [javac] Note: Recompile with -Xlint:unchecked for details.
>>> [javac] 1 error
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD ERROR
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] An Ant BuildException has occured: The following error
>>> occurred while executing this line:
>>> /export/work/v3x/tests/quicklook/build.xml:93: The following error
>>> occurred while executing this line:
>>> /export/work/v3x/tests/quicklook/build.xml:149: The following
>>> error occurred while executing this line:
>>> /export/work/v3x/tests/quicklook/amx/build.xml:51: The following
>>> error occurred while executing this line:
>>> /export/work/v3x/tests/quicklook/gfproject/build-impl.xml:114:
>>> Compile failed; see the compiler error output for details.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>> Lloyd Chambers
>> lloyd.chambers_at_sun.com
>> GlassFish Team
>> ---------------------------------------------------------------------
>> 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
>

Lloyd Chambers
lloyd.chambers_at_sun.com
GlassFish Team