Can ajdt works with product's export? [message #61191] |
Sun, 22 January 2006 21:36  |
Eclipse User |
|
|
|
Originally posted by: simon.xinaobo.com.cn
I am working with many plugin projects, one of which has some
aspectj files. When deploy, I need to export the
whole projects. So I create a product(i.e. product extension),
and use the export link at the product.
The export works fine, except that aspectj doesn't weave into it.
That means, the exported binary class files don't be weaved with
the aspect. How can I export them with the product's export?
Thanks.
--
Best wishes,
SimonLei
|
|
|
|
Re: Can ajdt works with product's export? [message #61267 is a reply to message #61215] |
Tue, 24 January 2006 00:31  |
Eclipse User |
|
|
|
Originally posted by: simon.xinaobo.com.cn
hi, Sian,
Thanks for your reply. I find a way to solve the problem,
not so graceful, but it works.
I use the ajdt to generate the build.xml(just right click on
the plugin.xml, then choose pde tools->generate build.xml with
aspectj support), then check the "custom build" in the build page
of plugin.xml description editior.
Then, when I export the product, the class is woven.
On Mon, 23 Jan 2006 20:29:38 +0800, Sian January <sjanuary@uk.ibm.com>
wrote:
> Hi Simon,
>
> We don't currently support exporting Eclipse products and have an
> enhancement open that tracks this.
> (https://bugs.eclipse.org/bugs/show_bug.cgi?id=102129). We do support
> exporting plug-ins individually ("Export plug-ins and fragments with
> AspectJ Support" from the export wizard), so it may be possible to
> export your plug-in that contains the aspect using that wizard and then
> copy it in to your product. I believe a similar workaround is described
> in the bug report I mentioned.
>
> Sian
>
>
--
Best wishes,
SimonLei
|
|
|
|
Re: Can ajdt works with product's export? [message #591956 is a reply to message #61215] |
Tue, 24 January 2006 00:31  |
Eclipse User |
|
|
|
hi, Sian,
Thanks for your reply. I find a way to solve the problem,
not so graceful, but it works.
I use the ajdt to generate the build.xml(just right click on
the plugin.xml, then choose pde tools->generate build.xml with
aspectj support), then check the "custom build" in the build page
of plugin.xml description editior.
Then, when I export the product, the class is woven.
On Mon, 23 Jan 2006 20:29:38 +0800, Sian January <sjanuary@uk.ibm.com>
wrote:
> Hi Simon,
>
> We don't currently support exporting Eclipse products and have an
> enhancement open that tracks this.
> (https://bugs.eclipse.org/bugs/show_bug.cgi?id=102129). We do support
> exporting plug-ins individually ("Export plug-ins and fragments with
> AspectJ Support" from the export wizard), so it may be possible to
> export your plug-in that contains the aspect using that wizard and then
> copy it in to your product. I believe a similar workaround is described
> in the bug report I mentioned.
>
> Sian
>
>
--
Best wishes,
SimonLei
|
|
|
Powered by
FUDForum. Page generated in 0.05248 seconds