[svn] 4190: * Fixed Alta issue when compiling from a build.
revision: 4190
author: preilly@adobe.com
date: 2008-11-26 06:36:29 -0800 (wed, 26 nov 2008)
log message:
-----------
* fixed alta issue when compiling build. problem
framework sources on build machine older ones
in flexspy.swc , older ones have locally in trunk.
flexspy.swc wrecks havoc on swc reuse, because tries monkey
patch whole framework. it's partially successful, because
compiled against flex 3 , many of framework sources
have changed since then.
alta, each time flexspy.swc shows in library path, many
of framework sources obsoleted or need reparsed,
because of changed dependencies. each time flexspy.swc leaves
library path, framework sources dependent on
flexspy.swc sources need reparsed again. using improved
swc cache, alta compile faster if flexspy.swc used
consistenly libraries, applications , modules, or if
flexspy.swc wasn't used @ all.
tests passed: checkintests
needs qa: yes
needs doc: no
bug fixes: sdk-18161
api change: no
reviewer: pete f.
code-level description of changes:
compilerswccontext.java
* added 2 different flavors of getscript() allow special
compilerapi access.
* renamed sources() cachedsources() , refactored return
cached sources non-obsolete swc scripts.
compilerapi.java
* modified validatecompilationunits() take consideration
last modified time previous compilation when
reporting dependencyneedsrecompilation.
* factored out logic handling obsoleted, removed ,
shadowed swc sources helper methods. small step
towards making validationcompilationunits() less of beast.
* modified logreasonandremovecompilationunit() handle cleaning
swcscript cached compilationunits, didn't
come swc. happens when cache
button.as when building framework.swc , later need
remove cached compilationunit, due dependency change.
ticket links:
------------
http://bugs.adobe.com/jira/browse/sdk-18161
modified paths:
--------------
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/compilerapi.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/compilerswccontext.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/abc/abccompiler.java
author: preilly@adobe.com
date: 2008-11-26 06:36:29 -0800 (wed, 26 nov 2008)
log message:
-----------
* fixed alta issue when compiling build. problem
framework sources on build machine older ones
in flexspy.swc , older ones have locally in trunk.
flexspy.swc wrecks havoc on swc reuse, because tries monkey
patch whole framework. it's partially successful, because
compiled against flex 3 , many of framework sources
have changed since then.
alta, each time flexspy.swc shows in library path, many
of framework sources obsoleted or need reparsed,
because of changed dependencies. each time flexspy.swc leaves
library path, framework sources dependent on
flexspy.swc sources need reparsed again. using improved
swc cache, alta compile faster if flexspy.swc used
consistenly libraries, applications , modules, or if
flexspy.swc wasn't used @ all.
tests passed: checkintests
needs qa: yes
needs doc: no
bug fixes: sdk-18161
api change: no
reviewer: pete f.
code-level description of changes:
compilerswccontext.java
* added 2 different flavors of getscript() allow special
compilerapi access.
* renamed sources() cachedsources() , refactored return
cached sources non-obsolete swc scripts.
compilerapi.java
* modified validatecompilationunits() take consideration
last modified time previous compilation when
reporting dependencyneedsrecompilation.
* factored out logic handling obsoleted, removed ,
shadowed swc sources helper methods. small step
towards making validationcompilationunits() less of beast.
* modified logreasonandremovecompilationunit() handle cleaning
swcscript cached compilationunits, didn't
come swc. happens when cache
button.as when building framework.swc , later need
remove cached compilationunit, due dependency change.
ticket links:
------------
http://bugs.adobe.com/jira/browse/sdk-18161
modified paths:
--------------
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/compilerapi.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/compilerswccontext.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/abc/abccompiler.java
More discussions in Commits
adobe
Comments
Post a Comment