Re: Building Falcom

2014-12-30 Thread Left Right
I never packaged Java libraries for Linux, but I'm marginally familiar with packaging Common Lisp. Of course it's not the same, but some principles will most likely apply there too. So, the idea is that packages are made to depend on some other package, which handles their installation and provides

Re: Building Falcom

2014-12-30 Thread Alex Harui
On 12/30/14, 1:06 AM, "Left Right" wrote: >Re' patches: many of the jars loaded by the build script may already >exist on the user's system. At least Guava, JFlex, ANTLR, Java CUP, >JBurg and LZMA are all installable on Linux in a more conventional way >(i.e. through the package manager). Would

Re: Building Falcom

2014-12-30 Thread Left Right
Re' patches: many of the jars loaded by the build script may already exist on the user's system. At least Guava, JFlex, ANTLR, Java CUP, JBurg and LZMA are all installable on Linux in a more conventional way (i.e. through the package manager). Wouldn't it be better to first test for installed jars

Re: Building Falcom

2014-12-29 Thread Alex Harui
Good to know you got it working. Patches to fix case-sensitivity issues are welcome. -Alex On 12/29/14, 8:43 AM, "Left Right" wrote: >Case sensitivity also causes some tests to fail: > >[junit] /home/wvxvw/projects/flex-tlf/compile-config.xml:37 >[junit] Error: unable to open >'/home/w

Re: Building Falcom

2014-12-29 Thread Left Right
Case sensitivity also causes some tests to fail: [junit] /home/wvxvw/projects/flex-tlf/compile-config.xml:37 [junit] Error: unable to open '/home/wvxvw/projects/flex-tlf/textlayout/manifest.xml'. [junit] /home/wvxvw/projects/flex-tlf/compile-config.xml (line: 37) [junit]

Re: Building Falcom

2014-12-29 Thread Alex Harui
On 12/29/14, 8:12 AM, "Left Right" wrote: >Apparently it copied it to a wrong place... where should it be? After >the build I have it in $FALCON_HOME/../lib/ but that doesn't seem to >be the proper place for it, or is it? >Actually, the build doesn't finish properly because of the tests, is >th

Re: Building Falcom

2014-12-29 Thread Left Right
PS. There just aren't debug players on Linux any more, launching a browser won't help :) Wine is the last option (though it seems reasonably solid, except the problem with multiple instances of the flash player all drawing regardless of the browser tab, weird fullscreen mode and intermittent but ra

Re: Building Falcom

2014-12-29 Thread Left Right
Apparently it copied it to a wrong place... where should it be? After the build I have it in $FALCON_HOME/../lib/ but that doesn't seem to be the proper place for it, or is it? Actually, the build doesn't finish properly because of the tests, is there any simple way to skip the tests? Maybe it woul

Re: Building Falcom

2014-12-29 Thread Alex Harui
The download script should have downloaded flex-tool-api.jar. The ant script does run on OSX and not just Windows. Is there some difference in how Ant works on Linux that changes when tasks are resolved? I don’t know off-hand what the SWF tests might find that the unit tests don’t. It might als

Re: Building Falcom

2014-12-29 Thread Left Right
Another question: what do I miss if some junit tests fail (specifically those related to running SWF in debugger - there simply isn't a Flash debug player that runs on Linux, unless it's in Wine, so I don't really know how to set up those tests). Thanks On Mon, Dec 29, 2014 at 11:22 AM, Left Righ

Re: Building Falcom

2014-12-29 Thread Left Right
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 Meth

Re: Building Falcom

2014-12-29 Thread Left Right
OK, I figured out that par of the problem. Ant defines 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/compile

Re: Building Falcom

2014-12-29 Thread Erik de Bruin
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, e

Re: Building Falcom

2014-12-29 Thread Left Right
I had what git clone brought me.. but now I replaced it with whatever yum had installed and it finds Guava, so that's ok. Next problem, however: [javac] /home/wvxvw/projects/flex-falcon/compiler/generated/src/org/apache/flex/compiler/internal/parsing/mxml/RawMXMLTokenizer.java:339: error: ca

Re: Building Falcom

2014-12-29 Thread Alex Harui
Could you have an old guava? I think we’re using Guava17. My copy has that class. -Alex On 12/29/14, 12:41 AM, "Left Right" wrote: >Actually, I've checked, CacheBuilder isn't in that guava.jar. > >On Mon, Dec 29, 2014 at 10:38 AM, Left Right >wrote: >> Hi Alex, >> >> I've tried to build from

Re: Building Falcom

2014-12-29 Thread Left Right
Actually, I've checked, CacheBuilder isn't in that guava.jar. On Mon, Dec 29, 2014 at 10:38 AM, Left Right 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 sou

Re: Building Falcom

2014-12-29 Thread Left Right
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 n

Re: Building Falcom

2014-12-28 Thread Left Right
Ah, thanks Alex, will do. Before I left it, I got to the point where it was trying to copy the flex-sdk directory. Does it need Flex SDK to function? If so, may I ask you, which parts of the SDK are used? I.e. I was hoping to save some work, if I only build the AS3 compiler, or isn't it worth the

Re: Building Falcom

2014-12-28 Thread Alex Harui
Where did you get the source for Falcon? If the repo, make sure you are pulling from the “develop” branch and not “master”. On 12/28/14, 8:31 AM, "Left Right" wrote: >Some more info: jflex -d >/home/wvxvw/projects/flex-falcon/compiler/generated/src/org/apache/flex/co >mpiler/internal/parsing/as

Re: Building Falcom

2014-12-28 Thread Left Right
OK... it appears that isn't the JFlex Ant task, but just a macro defined in the same build file... how quaint... On Sun, Dec 28, 2014 at 6:31 PM, Left Right wrote: > Some more info: jflex -d > /home/wvxvw/projects/flex-falcon/compiler/generated/src/org/apache/flex/compiler/internal/parsing/as >

Re: Building Falcom

2014-12-28 Thread Left Right
Some more info: jflex -d /home/wvxvw/projects/flex-falcon/compiler/generated/src/org/apache/flex/compiler/internal/parsing/as -q /home/wvxvw/projects/flex-falcon/compiler/src/org/apache/flex/compiler/internal/parsing/as/RawASTokenizer.lex --skel /home/wvxvw/projects/flex-falcon/compiler/src/org/a

Re: Building Falcom

2014-12-28 Thread Left Right
I figured this might be useful too: $ yum info java_cup Loaded plugins: auto-update-debuginfo, langpacks, refresh-packagekit Installed Packages Name: java_cup Arch: noarch Epoch : 1 Version : 0.11a Release : 12.fc19 Size: 128 k Repo: installed >From re

Building Falcom

2014-12-28 Thread Left Right
Hello, I was wondering, what do I need to build Falcon, and if possible, on Linux :) I've got as far as this: raw.as.tokenizer: [echo] Generating RawASTokenizer [java] Executing '/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.4.1.fc19.x86_64/jre/bin/java' with arguments: [java] '-ja