dev@glassfish.java.net

javax.annotation.jar

From: Hong Zhang <hong.hz.zhang_at_oracle.com>
Date: Thu, 23 Sep 2010 14:46:36 -0400

Does anyone know why javax.annotation.jar is no longer in the
$GF_HOME/modules/endorsed directory? This jar needs to be placed there
so the Resource annotation class in the glassfish could override the one
from JDK. The deployment dev tests are failing due to this change.

I looked at the packager/glassfish-common-tmp/build.xml (is this the
right file that I am looking at?):
      <move
file="target/stage/${install.dir.name}/glassfish/modules/javax.annotation.jar"
todir="target/stage/${install.dir.name}/glassfish/modules/endorsed"
failonerror="false"/>

it seems it is still trying to move the javax.annotation.jar to the
endorsed dir as part of the packaging process, not sure why the jar
would be missing.

Thanks,

- Hong