|Re: JUnit 3.8.2, target platforms [message #545177 is a reply to message #545173]
||Tue, 06 July 2010 23:23
| Miles Parker
Registered: July 2009
thomas, please see below..|
|Thomas Hallgren wrote on Tue, 06 July 2010 17:55|
|On 07/06/2010 10:22 PM, Miles Parker wrote:|
> Nope, it's in included in org.eclipse.jdt feature.xml, the version is
> explicit (i.e. version="3.6.0.v20100602-1600"). I also have feature
> dependencies on it. I've tried it both with including it in my own
> features (with an explicit version) and not. 4.8.1 does come in. My
> target platform includes it.
That doesn't sound good. Can you create a reproducible example in a bugzilla? I'm on vacation right now but I could have
a look once I get back (on July 15).
Sure -- hopefully I'll figure it out before then. Note that the issue with org.apache.loggings feels uncomfortably familiar. PDE build doesn't seem to do well with multiple dependencies to the same versions drawn from different sources which is why for this very common stuff people use Imported-Packages rather than Required-Bundle.
|s it using the|
> platform from my IDE?
No, not unless that's the active target platform. Buckminster uses the target platform that is used for the normal
Sorry, that's what I mean -- the target platform I've specified in my IDE. I'm assuming that I want to have the delta pack in there. I am able to do a working manual product build using that target platform.
|> Also it is not clear to me if for additional pieces that are pulled from|
> other websites..should those be in the target platform or defined
> somewhere else?
You can start with an empty target platform and have Buckminster populate both that and the workspace with one single
import. This is what our (Buckminsters) own build does. We create an empty target platform consisting of one directory
container. We set that as the active target platform and then we call the "import" command. The defaults ensures that
all binary material ends up in the target platform and all source ends up in the workspace.
Another way is to use a PDE target platform definition and first populate the target platform using that and then use an
import command to populate the workspace. My preference is to use one single import but I know that there are many that
want a more direct control over the TP.
OK, I know it probably seems straightforward, but it would be really helpful to have a simple example of this perhaps in the mail app. The Building a Target Platform section in http://wiki.eclipse.org/Building_an_RCP_application_with_hud son_(Buckminster) was really opaque to me..it sounded like I needed to hand edit a bunch of xml files just to get platform, executable and p2 for rcpp2.
Looking at Ralf's example it seems like ti should be possible to just create a target platform using the Eclipse IDE preferences, save it and then invoke it from command-line by doing:
importtargetdefinition -A 'path/to/my.project/sdk.target'
(And once you get that right stick it into your build settings.)
Am I getting that right?
thanks and I should let you get back to your vacation,
Powered by FUDForum
. Page generated in 0.03826 seconds