Gurkan! According to the spec the javax.inject.Model is the correct one, isn't?
So we must not change this package in OUR source but only report this to Pete Muir so he can change the TCK to reflect the Spec. LieGrue, strub --- [email protected] <[email protected]> schrieb am Fr, 27.2.2009: > Von: [email protected] <[email protected]> > Betreff: svn commit: r748647 - in > /incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax: > annotation/Model.java webbeans/ webbeans/Model.java > An: [email protected] > Datum: Freitag, 27. Februar 2009, 20:26 > Author: gerdogdu > Date: Fri Feb 27 19:26:45 2009 > New Revision: 748647 > > URL: http://svn.apache.org/viewvc?rev=748647&view=rev > Log: > Changing API package for Model class to run the TCK > succesfully. > > Added: > > incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/ > > incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Model.java > - copied, changed from r739746, > incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/annotation/Model.java > Removed: > > incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/annotation/Model.java > > Copied: > incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Model.java > (from r739746, > incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/annotation/Model.java) > URL: > http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Model.java?p2=incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Model.java&p1=incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/annotation/Model.java&r1=739746&r2=748647&rev=748647&view=diff > ============================================================================== > --- > incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/annotation/Model.java > (original) > +++ > incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/webbeans/Model.java > Fri Feb 27 19:26:45 2009 > @@ -11,7 +11,7 @@ > * KIND, either express or implied. See the License for > the specific language > * governing permissions and limitations under the > License. > */ > -package javax.annotation; > +package javax.webbeans; > > import static java.lang.annotation.ElementType.METHOD; > import static java.lang.annotation.ElementType.TYPE; > @@ -22,6 +22,8 @@ > import java.lang.annotation.Retention; > import java.lang.annotation.Target; > > +import javax.annotation.Named; > +import javax.annotation.Stereotype; > import javax.context.RequestScoped; > import javax.inject.Production;
