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

Reply via email to