You need to sign in to do that
Don't have an account?
Supporting Patch and Major Releases in one DE
The fact that a given managed package can be owned and developed in one and only one DE has many side effects that make it different from typical custom software development. Can you help me with this one?
(1) A managed package is developed and released from a DE instance with a namespace. There are many classes and custom objects, so the namespace is highly embedded in code and meta-data.
(2) After release 1.0 of the managed package is uploaded to the AppExchange, work begins on release 2.0 in the same DE instance. Assume that Eclipse IDE and SVN are used to archive and source manage all code versions.
(3) Many changes are made while 2.0 development is in progress. New fields are added to custom objects, for example. It is not complete, however, when...
(4) Suddenly, an emergency patch release (1.1) is needed, for the 1.0 release has a major bug that is just discovered that affects several Apex classes and custom objects.
(5) Here's the question: The DE instance is loaded with in-progress release 2.0 work. The SVN repository has a snapshot of the code as of release 1.0, but it cannot overwrite the ongoing 2.0 work in progress in the DE instance, right? How can you produce a 1.1 patch without seriously screwing up your DE instance that contains release 2.0 work in progress?!
Thanks!
Dave
Dave,
Consider using 2 development environments. PDE-1 for Development/QC, and PDE-2 for Official Release Version.
When urgent patch required, you will have to apply fixes in both environments:
When Release 2 is ready you, repeat the steps, move PDE-1 code to PDE-2, package, rlease.
Both are in sync again.