On Tue, Nov 12, 2013 at 12:11 PM, Erik de Bruin <[email protected]> wrote:

> I've published a 'develop_strictest' branch on both the 'flex-asjs'
> and 'flex-falcon' projects. These need to live together to make the
> magic happen.
>
> Let me know if it works for you.
>
> EdB
>

I havent built falcon in a long time.  When I pulled the latest and tried
to build flex-falcon, I am getting these errors on both "develop" and
"develop_strictest" branches:

What am I doing wrong?
.
.
.
src.depend:
   [depend] The class org.apache.flex.compiler.mxml.StateDefinitionBase in
file
C:\p\flex_os\workspace\flexroot\git\flex-falcon\compiler\generated\classes\org\a
pache\flex\compiler\mxml\StateDefinitionBase.class is out of date due to
org.apa
che.flex.compiler.internal.definitions.DefinitionBase but has not been
deleted b
ecause its source file could not be determined
   [depend] Deleted 333 out of date files in 15 seconds

compile:
    [javac] Compiling 231 source files to
C:\p\flex_os\workspace\flexroot\git\fl
ex-falcon\compiler\generated\classes
    [javac]
C:\p\flex_os\workspace\flexroot\git\flex-falcon\compiler\src\org\apa
che\flex\compiler\internal\projects\CompilerProject.java:66: package
com.google.
common.cache does not exist
    [javac] import com.google.common.cache.CacheBuilder;
    [javac]                               ^
    [javac]
C:\p\flex_os\workspace\flexroot\git\flex-falcon\compiler\src\org\apa
che\flex\compiler\internal\projects\CompilerProject.java:67: package
com.google.
common.cache does not exist
    [javac] import com.google.common.cache.CacheLoader;
    [javac]                               ^
    [javac]
C:\p\flex_os\workspace\flexroot\git\flex-falcon\compiler\src\org\apa
che\flex\compiler\internal\projects\CompilerProject.java:68: package
com.google.
common.cache does not exist
    [javac] import com.google.common.cache.LoadingCache;
    [javac]                               ^
    [javac]
C:\p\flex_os\workspace\flexroot\git\flex-falcon\compiler\src\org\apa
che\flex\compiler\internal\scopes\ASProjectScope.java:39: package
com.google.com
mon.cache does not exist
    [javac] import com.google.common.cache.CacheBuilder;
    [javac]                               ^
    [javac]
C:\p\flex_os\workspace\flexroot\git\flex-falcon\compiler\src\org\apa
che\flex\compiler\internal\scopes\ASProjectScope.java:40: package
com.google.com
mon.cache does not exist
    [javac] import com.google.common.cache.CacheLoader;
    [javac]                               ^
    [javac]
C:\p\flex_os\workspace\flexroot\git\flex-falcon\compiler\src\org\apa
che\flex\compiler\internal\scopes\ASProjectScope.java:41: package
com.google.com
mon.cache does not exist
    [javac] import com.google.common.cache.LoadingCache;
    [javac]                               ^
    [javac]
C:\p\flex_os\workspace\flexroot\git\flex-falcon\compiler\src\org\apa
che\flex\compiler\internal\projects\CompilerProject.java:114: cannot find
symbol

    [javac] symbol  : class LoadingCache
    [javac] location: class
org.apache.flex.compiler.internal.projects.CompilerP
roject
    [javac]     private LoadingCache<ASScope, ASScopeCache> scopeCaches =
CacheB
uilder.newBuilder()
    [javac]             ^
    [javac]
C:\p\flex_os\workspace\flexroot\git\flex-falcon\compiler\src\org\apa
che\flex\compiler\internal\scopes\ASProjectScope.java:272: cannot find
symbol
    [javac] symbol  : class LoadingCache
    [javac] location: class
org.apache.flex.compiler.internal.scopes.ASProjectSc
ope
    [javac]     private final LoadingCache<ICompilationUnit,
Collection<IASScope
>> compilationUnitToScopeList =
    [javac]                   ^
    [javac]
C:\p\flex_os\workspace\flexroot\git\flex-falcon\compiler\src\org\apa
che\flex\compiler\clients\problems\WorkspaceProblemFormatter.java:34:
package co
m.google.common.cache does not exist
    [javac] import com.google.common.cache.Cache;
    [javac]                               ^
    [javac]
C:\p\flex_os\workspace\flexroot\git\flex-falcon\compiler\src\org\apa
che\flex\compiler\clients\problems\WorkspaceProblemFormatter.java:35:
package co
m.google.common.cache does not exist
    [javac] import com.google.common.cache.CacheBuilder;
    [javac]                               ^
    [javac]
C:\p\flex_os\workspace\flexroot\git\flex-falcon\compiler\src\org\apa
che\flex\compiler\clients\problems\WorkspaceProblemFormatter.java:36:
package co
m.google.common.cache does not exist
    [javac] import com.google.common.cache.CacheLoader;
    [javac]                               ^
    [javac]
C:\p\flex_os\workspace\flexroot\git\flex-falcon\compiler\src\org\apa
che\flex\compiler\clients\problems\WorkspaceProblemFormatter.java:37:
package co
m.google.common.cache does not exist
    [javac] import com.google.common.cache.LoadingCache;
    [javac]                               ^
    [javac]
C:\p\flex_os\workspace\flexroot\git\flex-falcon\compiler\src\org\apa
che\flex\compiler\clients\problems\WorkspaceProblemFormatter.java:64:
cannot fin
d symbol
    [javac] symbol  : class LoadingCache
    [javac] location: class
org.apache.flex.compiler.clients.problems.WorkspaceP
roblemFormatter
    [javac]     private final LoadingCache<String, FileLineInfo> readers;
    [javac]                   ^
    [javac]
C:\p\flex_os\workspace\flexroot\git\flex-falcon\compiler\src\org\apa
che\flex\compiler\clients\problems\WorkspaceProblemFormatter.java:285:
cannot fi
nd symbol
    [javac] symbol  : class Cache
    [javac] location: class
org.apache.flex.compiler.clients.problems.WorkspaceP
roblemFormatter.FileLineInfo
    [javac]          final Cache<Integer, String> cachedLines;
    [javac]                ^
    [javac]
C:\p\flex_os\workspace\flexroot\git\flex-falcon\compiler\src\org\apa
che\flex\compiler\internal\projects\CompilerProject.java:93: cannot find
symbol
    [javac] symbol  : class CacheLoader
    [javac] location: class
org.apache.flex.compiler.internal.projects.CompilerP
roject
    [javac]     static class ScopeCacheLoader extends CacheLoader<ASScope,
ASSco
peCache>
    [javac]                                           ^
    [javac]
C:\p\flex_os\workspace\flexroot\git\flex-falcon\compiler\src\org\apa
che\flex\compiler\internal\projects\CompilerProject.java:100: method does
not ov
erride or implement a method from a supertype
    [javac]         @Override
    [javac]         ^
    [javac]
C:\p\flex_os\workspace\flexroot\git\flex-falcon\compiler\src\org\apa
che\flex\compiler\internal\projects\CompilerProject.java:114: cannot find
symbol

    [javac] symbol  : variable CacheBuilder
    [javac] location: class
org.apache.flex.compiler.internal.projects.CompilerP
roject
    [javac]     private LoadingCache<ASScope, ASScopeCache> scopeCaches =
CacheB
uilder.newBuilder()
    [javac]                                                               ^
    [javac]
C:\p\flex_os\workspace\flexroot\git\flex-falcon\compiler\src\org\apa
che\flex\compiler\internal\scopes\ASProjectScope.java:276: cannot find
symbol
    [javac] symbol  : class CacheLoader
    [javac] location: class
org.apache.flex.compiler.internal.scopes.ASProjectSc
ope
    [javac]             new CacheLoader<ICompilationUnit,
Collection<IASScope>>(
)
    [javac]                 ^
    [javac]
C:\p\flex_os\workspace\flexroot\git\flex-falcon\compiler\src\org\apa
che\flex\compiler\internal\scopes\ASProjectScope.java:273: cannot find
symbol
    [javac] symbol  : variable CacheBuilder
    [javac] location: class
org.apache.flex.compiler.internal.scopes.ASProjectSc
ope
    [javac]         CacheBuilder.newBuilder()
    [javac]         ^
    [javac]
C:\p\flex_os\workspace\flexroot\git\flex-falcon\compiler\src\org\apa
che\flex\compiler\clients\problems\WorkspaceProblemFormatter.java:100:
cannot fi
nd symbol
    [javac] symbol  : class CacheLoader
    [javac] location: class
org.apache.flex.compiler.clients.problems.WorkspaceP
roblemFormatter
    [javac]             new CacheLoader<String, FileLineInfo>()
    [javac]                 ^
    [javac]
C:\p\flex_os\workspace\flexroot\git\flex-falcon\compiler\src\org\apa
che\flex\compiler\clients\problems\WorkspaceProblemFormatter.java:96:
cannot fin
d symbol
    [javac] symbol  : variable CacheBuilder
    [javac] location: class
org.apache.flex.compiler.clients.problems.WorkspaceP
roblemFormatter
    [javac]         readers = CacheBuilder.newBuilder()
    [javac]                   ^
    [javac]
C:\p\flex_os\workspace\flexroot\git\flex-falcon\compiler\src\org\apa
che\flex\compiler\clients\problems\WorkspaceProblemFormatter.java:260:
cannot fi
nd symbol
    [javac] symbol  : variable CacheBuilder
    [javac] location: class
org.apache.flex.compiler.clients.problems.WorkspaceP
roblemFormatter.FileLineInfo
    [javac]              cachedLines = CacheBuilder.newBuilder()
    [javac]                            ^
    [javac] 22 errors

BUILD FAILED
C:\p\flex_os\workspace\flexroot\git\flex-falcon\build.xml:34: The following
erro
r occurred while executing this line:
C:\p\flex_os\workspace\flexroot\git\flex-falcon\compiler\build.xml:548:
Compile
failed; see the compiler error output for details.

Total time: 56 seconds

C:\p\flex_os\workspace\flexroot\git\flex-falcon>



>
>
>
> On Tue, Nov 12, 2013 at 8:53 PM, OmPrakash Muppirala
> <[email protected]> wrote:
> > On Tue, Nov 12, 2013 at 11:48 AM, Erik de Bruin <[email protected]>
> wrote:
> >
> >> Hi,
> >>
> >> I have a local branch in which I've made the FalconJx 'goog' compiler
> >> apply to the strictest possible rules/flags. This resulted in 193
> >> warnings about bad code in the DataBindingTest example. Hidden behind
> >> those were some more errors ;-)
> >>
> >> I fixed all but a couple in the framework and there are some more that
> >> come from the example. All in all there are some 40 warnings left...
> >>
> >> The application, meanwhile, is compiled successfully and functions as
> >> expected. These warnings are all about annotations and types and code
> >> structure.
> >>
> >> I feel having the stricter compiler flags active will help us write a
> >> better framework. Making the remaining warnings go away is a challenge
> >> I gladly accept.
> >>
> >> The question is, can we live with seeing these warnings in the meantime?
> >>
> >>
> > I just got my DataBindingTest project up and running.  I have been
> thinking
> > of ways I can help out.  If no else one has objections, I can help with
> > this clean up of the warnings.
> > Maybe you can push your branch so we can work together on it?
> >
> > Thanks,
> > Om
> >
> >
> >> EdB
> >>
> >>
> >>
> >> --
> >> Ix Multimedia Software
> >>
> >> Jan Luykenstraat 27
> >> 3521 VB Utrecht
> >>
> >> T. 06-51952295
> >> I. www.ixsoftware.nl
> >>
>
>
>
> --
> Ix Multimedia Software
>
> Jan Luykenstraat 27
> 3521 VB Utrecht
>
> T. 06-51952295
> I. www.ixsoftware.nl
>

Reply via email to