[aspectc-user] Using AspectC with Eclipse in Linux

Rainer Sand zandyman at gmx.de
Mon Oct 10 20:34:13 CEST 2005


Hi Pericles,

you have to uninstall the ACDT and the CDT under "Help" -> "Software 
Updates" -> "Manage Configuration" (first disable them and then 
uninstall them)
Just deactivating the CDT plug-ins won't work, because the ACDT is using 
almost all CDT plug-ins.

After you have uninstalled the plug-ins completely, you can reinstall 
the ACDT (but only the ACDT!)

Regards

Rainer

Pericles Leng Cheng wrote:
>  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,
> 
> Pericles
> 
> -----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
> 
> Hi,
> 
> 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,
> 
> Olaf
> 
> 
> 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
>>>



More information about the aspectc-user mailing list