I updated it to v17.0 and check in
falcon\compiler\generated\dist\sdk\lib\external, is there.
oops, looking better, it has both, just removed the bad one, it runs.
Now, looking at internal\as\codegen\ClassDirectiveProcessor.java, I see that:
// If a constructor has a namespace as part of it's declaration, it must be
declared public.
// It is ok to omit the namespace
// We must check the AST, as CM treats all ctors as public no matter what the
user typed in
// so the FunctionDefinition will always be in the public namespace
if( node.getActualNamespaceNode() != null &&
node.getActualNamespaceNode().getName() != IASKeywordConstants.PUBLIC)
problems.add(new
ConstructorMustBePublicProblem(node.getActualNamespaceNode()));
What is the CM or Code Model ?
Thanks,
Frédéric THOMAS
> From: aha...@adobe.com
> To: dev@flex.apache.org
> Subject: Re: [Falcon] starting up
> Date: Wed, 1 Oct 2014 13:36:50 +0000
>
> Could you have an old guava.jar?
>
> On 10/1/14 4:32 AM, "Frédéric THOMAS" <webdoubl...@hotmail.com> wrote:
>
> >Hi,
> >
> >I built it with ANT an ran Falcon compc.bat from the generated/dist/sdk,
> >does anyone knows why I get that ?
> >
> >Exception in thread "main" java.lang.NoClassDefFoundError:
> >com/google/common/cache/CacheLoader
> > at org.apache.flex.compiler.clients.MXMLC.<init>(MXMLC.java:379)
> > at org.apache.flex.compiler.clients.COMPC.<init>(COMPC.java:54)
> > at
> >org.apache.flex.compiler.clients.COMPC.staticMainNoExit(COMPC.java:75)
> > at org.apache.flex.compiler.clients.COMPC.main(COMPC.java:63)
> >Caused by: java.lang.ClassNotFoundException:
> >com.google.common.cache.CacheLoader
> > at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> > at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> > at java.security.AccessController.doPrivileged(Native Method)
> > at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> > at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> > at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> > ... 4 more
> >
> >Thanks,
> >Frédéric THOMAS
>