[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[equinox-dev] PDE build with a framework adapter
- From: Andrew Eisenberg <andrew@xxxxxxxxxxxx>
- Date: Mon, 16 Jul 2012 21:03:57 -0700
- Delivered-to: firstname.lastname@example.org
I have a framework adapter that I am creating. Other bundles in the
eclipse feature need to reference classes from the framework adapter.
In a runtime workbench, this is working fine. Similarly, I don't have
any problems at runtime. The bundles that require classes from the
framework adapter just use import-package and everything seems to
However, the problem is during a pde build. The compile of the
non-fragment bundles happens first and so they fail to compile since
the fragment is not yet compiled (note that there is no explicit
dependency on the fragment, there is only an import-package). I've
gotten around this through a horrendous hack where I compile the
source folder of the framework adapter into a jar that gets stuck on
the compile-time classpath of the bundles that need it. And it is
removed before creating the update site.
Does anyone know a way around this? Should I be asking this on the
PDE mailing list?