Adding your plugin depends on what you want to do.
At a minimum, you need to add it to the list of modules to build in the top level pom.xml (your plugin will need it’s own pom.xml as well). You will also need to add the plugin to a feature, either your own feature, or one of the PTP features. If you provide your own feature, you’ll also need to add the feature to the list of modules.
If you provide your own feature and you want it included in the p2 repo, then you’ll need to add the feature to the category.xml in the org.eclipse.ptp.repo plugin. If you want to include it in the PTP package, then you’ll need to add the feature to org.eclipse.ptp.product-feature/feature.xml.
If you just want to add your plugin to an existing feature, then the org.eclipse.ptp.product-feature/feature.xml would be a good place. However you would also need to add it to one of the features in the category.xml file if you want it included in the p2 repo.
As far as the build platform is concerned, you should be able to run maven on any platform and end up with everything. I know this works on Linux and Mac, but I don’t know if maven is available on Windows.
Greg
Greg, Thanks very much. Sounds easy. I will give it a shot.
And then, what extra steps would be required to add my plug-in to the mix, so the resulting product contains all of PTP plus my plug-in? Also, from PTP's perspective, does it matter what platform I build everything on (Windows, Mac, Linux)?
Thanks! Rocky On Mon Jan 05 2015 at 9:16:03 AM Greg Watson < g.watson@xxxxxxxxxxxx> wrote: Rocky,
You need to edit the pom.xml and change the photran-site and remote-site properties to point at your local versions.
Regards, Greg
Okay, I believe I have made some progress on this. I have in my local workspace clones of these git repositories: org.eclipse.photran org.eclipse.ptp org.eclipse.ptp.master org.eclipse.remote
I am able to build what appears to be a functioning PTP Eclipse product using Maven, building from the top-level pom.xml (\org.eclipse.ptp\pom.xml) using Maven goals "clean verify".
However, when I look at which features/plugins are actually included in the product (Help-->Installation Details), it is not building PTP and Photran from my local workspace, instead it is using versions presumably from one of the update sites referenced in the pom.xml.
For example, the version of photran included is: Fortran Development Tools (Photran) 9.0.1.201410011810 org.eclipse.photran.feature.group Eclipse PTP
which was built back in October. But I would expect the qualifier to be today's date.
How to I instruct Maven to build the features (photran, ptp, remote) from my local workspace and then to use those when building the PTP product?
Rocky
On Tue Dec 30 2014 at 11:40:03 AM Rocky Dunlap < rocky.dunlap@xxxxxxxx> wrote: Thanks Beth. I have been stumbling around with doing the Maven build, but I've made some progress. Additional docs would be nice. I know it is working because Hudson is doing it--just not a lot of instructions for kicking off the build manually.
My changes are in the workspace--some to org.eclipse.remote and some to org.eclipse.photran. I think what I would like to do is build the whole PTP product with these updated features. The other dependencies (e.g., CDT) should come from the latest luna release.
Also, there are currently hard-coded repositories in the POMs. Are there plans to use an Eclipse target definition instead? It would certainly help in my case. https://wiki.eclipse.org/Tycho/Target_Platform#Target_platform_configuration
_______________________________________________ ptp-dev mailing list ptp-dev@xxxxxxxxxxxTo change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/ptp-dev
_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ptp-dev
_______________________________________________ ptp-dev mailing list ptp-dev@xxxxxxxxxxxTo change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/ptp-dev
|