RE: [aspectwerkz-dev] annotations and running AW from idea
"Jonas Boner" <[email protected]>
| Newsgroups | gmane.comp.java.aspectwerkz.devel |
|---|---|
| Message-ID | <[email protected]> |
Ok, I see. I won't have time to fix this now. But I will have this in mind when I do the release (which unfortunately has been delayed until next week). Thanks for the input. /Jonas > -----Original Message----- > From: christoph sturm [mailto:chrisml-Ws/[email protected]] > Sent: Thursday, June 24, 2004 3:29 PM > To: [email protected] > Subject: Re: [aspectwerkz-dev] annotations and running AW from idea > > On Thu, 24 Jun 2004 15:21:13 +0100, Jonas Boner > <[email protected]> wrote: > > > > You mean that it complains since JAM is compiled with 1.3 > as target? > > What is the problem? What do you want me to do? > > sorry if my message was a bit cryptic :) > > my problem is that my own sources use 1.4 features (basically > just assert) when i run annotationC it complains > > example: > Loading source file > src\main\com\schaumwelt\portal\DefaultPortletWindowRenderer.java... > src\main\com\schaumwelt\portal\DefaultPortletWindowRenderer.java:24: > warning: as of release 1.4, assert is a keyword, and may not > be used as an identifier > assert portletRequest != null; > ^ > src\main\com\schaumwelt\portal\DefaultPortletWindowRenderer.ja > va:24: ';' > expected > assert portletRequest != null; > ^ > src\main\com\schaumwelt\portal\DefaultPortletWindowRenderer.java:25: > warning: as of release 1.4, assert is a keyword, and may not > be used as an identifier > assert portletResponse != null; > ^ > src\main\com\schaumwelt\portal\DefaultPortletWindowRenderer.ja > va:25: ';' > expected > assert portletResponse != null; > ^ > > so i need to tell the jam library that the input source code > uses 1.4 features. (like passing -source 1.4 to javac) > > thanks > chris > > > > > > > -----Original Message----- > > > From: christoph sturm [mailto:chrisml-Ws/[email protected]] > > > Sent: Thursday, June 24, 2004 2:56 PM > > To: > [email protected] > > Subject: Re: > [aspectwerkz-dev] annotations and running AW from idea > > > > > hi again > > > > I have now added a run configuration > for annotationC (i > > figured out that that is the class > that i want to run for > > annotations.). > > > > > > the only problem i have now is that it complains about > my > > assert statements in my code. there needs to be a way > to pass > > something like -source 1.4 to jam. How do i > accomplish that? > > > > > > regards > > > chris > > > > > > > > > > > > > > > > > >