Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » Eclipse 3.1M1 and JDK 1.5
Eclipse 3.1M1 and JDK 1.5 [message #40575] Sat, 11 September 2004 09:38 Go to next message
Eclipse UserFriend
Originally posted by: eclipse.objectopia.org

I'm using Eclipse3.1M1 and started using generics. The eclipse java editor
does not like it when I declare generic types in an AspectJ project (but
this is fine for a Java project)

Presumably since AJDT overrids the default Java editor it has not been
updated for this new syntax yet ? Also, is it possible to not use the
aspectj editor for .java files and only use the aspectj editor for .aj files
?
Re: Eclipse 3.1M1 and JDK 1.5 [message #40607 is a reply to message #40575] Sat, 11 September 2004 16:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: newsserver_mails.bodden.de

On Sat, 11 Sep 2004 10:38:01 +0100, Chris Burnley wrote:

> I'm using Eclipse3.1M1 and started using generics. The eclipse java editor
> does not like it when I declare generic types in an AspectJ project (but
> this is fine for a Java project)
>
> Presumably since AJDT overrids the default Java editor it has not been
> updated for this new syntax yet ? Also, is it possible to not use the
> aspectj editor for .java files and only use the aspectj editor for .aj files
> ?

You can switch the editor for each file by right-clicking the file icon in
the package explorer.

Eric

--
Eric Bodden, ICQ: 12656220, http://www.bodden.de, PGP: BB465582
Arithmetische Kodierung - eine umfassende Einführung
http://bodden.de/studies/publications/pub_ac_de/
Re: Eclipse 3.1M1 and JDK 1.5 [message #41012 is a reply to message #40575] Wed, 29 September 2004 14:49 Go to previous messageGo to next message
Sian January is currently offline Sian JanuaryFriend
Messages: 83
Registered: July 2009
Member
> Also, is it possible to not use the
> aspectj editor for .java files and only use the aspectj editor for .aj
files
> ?

You can change the default editor for a given file extension by clicking
'Window' > 'Preferences', expanding 'Workbench' and selecting 'File
Associations'. Then select the file type (e.g. "*.java") in the 'File
Types' box and change the default editor in the 'Associated Editors' section
below.

Sian January
AJDT fiddling with the Java Build path? [message #41665 is a reply to message #41012] Mon, 04 October 2004 09:10 Go to previous messageGo to next message
Michael Moser is currently offline Michael MoserFriend
Messages: 914
Registered: July 2009
Senior Member
I have a strange observation:

apparently since I converted a former Java Project to an AspectJ
project I noticed that "something" is fiddling with the build path
(right click on project => Properties => Java Build Path) of that
project:

I repeatedly now observed that all project imports (second tab at the
right "Projects") get unchecked and instead I get corresponding new
entries on the "Libraries" tab pointing to <project>/build/classes.

Who/which component is changing this and why?

Michael
sorry - wrong thread [message #41728 is a reply to message #41665] Mon, 04 October 2004 09:28 Go to previous message
Michael Moser is currently offline Michael MoserFriend
Messages: 914
Registered: July 2009
Senior Member
Apologies - by accident I made my new question appear as part of this
thread though it's completely unrelated. Please ignore!

Michael
Re: Eclipse 3.1M1 and JDK 1.5 [message #583067 is a reply to message #40575] Sat, 11 September 2004 16:47 Go to previous message
Eric Bodden is currently offline Eric BoddenFriend
Messages: 32
Registered: July 2009
Member
On Sat, 11 Sep 2004 10:38:01 +0100, Chris Burnley wrote:

> I'm using Eclipse3.1M1 and started using generics. The eclipse java editor
> does not like it when I declare generic types in an AspectJ project (but
> this is fine for a Java project)
>
> Presumably since AJDT overrids the default Java editor it has not been
> updated for this new syntax yet ? Also, is it possible to not use the
> aspectj editor for .java files and only use the aspectj editor for .aj files
> ?

You can switch the editor for each file by right-clicking the file icon in
the package explorer.

Eric

--
Eric Bodden, ICQ: 12656220, http://www.bodden.de, PGP: BB465582
Arithmetische Kodierung - eine umfassende Einführung
http://bodden.de/studies/publications/pub_ac_de/
Re: Eclipse 3.1M1 and JDK 1.5 [message #583288 is a reply to message #40575] Wed, 29 September 2004 14:49 Go to previous message
Sian January is currently offline Sian JanuaryFriend
Messages: 83
Registered: July 2009
Member
> Also, is it possible to not use the
> aspectj editor for .java files and only use the aspectj editor for .aj
files
> ?

You can change the default editor for a given file extension by clicking
'Window' > 'Preferences', expanding 'Workbench' and selecting 'File
Associations'. Then select the file type (e.g. "*.java") in the 'File
Types' box and change the default editor in the 'Associated Editors' section
below.

Sian January
AJDT fiddling with the Java Build path? [message #583570 is a reply to message #41012] Mon, 04 October 2004 09:10 Go to previous message
Michael Moser is currently offline Michael MoserFriend
Messages: 914
Registered: July 2009
Senior Member
I have a strange observation:

apparently since I converted a former Java Project to an AspectJ
project I noticed that "something" is fiddling with the build path
(right click on project => Properties => Java Build Path) of that
project:

I repeatedly now observed that all project imports (second tab at the
right "Projects") get unchecked and instead I get corresponding new
entries on the "Libraries" tab pointing to <project>/build/classes.

Who/which component is changing this and why?

Michael
sorry - wrong thread [message #583596 is a reply to message #41665] Mon, 04 October 2004 09:28 Go to previous message
Michael Moser is currently offline Michael MoserFriend
Messages: 914
Registered: July 2009
Senior Member
Apologies - by accident I made my new question appear as part of this
thread though it's completely unrelated. Please ignore!

Michael
Previous Topic:AJDT fiddling with the Java Build path?
Next Topic:Problem with AspectJ syntax: "no match for this type name"
Goto Forum:
  


Current Time: Fri Apr 26 03:27:54 GMT 2024

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

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

Back to the top