Now that eclipse 4.5 is out and the eclipse team decided to not build the so-called "delta-pack" anymore, I don'tknow how to perform a PDE headless build with ant..
Official PDE build documentation here http://help.eclipse.org/mars/index.jsp?nav=%2F4_2_0
states that variable "baseLocation" should point to "the location of an eclipse install containing all the pre-built features and plug-ins that your product requires in features/ and plugins/ subdirectories"
With v4.4, it was easy, this variable was pointing to the location of the unzipped delta-pack with all the platform specific stuff
But with v4.5, how to obtain/setup this "location of an eclipse install containing all the pre-built features and plug-ins..." ?
Here https://wiki.eclipse.org/Building , it is explained the "Preferred way of doing multi-platform builds", this is for build from eclipse only, not headless builds and this does not create a structure with features/plugins required for the multiplatform build anywhere.
So I don't know how to set the "baseLocation" variable to in my build...
Thx
(FYI, tycho is not -yet- an option for us..)
That "Building" wiki page also describes how to "roll your own" delta pack.
I just added that description, and ant script, last night, 6/24. I think that example script produce a better Delta Pack than what is in the R-4.5-201506032000 directories. I'd be interested in hearing of user experiences, say in Eclipse bug 470913.
[And, admit, I still "owe" the community an example of doing a headless build, for previous delta pack users, but it will center around doing a p2 oriented build. There place to begin reading about that is in the Eclipse Help, search for "p2 builds" and "fetching from repositories". ]
You can download the eclipse mars delta pack from eclipse here: http://download.eclipse.org/eclipse/downloads/drops4/R-4.5-201506032000/eclipse-4.5-delta-pack.zip
Deltapack is removed from 4.5.1 officially as per the below bug.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=480149
You can build multi-platform builds using the following wiki.
来源:https://stackoverflow.com/questions/31036996/eclipse-v4-5-without-delta-pack-how-to-perform-a-multiplatform-headless-pde-bui