Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » Cannot create part for *.aj file?
Cannot create part for *.aj file? [message #47547] Tue, 08 February 2005 16:27 Go to next message
Barry Kaplan is currently offline Barry KaplanFriend
Messages: 230
Registered: July 2009
Senior Member
(I'm using 1.2.0.20050204153223 with 3.1M4)

If I create an aspect via "New Aspect Wizard", the file is created is
the .aj extension but the editor part cannot be created. Clearly this
must work else the plugin would not be usable. What step am I missing?

thanks!!

--
barry kaplan
groups1@memelet.com
Re: Cannot create part for *.aj file? [message #47580 is a reply to message #47547] Tue, 08 February 2005 16:29 Go to previous messageGo to next message
Barry Kaplan is currently offline Barry KaplanFriend
Messages: 230
Registered: July 2009
Senior Member
Is this:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=71460

--
barry kaplan
groups1@memelet.com
Re: Cannot create part for *.aj file? [message #47607 is a reply to message #47547] Tue, 08 February 2005 16:32 Go to previous messageGo to next message
Barry Kaplan is currently offline Barry KaplanFriend
Messages: 230
Registered: July 2009
Senior Member
So I change the plugin to create aspects with the .java extension. But
when now when I open the file (using AspectJ/Java Editor) the syntax is
not recoginized (ie, the keyword 'aspect' is marked as unrecognized).

--
barry kaplan
groups1@memelet.com
Re: Cannot create part for *.aj file? [message #47636 is a reply to message #47607] Tue, 08 February 2005 19:59 Go to previous messageGo to next message
Barry Kaplan is currently offline Barry KaplanFriend
Messages: 230
Registered: July 2009
Senior Member
Barry Kaplan wrote:

> So I change the plugin to create aspects with the .java extension. But
> when now when I open the file (using AspectJ/Java Editor) the syntax
> is not recoginized (ie, the keyword 'aspect' is marked as unrecognized).
>
Turning off "show errors as you type" seems to fix this problem.

--
barry kaplan
groups1@memelet.com
Re: Cannot create part for *.aj file? [message #47726 is a reply to message #47547] Wed, 09 February 2005 17:01 Go to previous messageGo to next message
Barry Kaplan is currently offline Barry KaplanFriend
Messages: 230
Registered: July 2009
Senior Member
Barry Kaplan wrote:

Well, I'm mighty confused. I just switched over to another workspace
(different code base) and created an *.aj file just fine, editor part
and all. Don't know what was wrong in the other workspace.

--
barry kaplan
groups1@memelet.com
Re: Cannot create part for *.aj file? [message #47756 is a reply to message #47726] Wed, 09 February 2005 17:08 Go to previous messageGo to next message
Barry Kaplan is currently offline Barry KaplanFriend
Messages: 230
Registered: July 2009
Senior Member
Barry Kaplan wrote:

> Barry Kaplan wrote:
>
> Well, I'm mighty confused. I just switched over to another workspace
> (different code base) and created an *.aj file just fine, editor part
> and all. Don't know what was wrong in the other workspace.
>
I take it back. The editor part created but it has no functionality (eg,
no error marking, no completion). I had to rename the file back to a *.java.

--
barry kaplan
groups1@memelet.com
Re: Cannot create part for *.aj file? [message #47785 is a reply to message #47756] Wed, 09 February 2005 17:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mchapman.uk.ibm.com

On Wed, 09 Feb 2005 12:08:02 -0500, Barry Kaplan wrote:
> I take it back. The editor part created but it has no functionality (eg,
> no error marking, no completion). I had to rename the file back to a *.java.

Barry,

Clearly things are going pretty wrong for you. Could you look in your
error log for any clues? (Window > Show View > Error Log)

Regards,

Matt.

--
Matt Chapman
AJDT Development, http://www.eclipse.org/ajdt
Re: Cannot create part for *.aj file? [message #47813 is a reply to message #47785] Wed, 09 February 2005 18:10 Go to previous messageGo to next message
Barry Kaplan is currently offline Barry KaplanFriend
Messages: 230
Registered: July 2009
Senior Member
Well, now it works again. After some random changing settings and
eclipse restarts, *.aj files are working as expected (with of course
lots of missing functionality like imports, completion, etc that I
understand is to be expected at this time). I'll stop posting problems
for a bit until I can get things stabilized and see some patterns.

thanks!

(BTW, where is the better place for ajdt issues: here or the mailing list?)

--
barry kaplan
groups1@memelet.com
Re: Cannot create part for *.aj file? [message #47843 is a reply to message #47813] Thu, 10 February 2005 10:33 Go to previous message
Eclipse UserFriend
Originally posted by: mchapman.uk.ibm.com

On Wed, 09 Feb 2005 13:10:28 -0500, Barry Kaplan wrote:
> Well, now it works again. After some random changing settings and
> eclipse restarts, *.aj files are working as expected (with of course
> lots of missing functionality like imports, completion, etc that I
> understand is to be expected at this time). I'll stop posting problems
> for a bit until I can get things stabilized and see some patterns.

Hi Barry,

Much more of this functionality should be working in .aj files in the
1.2.0 stream. Add import, organise imports, and ctrl-space content assist
should in general be working, subject only to minor limitations.

If you're still getting problems please post any stack traces from your
error log, and entries from the AJDT Event Trace view (under Show view >
Other > AspectJ).

> (BTW, where is the better place for ajdt issues: here or the mailing list?)

We monitor both places, but here is probably best for these sort of
problems, as the ajdt-dev list is primarily for development discussions.

Regards,

Matt.

--
Matt Chapman
AJDT Development, http://www.eclipse.org/ajdt
Re: Cannot create part for *.aj file? [message #586480 is a reply to message #47547] Tue, 08 February 2005 16:29 Go to previous message
Barry Kaplan is currently offline Barry KaplanFriend
Messages: 230
Registered: July 2009
Senior Member
Is this:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=71460

--
barry kaplan
groups1@memelet.com
Re: Cannot create part for *.aj file? [message #586491 is a reply to message #47547] Tue, 08 February 2005 16:32 Go to previous message
Barry Kaplan is currently offline Barry KaplanFriend
Messages: 230
Registered: July 2009
Senior Member
So I change the plugin to create aspects with the .java extension. But
when now when I open the file (using AspectJ/Java Editor) the syntax is
not recoginized (ie, the keyword 'aspect' is marked as unrecognized).

--
barry kaplan
groups1@memelet.com
Re: Cannot create part for *.aj file? [message #586500 is a reply to message #47607] Tue, 08 February 2005 19:59 Go to previous message
Barry Kaplan is currently offline Barry KaplanFriend
Messages: 230
Registered: July 2009
Senior Member
Barry Kaplan wrote:

> So I change the plugin to create aspects with the .java extension. But
> when now when I open the file (using AspectJ/Java Editor) the syntax
> is not recoginized (ie, the keyword 'aspect' is marked as unrecognized).
>
Turning off "show errors as you type" seems to fix this problem.

--
barry kaplan
groups1@memelet.com
Re: Cannot create part for *.aj file? [message #586556 is a reply to message #47547] Wed, 09 February 2005 17:01 Go to previous message
Barry Kaplan is currently offline Barry KaplanFriend
Messages: 230
Registered: July 2009
Senior Member
Barry Kaplan wrote:

Well, I'm mighty confused. I just switched over to another workspace
(different code base) and created an *.aj file just fine, editor part
and all. Don't know what was wrong in the other workspace.

--
barry kaplan
groups1@memelet.com
Re: Cannot create part for *.aj file? [message #586570 is a reply to message #47726] Wed, 09 February 2005 17:08 Go to previous message
Barry Kaplan is currently offline Barry KaplanFriend
Messages: 230
Registered: July 2009
Senior Member
Barry Kaplan wrote:

> Barry Kaplan wrote:
>
> Well, I'm mighty confused. I just switched over to another workspace
> (different code base) and created an *.aj file just fine, editor part
> and all. Don't know what was wrong in the other workspace.
>
I take it back. The editor part created but it has no functionality (eg,
no error marking, no completion). I had to rename the file back to a *.java.

--
barry kaplan
groups1@memelet.com
Re: Cannot create part for *.aj file? [message #586584 is a reply to message #47756] Wed, 09 February 2005 17:36 Go to previous message
Matt Chapman is currently offline Matt ChapmanFriend
Messages: 429
Registered: July 2009
Senior Member
On Wed, 09 Feb 2005 12:08:02 -0500, Barry Kaplan wrote:
> I take it back. The editor part created but it has no functionality (eg,
> no error marking, no completion). I had to rename the file back to a *.java.

Barry,

Clearly things are going pretty wrong for you. Could you look in your
error log for any clues? (Window > Show View > Error Log)

Regards,

Matt.

--
Matt Chapman
AJDT Development, http://www.eclipse.org/ajdt
Re: Cannot create part for *.aj file? [message #586592 is a reply to message #47785] Wed, 09 February 2005 18:10 Go to previous message
Barry Kaplan is currently offline Barry KaplanFriend
Messages: 230
Registered: July 2009
Senior Member
Well, now it works again. After some random changing settings and
eclipse restarts, *.aj files are working as expected (with of course
lots of missing functionality like imports, completion, etc that I
understand is to be expected at this time). I'll stop posting problems
for a bit until I can get things stabilized and see some patterns.

thanks!

(BTW, where is the better place for ajdt issues: here or the mailing list?)

--
barry kaplan
groups1@memelet.com
Re: Cannot create part for *.aj file? [message #586604 is a reply to message #47813] Thu, 10 February 2005 10:33 Go to previous message
Matt Chapman is currently offline Matt ChapmanFriend
Messages: 429
Registered: July 2009
Senior Member
On Wed, 09 Feb 2005 13:10:28 -0500, Barry Kaplan wrote:
> Well, now it works again. After some random changing settings and
> eclipse restarts, *.aj files are working as expected (with of course
> lots of missing functionality like imports, completion, etc that I
> understand is to be expected at this time). I'll stop posting problems
> for a bit until I can get things stabilized and see some patterns.

Hi Barry,

Much more of this functionality should be working in .aj files in the
1.2.0 stream. Add import, organise imports, and ctrl-space content assist
should in general be working, subject only to minor limitations.

If you're still getting problems please post any stack traces from your
error log, and entries from the AJDT Event Trace view (under Show view >
Other > AspectJ).

> (BTW, where is the better place for ajdt issues: here or the mailing list?)

We monitor both places, but here is probably best for these sort of
problems, as the ajdt-dev list is primarily for development discussions.

Regards,

Matt.

--
Matt Chapman
AJDT Development, http://www.eclipse.org/ajdt
Previous Topic:How to include/exclude basic types in pointcuts?
Next Topic:How to exclude a specific field from a pointcut?
Goto Forum:
  


Current Time: Thu Sep 26 11:20:17 GMT 2024

Powered by FUDForum. Page generated in 0.06848 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top