Swfutils is a subset of the swfutils files in the flex-sdk repo.   The ant
task copies files.   It would probably be ok to just have flex-falcon have
a copy of the subset in its repo.  These files hardly ever change.

-Alex

On 3/11/16, 2:28 PM, "Christofer Dutz" <christofer.d...@c-ware.de> wrote:

>Ok ... so it turned out that the "swfutil.jar" in
>compiler/generated/dist/sdk/lib was sort of empty. It didn't contain any
>classes, but only META-INF ... having a look at the "swfutils" directory,
>this is almost empty. At least it doesn't contain a single class.
>
>Chris
>
>________________________________________
>Von: Christofer Dutz <christofer.d...@c-ware.de>
>Gesendet: Freitag, 11. März 2016 22:52
>An: dev@flex.apache.org
>Betreff: AW: AW: AW: LAST CALL] Release FlexJS/FalconJX 0.6.0
>
>Hmmm ... ok ... now falcon and falcon.jx seem to have run, but now I'm
>getting compile errors in the flex-compiler-oem module:
>
>compile:
>    [javac] Compiling 97 source files to
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/bin
>    [javac] warning: [options] bootstrap class path not set in
>conjunction with -source 1.6
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/compile
>r/common/LocalFilePathResolver.java:22: error: package flash.util does
>not exist
>    [javac] import flash.util.FileUtils;
>    [javac]                  ^
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/compile
>r/common/LocalFilePathResolver.java:23: error: package flash.util does
>not exist
>    [javac] import flash.util.Trace;
>    [javac]                  ^
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/compile
>r/config/CommandLineConfigurator.java:22: error: package
>flash.localization does not exist
>    [javac] import flash.localization.LocalizationManager;
>    [javac]                          ^
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/compile
>r/config/CommandLineConfigurator.java:373: error: cannot find symbol
>    [javac]     public static String brief( String program, String
>defaultvar, LocalizationManager l10n, String l10nPrefix )
>    [javac]       
>     ^
>    [javac]   symbol:   class LocalizationManager
>    [javac]   location: class CommandLineConfigurator
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/compile
>r/config/CommandLineConfigurator.java:381: error: cannot find symbol
>    [javac]     static public String usage( String program, String
>defaultVar, ConfigurationBuffer cfgbuf, Set<String> keywords,
>LocalizationManager lmgr, String l10nPrefix )
>    [javac]       
>                                                       ^
>    [javac]   symbol:   class LocalizationManager
>    [javac]   location: class CommandLineConfigurator
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/compile
>r/config/CommandLineConfigurator.java:616: error: cannot find symbol
>    [javac]     public static String getDescription( ConfigurationBuffer
>buffer, String var, LocalizationManager l10n, String l10nPrefix )
>    [javac]       
>                   ^
>    [javac]   symbol:   class LocalizationManager
>    [javac]   location: class CommandLineConfigurator
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/compile
>r/config/CommandLineConfigurator.java:624: error: cannot find symbol
>    [javac]     public static String getSyntaxDescription( String
>program, String defaultVar, boolean advanced, LocalizationManager l10n,
>String l10nPrefix )
>    [javac]       
>                                      ^
>    [javac]   symbol:   class LocalizationManager
>    [javac]   location: class CommandLineConfigurator
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/compile
>r/util/ThreadLocalToolkit.java:23: error: package flash.localization does
>not exist
>    [javac] import flash.localization.LocalizationManager;
>    [javac]                          ^
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/compile
>r/util/ThreadLocalToolkit.java:52: error: cannot find symbol
>    [javac]     private static ThreadLocal<LocalizationManager>
>localization = new ThreadLocal<LocalizationManager>();
>    [javac]                                ^
>    [javac]   symbol:   class LocalizationManager
>    [javac]   location: class ThreadLocalToolkit
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/compile
>r/util/ThreadLocalToolkit.java:63: error: cannot find symbol
>    [javac]     public static LocalizationManager getLocalizationManager()
>    [javac]                   ^
>    [javac]   symbol:   class LocalizationManager
>    [javac]   location: class ThreadLocalToolkit
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/compile
>r/util/ThreadLocalToolkit.java:68: error: cannot find symbol
>    [javac]     public static void
>setLocalizationManager(LocalizationManager mgr)
>    [javac]                                               ^
>    [javac]   symbol:   class LocalizationManager
>    [javac]   location: class ThreadLocalToolkit
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/compile
>r/util/URLPathResolver.java:22: error: package flash.util does not exist
>    [javac] import flash.util.Trace;
>    [javac]                  ^
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/linker/
>SimpleMovie.java:22: error: package flash.swf does not exist
>    [javac] import flash.swf.Movie;
>    [javac]                 ^
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/linker/
>SimpleMovie.java:31: error: cannot find symbol
>    [javac] public class SimpleMovie extends Movie
>    [javac]                                  ^
>    [javac]   symbol: class Movie
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/tools/T
>ool.java:46: error: package flash.localization does not exist
>    [javac] import flash.localization.LocalizationManager;
>    [javac]                          ^
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/tools/M
>xmlc.java:22: error: package flash.localization does not exist
>    [javac] import flash.localization.LocalizationManager;
>    [javac]                          ^
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/tools/M
>xmlc.java:78: error: cannot find symbol
>    [javac]     public static Configuration
>processConfiguration(LocalizationManager lmgr, String program, String[]
>args,
>    [javac]                                                      ^
>    [javac]   symbol:   class LocalizationManager
>    [javac]   location: class Mxmlc
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/tools/M
>xmlc.java:84: error: cannot find symbol
>    [javac]     public static Configuration
>processConfiguration(LocalizationManager lmgr, String program, String[]
>args,
>    [javac]                                                      ^
>    [javac]   symbol:   class LocalizationManager
>    [javac]   location: class Mxmlc
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/tools/M
>xmlc.java:230: error: cannot find symbol
>    [javac]     static void processHelp(ConfigurationBuffer cfgbuf,
>String program, String defaultVar, LocalizationManager lmgr, String[]
>args) {
>    [javac]       
>                             ^
>    [javac]   symbol:   class LocalizationManager
>    [javac]   location: class Mxmlc
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/tools/o
>em/Application.java:44: error: package flash.swf.tags does not exist
>    [javac] import flash.swf.tags.SetBackgroundColor;
>    [javac]                      ^
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/compile
>r/common/LocalFilePathResolver.java:71: error: cannot find symbol
>    [javac]         if (path != null && FileUtils.exists(path) &&
>FileUtils.isAbsolute(path))
>    [javac]                             ^
>    [javac]   symbol:   variable FileUtils
>    [javac]   location: class LocalFilePathResolver
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/compile
>r/common/LocalFilePathResolver.java:71: error: cannot find symbol
>    [javac]         if (path != null && FileUtils.exists(path) &&
>FileUtils.isAbsolute(path))
>    [javac]                                                       ^
>    [javac]   symbol:   variable FileUtils
>    [javac]   location: class LocalFilePathResolver
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/compile
>r/common/LocalFilePathResolver.java:76: error: cannot find symbol
>    [javac]         if ((virt != null) && Trace.pathResolver)
>    [javac]                               ^
>    [javac]   symbol:   variable Trace
>    [javac]   location: class LocalFilePathResolver
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/compile
>r/common/LocalFilePathResolver.java:78: error: cannot find symbol
>    [javac]             Trace.trace("LocalFilePathResolver.resolve:
>resolved " + pathStr + " to " + virt.getName());
>    [javac]             ^
>    [javac]   symbol:   variable Trace
>    [javac]   location: class LocalFilePathResolver
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/compile
>r/util/ThreadLocalToolkit.java:52: error: cannot find symbol
>    [javac]     private static ThreadLocal<LocalizationManager>
>localization = new ThreadLocal<LocalizationManager>();
>    [javac]       
>                     ^
>    [javac]   symbol:   class LocalizationManager
>    [javac]   location: class ThreadLocalToolkit
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/compile
>r/util/URLPathResolver.java:68: error: cannot find symbol
>    [javac]         if ((location != null) && Trace.pathResolver)
>    [javac]                                   ^
>    [javac]   symbol:   variable Trace
>    [javac]   location: class URLPathResolver
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/compile
>r/util/URLPathResolver.java:70: error: cannot find symbol
>    [javac]             Trace.trace("URLPathResolver.resolve: resolved "
>+ uri + " to " + location.getName());
>    [javac]             ^
>    [javac]   symbol:   variable Trace
>    [javac]   location: class URLPathResolver
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/tools/T
>ool.java:313: error: cannot find symbol
>    [javac]             LocalizationManager l10n =
>ThreadLocalToolkit.getLocalizationManager();
>    [javac]             ^
>    [javac]   symbol:   class LocalizationManager
>    [javac]   location: class Tool
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/tools/M
>xmlc.java:201: error: cannot find symbol
>    [javac]                 LocalizationManager l10n =
>ThreadLocalToolkit.getLocalizationManager();
>    [javac]                 ^
>    [javac]   symbol:   class LocalizationManager
>    [javac]   location: class Mxmlc
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/tools/M
>xmlc.java:288: error: cannot find symbol
>    [javac]         LocalizationManager l10n =
>ThreadLocalToolkit.getLocalizationManager();
>    [javac]         ^
>    [javac]   symbol:   class LocalizationManager
>    [javac]   location: class Mxmlc
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/tools/o
>em/Application.java:776: error: package flash.swf.types does not exist
>    [javac]         flash.swf.types.Rect fr = new flash.swf.types.Rect();
>    [javac]                        ^
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/tools/o
>em/Application.java:776: error: package flash.swf.types does not exist
>    [javac]         flash.swf.types.Rect fr = new flash.swf.types.Rect();
>    [javac]                                                      ^
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/tools/o
>em/Application.java:781: error: cannot find symbol
>    [javac]         movie.size = fr;
>    [javac]              ^
>    [javac]   symbol:   variable size
>    [javac]   location: variable movie of type SimpleMovie
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/tools/o
>em/Application.java:788: error: cannot find symbol
>    [javac]         movie.bgcolor = new SetBackgroundColor(red + green +
>blue);
>    [javac]              ^
>    [javac]   symbol:   variable bgcolor
>    [javac]   location: variable movie of type SimpleMovie
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/tools/o
>em/Application.java:788: error: cannot find symbol
>    [javac]         movie.bgcolor = new SetBackgroundColor(red + green +
>blue);
>    [javac]                             ^
>    [javac]   symbol:   class SetBackgroundColor
>    [javac]   location: class Application
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/tools/o
>em/Application.java:789: error: cannot find symbol
>    [javac]         movie.topLevelClass = swf.getTopLevelClass();
>    [javac]              ^
>    [javac]   symbol:   variable topLevelClass
>    [javac]   location: variable movie of type SimpleMovie
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/tools/o
>em/internal/OEMReport.java:84: error: bad operand types for binary
>operator '!='
>    [javac]         if (movie != null)
>    [javac]                   ^
>    [javac]   first type:  SimpleMovie
>    [javac]   second type: <null>
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/tools/o
>em/internal/OEMReport.java:88: error: cannot find symbol
>    [javac]                     bgColor = movie.bgcolor.color;
>    [javac]                                    ^
>    [javac]   symbol:   variable bgcolor
>    [javac]   location: variable movie of type SimpleMovie
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/tools/o
>em/internal/OEMReport.java:89: error: cannot find symbol
>    [javac]                     pageTitle = movie.pageTitle;
>    [javac]                                      ^
>    [javac]   symbol:   variable pageTitle
>    [javac]   location: variable movie of type SimpleMovie
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/tools/o
>em/internal/OEMReport.java:91: error: cannot find symbol
>    [javac]                     if (movie.userSpecifiedWidth)
>    [javac]                              ^
>    [javac]   symbol:   variable userSpecifiedWidth
>    [javac]   location: variable movie of type SimpleMovie
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/tools/o
>em/internal/OEMReport.java:91: error: illegal start of type
>    [javac]                     if (movie.userSpecifiedWidth)
>    [javac]                        ^
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/tools/o
>em/internal/OEMReport.java:93: error: cannot find symbol
>    [javac]                             width = movie.width;
>    [javac]                                          ^
>    [javac]   symbol:   variable width
>    [javac]   location: variable movie of type SimpleMovie
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/tools/o
>em/internal/OEMReport.java:115: error: cannot find symbol
>    [javac]                     if (movie.userSpecifiedHeight)
>    [javac]                              ^
>    [javac]   symbol:   variable userSpecifiedHeight
>    [javac]   location: variable movie of type SimpleMovie
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/tools/o
>em/internal/OEMReport.java:115: error: illegal start of type
>    [javac]                     if (movie.userSpecifiedHeight)
>    [javac]                        ^
>    [javac] 
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/src/flex2/tools/o
>em/internal/OEMReport.java:117: error: cannot find symbol
>    [javac]                             height = movie.height;
>    [javac]                                           ^
>    [javac]   symbol:   variable height
>    [javac]   location: variable movie of type SimpleMovie
>    [javac] Note: Some input files use or override a deprecated API.
>    [javac] Note: Recompile with -Xlint:deprecation for details.
>    [javac] Note: Some input files use unchecked or unsafe operations.
>    [javac] Note: Recompile with -Xlint:unchecked for details.
>    [javac] 45 errors
>    [javac] 1 warning
>
>BUILD FAILED
>/Users/christoferdutz/Temp/flex-falcon/build.xml:86: The following error
>occurred while executing this line:
>/Users/christoferdutz/Temp/flex-falcon/flex-compiler-oem/build.xml:99:
>Compile failed; see the compiler error output for details.
>
>
>So something must still be wrong :-(
>
>Chris
>
>
>________________________________________
>Von: Alex Harui <aha...@adobe.com>
>Gesendet: Freitag, 11. März 2016 18:51
>An: dev@flex.apache.org
>Betreff: Re: AW: AW: LAST CALL] Release FlexJS/FalconJX 0.6.0
>
>On 3/11/16, 9:40 AM, "Christofer Dutz" <christofer.d...@c-ware.de> wrote:
>
>>Well I think that's the problem ... I can't see a GCL.swc ... I also
>>noticed, that an "ant" run only seems to compile compiler and run
>>compiler.tests ... it doesn't seem to run the falcon.jx stuff. I think it
>>would be good if it would actually run "all".
>
>I do just run "ant all" and everything builds.  The CI server is also
>doing that.  I'm fine with changing the default Ant target to "all".
>
>
>>
>>what would be the right sequence of commands to build everything?
>>
>>ant clean
>>ant
>>cd falcon.jx
>>ant
>>???
>
>There are currently at least four folders, so in theory it would be:
>
>ant clean (or wipe or wipe-all)
>cd compiler
>ant
>cd ../compiler.tests
>ant
>cd ../compiler.jx
>ant
>cd ../compiler.jx.tests
>ant
>
>But compiler.jx.tests needs "Ant extern.swcs" first so I think it is more
>like:
>
>ant clean (or wipe or wipe-all)
>cd compiler
>ant
>cd ../compiler.tests
>ant
>cd ../compiler.jx
>ant
>cd ..
>ant extern.swcs
>cd compiler.jx.tests
>ant
>
>-Alex
>
>

Reply via email to