Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » pdebuild and weaving aspects
pdebuild and weaving aspects [message #54070] Wed, 29 June 2005 05:06 Go to next message
Aaron Oathout is currently offline Aaron OathoutFriend
Messages: 10
Registered: July 2009
Junior Member
I have an rcp application that I have been building using pdebuild
without any issues. I've introduced aspectj into the project to handle
cross-cutting concerns but now when I run pdebuild (using
org.eclipse.releng.basebuilder) none of my aspects are being weaved into
the plugins. Is there a way to tell pdebuild to weave the aspects into
my aspectj enabled plugin projects? I assumed that pdebuild would
recognize the ajbuilder and ajnature but at this point it looks like I
assumed wrong. Has anybody been able to accomplish this? I should
mention that this process has to run in a headless eclipse mode since it
will be called from cruisecontrol.

Thanks,

Aaron
Re: pdebuild and weaving aspects [message #54156 is a reply to message #54070] Wed, 29 June 2005 15:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mchapman.uk.ibm.com

On Wed, 29 Jun 2005 00:06:47 -0500, Aaron Oathout wrote:
> I have an rcp application that I have been building using pdebuild
> without any issues. I've introduced aspectj into the project to handle
> cross-cutting concerns but now when I run pdebuild (using
> org.eclipse.releng.basebuilder) none of my aspects are being weaved into
> the plugins. Is there a way to tell pdebuild to weave the aspects into
> my aspectj enabled plugin projects? I assumed that pdebuild would
> recognize the ajbuilder and ajnature but at this point it looks like I
> assumed wrong. Has anybody been able to accomplish this? I should
> mention that this process has to run in a headless eclipse mode since it
> will be called from cruisecontrol.

Hi Aaron,

I'm not that familiar with the releng.basebuilder plugin, but it is almost
certainly the case that it doesn't know about the AspectJ nature. Please
raise a bug against AJDT for this, and we'll investigate further,
reassigning to the appropriate component as necessary:
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=AJDT

You should at least be able to use the base PDE functionality of
right-clicking of a plugin.xml file and selecting PDE Tools > Create Ant
Build File with AspectJ Support. This creates a build.xml file which uses
the "iajc" ant task to build your AspectJ enabled plugins, which can then
be run outside of eclipse (launched by cruisecontrol for example).

Regards,

Matt.

--
Matt Chapman
AJDT Development, http://www.eclipse.org/ajdt
Re: pdebuild and weaving aspects [message #54209 is a reply to message #54156] Wed, 29 June 2005 20:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: aoathout.ifmc.sdps.org

Matt Chapman wrote:
> On Wed, 29 Jun 2005 00:06:47 -0500, Aaron Oathout wrote:
>
>>I have an rcp application that I have been building using pdebuild
>>without any issues. I've introduced aspectj into the project to handle
>>cross-cutting concerns but now when I run pdebuild (using
>>org.eclipse.releng.basebuilder) none of my aspects are being weaved into
>>the plugins. Is there a way to tell pdebuild to weave the aspects into
>>my aspectj enabled plugin projects? I assumed that pdebuild would
>>recognize the ajbuilder and ajnature but at this point it looks like I
>>assumed wrong. Has anybody been able to accomplish this? I should
>>mention that this process has to run in a headless eclipse mode since it
>>will be called from cruisecontrol.
>
>
> Hi Aaron,
>
> I'm not that familiar with the releng.basebuilder plugin, but it is almost
> certainly the case that it doesn't know about the AspectJ nature. Please
> raise a bug against AJDT for this, and we'll investigate further,
> reassigning to the appropriate component as necessary:
> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=AJDT
>
> You should at least be able to use the base PDE functionality of
> right-clicking of a plugin.xml file and selecting PDE Tools > Create Ant
> Build File with AspectJ Support. This creates a build.xml file which uses
> the "iajc" ant task to build your AspectJ enabled plugins, which can then
> be run outside of eclipse (launched by cruisecontrol for example).
>
> Regards,
>
> Matt.
>
Hi Matt,

I will try to export the ant script and use those again. I've tried this
approach before but it didn't seem to build anything when running from
the command line (works greating running inside the ide). I probably
didn't specify the correct parameters. I will also detail exactly how
I'm using pdebuild and the org.eclipse.releng.basebuilder to build my
rcp application and enter it into bugzilla.

Thanks,

Aaron
Re: pdebuild and weaving aspects [message #54235 is a reply to message #54156] Thu, 30 June 2005 02:14 Go to previous message
Aaron Oathout is currently offline Aaron OathoutFriend
Messages: 10
Registered: July 2009
Junior Member
Matt Chapman wrote:
> On Wed, 29 Jun 2005 00:06:47 -0500, Aaron Oathout wrote:
>
>>I have an rcp application that I have been building using pdebuild
>>without any issues. I've introduced aspectj into the project to handle
>>cross-cutting concerns but now when I run pdebuild (using
>>org.eclipse.releng.basebuilder) none of my aspects are being weaved into
>>the plugins. Is there a way to tell pdebuild to weave the aspects into
>>my aspectj enabled plugin projects? I assumed that pdebuild would
>>recognize the ajbuilder and ajnature but at this point it looks like I
>>assumed wrong. Has anybody been able to accomplish this? I should
>>mention that this process has to run in a headless eclipse mode since it
>>will be called from cruisecontrol.
>
>
> Hi Aaron,
>
> I'm not that familiar with the releng.basebuilder plugin, but it is almost
> certainly the case that it doesn't know about the AspectJ nature. Please
> raise a bug against AJDT for this, and we'll investigate further,
> reassigning to the appropriate component as necessary:
> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=AJDT
>
> You should at least be able to use the base PDE functionality of
> right-clicking of a plugin.xml file and selecting PDE Tools > Create Ant
> Build File with AspectJ Support. This creates a build.xml file which uses
> the "iajc" ant task to build your AspectJ enabled plugins, which can then
> be run outside of eclipse (launched by cruisecontrol for example).
>
> Regards,
>
> Matt.
>
I have create a bug report and attached a simple aspectj enabled rcp app
project that uses pdebuild in a headless environment.

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

Thanks,

Aaron
Re: pdebuild and weaving aspects [message #589072 is a reply to message #54070] Wed, 29 June 2005 15:19 Go to previous message
Matt Chapman is currently offline Matt ChapmanFriend
Messages: 429
Registered: July 2009
Senior Member
On Wed, 29 Jun 2005 00:06:47 -0500, Aaron Oathout wrote:
> I have an rcp application that I have been building using pdebuild
> without any issues. I've introduced aspectj into the project to handle
> cross-cutting concerns but now when I run pdebuild (using
> org.eclipse.releng.basebuilder) none of my aspects are being weaved into
> the plugins. Is there a way to tell pdebuild to weave the aspects into
> my aspectj enabled plugin projects? I assumed that pdebuild would
> recognize the ajbuilder and ajnature but at this point it looks like I
> assumed wrong. Has anybody been able to accomplish this? I should
> mention that this process has to run in a headless eclipse mode since it
> will be called from cruisecontrol.

Hi Aaron,

I'm not that familiar with the releng.basebuilder plugin, but it is almost
certainly the case that it doesn't know about the AspectJ nature. Please
raise a bug against AJDT for this, and we'll investigate further,
reassigning to the appropriate component as necessary:
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=AJDT

You should at least be able to use the base PDE functionality of
right-clicking of a plugin.xml file and selecting PDE Tools > Create Ant
Build File with AspectJ Support. This creates a build.xml file which uses
the "iajc" ant task to build your AspectJ enabled plugins, which can then
be run outside of eclipse (launched by cruisecontrol for example).

Regards,

Matt.

--
Matt Chapman
AJDT Development, http://www.eclipse.org/ajdt
Re: pdebuild and weaving aspects [message #589100 is a reply to message #54156] Wed, 29 June 2005 20:55 Go to previous message
Aaron Oathout is currently offline Aaron OathoutFriend
Messages: 10
Registered: July 2009
Junior Member
Matt Chapman wrote:
> On Wed, 29 Jun 2005 00:06:47 -0500, Aaron Oathout wrote:
>
>>I have an rcp application that I have been building using pdebuild
>>without any issues. I've introduced aspectj into the project to handle
>>cross-cutting concerns but now when I run pdebuild (using
>>org.eclipse.releng.basebuilder) none of my aspects are being weaved into
>>the plugins. Is there a way to tell pdebuild to weave the aspects into
>>my aspectj enabled plugin projects? I assumed that pdebuild would
>>recognize the ajbuilder and ajnature but at this point it looks like I
>>assumed wrong. Has anybody been able to accomplish this? I should
>>mention that this process has to run in a headless eclipse mode since it
>>will be called from cruisecontrol.
>
>
> Hi Aaron,
>
> I'm not that familiar with the releng.basebuilder plugin, but it is almost
> certainly the case that it doesn't know about the AspectJ nature. Please
> raise a bug against AJDT for this, and we'll investigate further,
> reassigning to the appropriate component as necessary:
> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=AJDT
>
> You should at least be able to use the base PDE functionality of
> right-clicking of a plugin.xml file and selecting PDE Tools > Create Ant
> Build File with AspectJ Support. This creates a build.xml file which uses
> the "iajc" ant task to build your AspectJ enabled plugins, which can then
> be run outside of eclipse (launched by cruisecontrol for example).
>
> Regards,
>
> Matt.
>
Hi Matt,

I will try to export the ant script and use those again. I've tried this
approach before but it didn't seem to build anything when running from
the command line (works greating running inside the ide). I probably
didn't specify the correct parameters. I will also detail exactly how
I'm using pdebuild and the org.eclipse.releng.basebuilder to build my
rcp application and enter it into bugzilla.

Thanks,

Aaron
Re: pdebuild and weaving aspects [message #589108 is a reply to message #54156] Thu, 30 June 2005 02:14 Go to previous message
Aaron Oathout is currently offline Aaron OathoutFriend
Messages: 10
Registered: July 2009
Junior Member
Matt Chapman wrote:
> On Wed, 29 Jun 2005 00:06:47 -0500, Aaron Oathout wrote:
>
>>I have an rcp application that I have been building using pdebuild
>>without any issues. I've introduced aspectj into the project to handle
>>cross-cutting concerns but now when I run pdebuild (using
>>org.eclipse.releng.basebuilder) none of my aspects are being weaved into
>>the plugins. Is there a way to tell pdebuild to weave the aspects into
>>my aspectj enabled plugin projects? I assumed that pdebuild would
>>recognize the ajbuilder and ajnature but at this point it looks like I
>>assumed wrong. Has anybody been able to accomplish this? I should
>>mention that this process has to run in a headless eclipse mode since it
>>will be called from cruisecontrol.
>
>
> Hi Aaron,
>
> I'm not that familiar with the releng.basebuilder plugin, but it is almost
> certainly the case that it doesn't know about the AspectJ nature. Please
> raise a bug against AJDT for this, and we'll investigate further,
> reassigning to the appropriate component as necessary:
> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=AJDT
>
> You should at least be able to use the base PDE functionality of
> right-clicking of a plugin.xml file and selecting PDE Tools > Create Ant
> Build File with AspectJ Support. This creates a build.xml file which uses
> the "iajc" ant task to build your AspectJ enabled plugins, which can then
> be run outside of eclipse (launched by cruisecontrol for example).
>
> Regards,
>
> Matt.
>
I have create a bug report and attached a simple aspectj enabled rcp app
project that uses pdebuild in a headless environment.

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

Thanks,

Aaron
Previous Topic:BCException: Can't open charsets.jar
Next Topic:asm - advice relations
Goto Forum:
  


Current Time: Thu Apr 25 04:02:18 GMT 2024

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

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

Back to the top