Home » Language IDEs » AspectJ » pdebuild and weaving aspects
pdebuild and weaving aspects [message #54070] |
Wed, 29 June 2005 01:06  |
Eclipse User |
|
|
|
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 11:19   |
Eclipse User |
|
|
|
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 16:55   |
Eclipse User |
|
|
|
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] |
Wed, 29 June 2005 22:14  |
Eclipse User |
|
|
|
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 11:19  |
Eclipse User |
|
|
|
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 16:55  |
Eclipse User |
|
|
|
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] |
Wed, 29 June 2005 22:14  |
Eclipse User |
|
|
|
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
|
|
|
Goto Forum:
Current Time: Tue Mar 11 07:20:38 EDT 2025
Powered by FUDForum. Page generated in 0.07460 seconds
|