[jbosstools-dev] New instructions / reminder :: HOWTO build locally (when switching between milestone branch & trunk)
Nick Boldt
nboldt at redhat.com
Tue Jan 17 12:59:14 EST 2012
Max pointed out that there's a "silent killer" in our build process,
which needs to be addressed and avoided. When a user switches from
building in trunk to building in the miletone branch, Tycho may pick the
wrong upstream deps instead of the ones from the milestone branch.
Why? Because Tycho (p2) doesn't care which stream to choose from. It
just picks the latest timestamp between your local ~/.m2 cache and the
staging site on download.jboss.org.
So, if you JUST finished building JMX from trunk locally, there'll be a
recent build of JMX in your ~/.m2 cache, but the latest on the server
for the milestone branch could be an hour old. Therefore, if you start
building Archives from the milestone branch locally, you'll build
against the trunk JMX bits in your local repo, instead of the bits on
download.jboss.org.
The workflow solutions are simple, and I've documented them here:
https://community.jboss.org/wiki/HowToBuildJBossToolsWithMaven3-WorkingWithBranches
If you have anything to add/fix there, please comment in
https://issues.jboss.org/browse/JBIDE-10647 or just edit the wiki directly.
Thanks!
--
Nick Boldt :: JBoss by Red Hat
Productization Lead :: JBoss Tools & Dev Studio
http://nick.divbyzero.com
More information about the jbosstools-dev
mailing list