sbt/main
Antonio Cunei 75f0438946 Use the correct state in buildPluginDefinition()
Within buildPluginDefinition(), the call to setProject() can
(and usually will) return a modified structure together with
the new state.

The subsequent call to evalPluginDef() should use the updated
structure, rather the old stucture that was present before
the setProject() ("pluginDef"); if that is not the case,
the code called by evalPluginDef() will find an inconsistent
structure/state combination, and behave in bizarre ways as
a result.

More in general, it is a bit dangerous to pass to routines
in parallel the two separate state and structure, as the
two may easily inadvertently fall out of alignment, as in this
case.

This patch should be applied to both the 0.13 branch as well
as to a future 0.12.5 release (the corresponding file there
is ./main/Load.scala).
2014-04-16 17:56:49 +02:00
..
actions/src Added TestResultLogger for customising test feedback. 2014-04-09 19:14:29 +10:00
command/src/main/scala/sbt Use string interpolation and replace deprecated methods 2014-01-06 14:17:42 +01:00
settings/src Merge pull request #1115 from metasim/Structure-docs 2014-03-03 14:16:21 -05:00
src Use the correct state in buildPluginDefinition() 2014-04-16 17:56:49 +02:00
NOTICE fix component name in main notice 2010-09-21 22:00:11 -04:00