And trying to run falcon gives me: /home/wvxvw/projects/flex-falcon/compiler/commandline/mxmlc --help Using Flex SDK: /home/wvxvw/.wine/drive_c/flex/sdk/4.6.0 Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/flex/tools/FlexTool at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.access$100(URLClassLoader.java:71) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) 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:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482) Caused by: java.lang.ClassNotFoundException: org.apache.flex.tools.FlexTool 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:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 13 more
What is this? Thanks On Mon, Dec 29, 2014 at 11:00 AM, Left Right <olegsivo...@gmail.com> wrote: > OK, I figured out that par of the problem. > > Ant defines <jflex> macro to have JFlex.jar, but downloads jflex.jar, > that would probably work on Windows, but not on Linux. With that > fixed (why not fail when generating parser files fails?) I get to > this: > > [javac] > /home/wvxvw/projects/flex-falcon/compiler/generated/src/org/apache/flex/compiler/internal/parsing/as/MetadataTokenTypes.java:48: > error: duplicate annotation > [javac] @SuppressWarnings("unused") > [javac] ^ > [javac] > /home/wvxvw/projects/flex-falcon/compiler/generated/src/org/apache/flex/compiler/internal/parsing/as/MetadataParser.java:62: > error: duplicate annotation > [javac] @SuppressWarnings("all") > > It seems like if I'll deal with these two, I'm done, or at least, this > target would have succeeded. Why would there be two annotations? > > Best, > > Oleg > > On Mon, Dec 29, 2014 at 10:54 AM, Erik de Bruin <e...@ixsoftware.nl> wrote: >> The protocol I follow is this: >> >> I get 'flex-falcon' AND 'flex-sdk' from Git. Then, in 'flex-falcon', >> in the root of that directory - NOT in e.g. the 'compiler' >> subdirectory - I run 'ant main'. This takes care of all the dependency >> downloads as well as the copying of the relevant parts of the SDK, >> etc. >> >> EdB >> >> >> >> On Mon, Dec 29, 2014 at 9:41 AM, Left Right <olegsivo...@gmail.com> wrote: >>> Actually, I've checked, CacheBuilder isn't in that guava.jar. >>> >>> On Mon, Dec 29, 2014 at 10:38 AM, Left Right <olegsivo...@gmail.com> wrote: >>>> Hi Alex, >>>> >>>> I've tried to build from develop branch, and I think I could get >>>> further than before, however, there're problems with dependencies: >>>> >>>> [javac] Compiling 1777 source files to >>>> /home/wvxvw/projects/flex-falcon/compiler/generated/classes >>>> [javac] warning: [options] bootstrap class path not set in >>>> conjunction with -source 1.6 >>>> [javac] >>>> /home/wvxvw/projects/flex-falcon/compiler/src/org/apache/flex/compiler/internal/projects/CompilerProject.java:67: >>>> error: package com.google.common.cache does not exist >>>> [javac] import com.google.common.cache.CacheBuilder; >>>> >>>> (and there are a bunch more of these) >>>> >>>> I've added this to the target generating this error: >>>> >>>> <pathconvert property="cp.string" refid="classpath"/> >>>> <echo>classpath: ${cp.string}</echo> >>>> >>>> And the classpath printed is >>>> >>>> /home/wvxvw/projects/flex-falcon/compiler/lib/antlr.jar: >>>> >>>> /home/wvxvw/projects/flex-falcon/compiler/lib/commons-cli.jar: >>>> >>>> /home/wvxvw/projects/flex-falcon/compiler/lib/commons-io.jar: >>>> >>>> /home/wvxvw/projects/flex-falcon/compiler/lib/flex-tool-api.jar: >>>> >>>> /home/wvxvw/projects/flex-falcon/compiler/lib/guava.jar: >>>> >>>> /home/wvxvw/projects/flex-falcon/compiler/lib/java_cup-runtime.jar: >>>> >>>> /home/wvxvw/projects/flex-falcon/compiler/lib/java_cup.jar: >>>> >>>> /home/wvxvw/projects/flex-falcon/compiler/lib/jburg.jar: >>>> >>>> /home/wvxvw/projects/flex-falcon/compiler/lib/jflex.jar: >>>> >>>> /home/wvxvw/projects/flex-falcon/compiler/lib/lzma-sdk.jar >>>> >>>> formatted for readability >>>> >>>> So, Guava is there (or do I need some more Guava jars?) >>>> >>>> Thanks, >>>> >>>> Oleg >> >> >> >> -- >> Ix Multimedia Software >> >> Jan Luykenstraat 27 >> 3521 VB Utrecht >> >> T. 06-51952295 >> I. www.ixsoftware.nl