Very puzzling...one module works fine, another doesn't, but both
specify the same dependency on HK2 and both import the same way...
On Mar 16, 2009, at 11:27 AM, Lloyd Chambers wrote:
> Has a change been made to HK2? I just tried compiling today's
> checkout...
>
>
> Lloyd
>
>
> [INFO] [hk2:hk2-compile]
> [INFO] Compiling 17 source files to /work/v3/code/common/amx-config-
> impl/target/classes
> /work/v3/code/common/amx-config-impl/src/main/java/org/glassfish/
> admin/amx/impl/config/DelegateToConfigBeanDelegate.java:498: cannot
> find symbol
> symbol : method get()
> location: class org.jvnet.hk2.config.Transactions
> Transactions.get().addTransactionsListener(myListener);
> ^
> /work/v3/code/common/amx-config-impl/src/main/java/org/glassfish/
> admin/amx/impl/config/DelegateToConfigBeanDelegate.java:517: cannot
> find symbol
> symbol : method get()
> location: class org.jvnet.hk2.config.Transactions
> Transactions.get().waitForDrain();
> ^
> /work/v3/code/common/amx-config-impl/src/main/java/org/glassfish/
> admin/amx/impl/config/DelegateToConfigBeanDelegate.java:519: cannot
> find symbol
> symbol : method get()
> location: class org.jvnet.hk2.config.Transactions
>
> Transactions.get().removeTransactionsListener(myListener);
> ^
> /work/v3/code/common/amx-config-impl/src/main/java/org/glassfish/
> admin/amx/impl/config/NameMappingHelper.java:83: non-static method
> getElementsNames(org.jvnet.hk2.config.ConfigBean) cannot be
> referenced from a static context
> final Set<String> xmlLeafNames =
> SetUtil.newStringSet(ConfigSupport.getElementsNames(mConfigBean));
> ^
> /work/v3/code/common/amx-config-impl/src/main/java/org/glassfish/
> admin/amx/impl/config/AMXConfigLoader.java:82: cannot find symbol
> symbol : method get()
> location: class org.jvnet.hk2.config.Transactions
> private final Transactions mTransactions = Transactions.get();
> ^
> Note: /work/v3/code/common/amx-config-impl/src/main/java/org/
> glassfish/admin/amx/impl/config/AMXConfigImplBase.java uses or
> overrides a deprecated API.
> Note: Recompile with -Xlint:deprecation 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