There are two potential changes that is causing the compilation failure:
ClassLoader parentCL = snifMan.createSnifferParentCL(null);
SnifferManager.createSnifferParentCL(ClassLoader) method is removed from
SnifferManager. Now for embedded case, which class loader it is supposed
to use that would be equivalent to SnifferManager.createSnifferParentCL()?
Also since DeploymentContextImpl.setClassLoader(ClassLoader ) is
removed, how do I use it?
The embedded API is pretty critical to be used for Grails
RunAppGF.groovy script as well as for glassfish gem. I am ready to make
the changes but with the changes mentioned above not sure how to proceed?
-vivek.
Jerome Dochez wrote:
> there were some changes made to DeploymentContext, looks like we need
> to enhance the embedded impl.
>
> jerome
>
> Nandini Ektare wrote:
>> I hit this error on latest build... Anyone else sees it?
>>
>> [INFO] [compiler:compile]
>> [INFO] Compiling 17 source files to
>> /export/home/nandini/v3/embedded/api/target/classes
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Compilation failure
>> /export/home/nandini/v3/embedded/api/src/main/java/org/glassfish/embed/AppServer.java:[534,25]
>> cannot find symbol
>> symbol : method setClassLoader(java.lang.ClassLoader)
>> location: class org.glassfish.deployment.common.DeploymentContextImpl
>>
>> /export/home/nandini/v3/embedded/api/src/main/java/org/glassfish/embed/AppServer.java:[534,25]
>> cannot find symbol
>> symbol : method setClassLoader(java.lang.ClassLoader)
>> location: class org.glassfish.deployment.common.DeploymentContextImpl
>>
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 2 minutes 44 seconds
>> [INFO] Finished at: Tue Sep 02 16:13:52 PDT 2008
>> [INFO] Final Memory: 26M/48M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> -Nandini
>>
>> ---------------------------------------------------------------------
>> 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
>