[aspectc-user] Using AspectC with Eclipse in Linux

Pericles Leng Cheng pcheng at cs.ucy.ac.cy
Mon Oct 10 16:12:15 CEST 2005

 I tried working with Eclipse again but it simply won't let me build the
code. I am thinking that it might be because I had CDT installed before and
then I installed ACDT. When I look at my code in the myAspect I do not see
the icons related with aspects but simply a text file icon. When I disable
CDT from the plugins then I can see the icons and the execution advice but
then the code does NOT build at all. When I re-enable it I can build but the
aspect is not visible.

Can you please tell me if I can remove and reinstall the CDT and ACDT
plugins in Eclipse? Do I need to remove the directories for those plugins to
do that?

Thanking you in advance,


-----Original Message-----
From: Olaf Spinczyk [mailto:Olaf.Spinczyk at informatik.uni-erlangen.de] 
Sent: Monday, October 10, 2005 11:36 AM
To: Rainer Sand
Cc: Pericles Leng Cheng; aspectc-user at aspectc.org
Subject: Re: [aspectc-user] Using AspectC with Eclipse in Linux


you should also refer to the CDT documentation at
http://www.eclipse.org/cdt, because the ACDT is a CDT extension. There is a
users manual with more than 400 pages available.

Best regards,


Rainer Sand wrote:
> Hi Pericles,
> Pericles Leng Cheng schrieb:
>> Dear all,
>> This is my first time in this forum and my first time using AspectC.
>> Therefore most of my questions will probably be stupid.
>> I installed Eclipse version 3.0.2 and added the ACDT plugin for 
>> AspectC. I tried building a managed C and C++ file and it runs fine. 
>> Now I got the example code from the AspectC tutorial and tried to run 
>> it but I am not sure how to do that. I created the main.cpp and 
>> queue.h files and another file named ElementCounter2.ah but how do 
>> you build and run these?
> A managed C/C++ project should be built automatically (if the option 
> "Build automatically" is set). You can start the building process 
> manually in the menu bar under "Project" -> "Build Project".
>> I am new in using Eclipse too so I was wondering if there is a more 
>> detailed example showing how to use Eclipse to build and run it.
> >
> I don't know if you noticed the AspectC++ Development User Guide under 
> "Help" -> "Help Contents"? There you will find a tutorial to create a 
> hello world example with an AspectC++ Header and how to build it.
> Regards
> Rainer
>> Thank you in advance for helping me,
>> Pericles Leng Cheng
>> _______________________________________________
>> aspectc-user mailing list
>> aspectc-user at aspectc.org
>> http://www.aspectc.org/mailman/listinfo/aspectc-user
> _______________________________________________
> aspectc-user mailing list
> aspectc-user at aspectc.org
> http://www.aspectc.org/mailman/listinfo/aspectc-user

More information about the aspectc-user mailing list