[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[pde-build-dev] PDE.build & maven classpath computation
|
Hi All,
Attached is a bundle we can use as a
starting point for integrating pde.build style classpath computation with
maven.
- ClasspathComputer3_0.java was extracted
from pde.build and simplified for this exercise. In the future we
may want to restore whatever parts of the removed functionality make sense
for maven. The main focus of the simplification of the assumption
that we will only be building one thing at a time in maven, that is all
our dependencies will exist in the repository as opposed to being built
at the same time as us. This class also generates access rules that
can be passed to the JDT compiler.
- MavenState.java was based on the PDEState
from pde.build. It is a wrapper to the osgi state.
- MavenGenerator is a simple example entry
point that adds jar to the state and builds the classpath for a given bundle.
The next step would be to make this
into a maven plugin that can interact with the maven project..
This bundle depends on the org.eclipse.osgi
bundle. Find attached a pom.xml that can be used to fetch and build
org.eclipse.osgi. (Although the pom.xml is not 100% , the bundle's
version in the manifest will need tweaking).
-Andrew
Attachment:
org.eclipse.pde.maven_1.0.0.200606291718.jar
Description: Binary data
Attachment:
pom.xml
Description: Binary data