[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] questions about profiles

Hey Scott,

A lot of the p2-related code can be found in the eclipse builder project. Check out:
This is the guy who runs the director to provision the SDK, etc. There are also some p2-related Ant calls in the buildAll.xml file in the root of that project.


p2-dev-bounces@xxxxxxxxxxx wrote on 09/10/2008 12:06:03 PM:

> Hi Pascal,
> Thanks much for the responses.  IDH :).
> Pascal Rapicault wrote:
> >
> > <stuff deleted>
> >
> > I'm not sure I fully grasped your question. But I'll try an answer to
> > the question "how do I bootstrap"?
> > At some point you have to have an IU that refers to all the pieces
> > that represent your application, and you invoke the director app (this
> > is what we use in the eclipse build) on that IU also passing along the
> > properties needed for your profile.
> > The question of the when do I bootstrap, mainly depends on how
> > changing is the environment you are deploying on. For example at one
> > point I remember Simon exploring with generating the profile on
> > startup of the servlet bridge. However that was well before we had any
> > kind of build integration and the like and I'm not sure we would take
> > that approach now. I think the bridge should have its own profile that
> > gets deployed along with the jar.
> >
> So this would entail creating a profile when building the war and
> running the director (to create that profile) during the build process
> for the platform (whatever the platform happens to be).  For my
> information/reference, where does the platform build usage of the
> director (to create the SDKProfile) exist?  An ant script or some such?
> Thanks,
> Scott
> _______________________________________________
> p2-dev mailing list
> p2-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/p2-dev