The weaver also needs one (and I suppose it does no harm to get it right
for tools and matcher too).

This has long been on the list of TODOs (see bugs like
https://bugs.eclipse.org/bugs/show_bug.cgi?id=338034) - I even prototyped
the implementation with bundlor (http://www.springsource.org/bundlor). I
created some  basic versions for testing but I don't believe the users got
back to me about whether what was being generated was correct.
Traditionally users just seemed to go the EBR and collect the versions from
there which had had their manifests regenerated. I'd be happy for someone
to take this on and sort it out properly for AspectJ, I'm more than happy
to help them progress it - I'd assume they have an environment in which to
verify the correctness of what is being created.

The AspectJ build process is a bit arcane, which can make something you'd
think would be easy, rather tricky, but I'll help a brave soul battle
through that.

cheers,
Andy



On 10 January 2013 06:51, M. P. <[email protected]> wrote:

> The aspectjrt.jar does not have a valid OSGi manifest at the moemnt. It
> would be nice if it did.
> In order to make it OSGi compliant the manifest should get a few more
> headers such as Export-Package.
> I saw that the aspectjrt.jar manifest is generated from this file
> http://git.eclipse.org/c/aspectj/org.aspectj.git/tree/aspectj5rt/aspectj5rt.mf.txt
> Since the packages listed in Export-Package should have versions adding
> this header to the manifest template is problemat because when the version
> placeholders are replaced with the real values the format of the manifest
> may become invalid.
> So how do you feel about generating the manifest in the build script via
> http://ant.apache.org/manual/Tasks/manifest.html?
>
> Thanks.
> _______________________________________________
> aspectj-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to