incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: Falcon tests
Date Fri, 07 Dec 2012 23:38:57 GMT
Yup, I moved it from main to sdk and it seems to be working.  Thanks.


On 12/7/12 3:27 PM, "Chema Balsas" <jbalsas@gmail.com> wrote:

> I think the problem is dist-dev is in the main target of compiler, but main
> target in falcon is only calling sdk, which only calls jar and not dist-dev.
> 
> 2012/12/8 Alex Harui <aharui@adobe.com>
> 
>> I'll try to get it straightened out.
>> 
>> 
>> On 12/7/12 3:15 PM, "Chema Balsas" <jbalsas@gmail.com> wrote:
>> 
>>> I still don't have access to svn. Greg said he'll be fixing that later
>>> today. I'll make the change then unless somebody else beats me to it
>>> 
>>> 2012/12/7 Gordon Smith <gosmith@adobe.com>
>>> 
>>>> Can you make that change?
>>>> 
>>>> -----Original Message-----
>>>> From: Chema Balsas [mailto:jbalsas@gmail.com]
>>>> Sent: Friday, December 07, 2012 2:01 PM
>>>> To: flex-dev@incubator.apache.org
>>>> Subject: Re: Falcon tests
>>>> 
>>>> This happened to me yesterday after an 'ant wipe'. I accidentally fixed
>> it
>>>> for me by running ant main from the compiler folder. I've been digging,
>> and
>>>> it seems a call to the 'dist-dev' target is missing from the main
>> target in
>>>> the falcon folder.
>>>> 
>>>> Adding a call to the compiler.dist-dev target inside the sdk target in
>> the
>>>> main build file seems to do the trick.
>>>> 
>>>> 2012/12/7 Gordon Smith <gosmith@adobe.com>
>>>> 
>>>>> When I run 'ant tests' for Falcon, the four JAR tests fail due to Java
>>>>> NoClassDefFoundError exceptions. Does anybody else have this problem?
>>>>> 
>>>>> - Gordon
>>>>> 
>>>>> jar.tests:
>>>>>      [java] java.lang.NoClassDefFoundError:
>>>> com/google/common/base/Function
>>>>>      [java] Caused by: java.lang.ClassNotFoundException:
>>>>> com.google.common.base.Function
>>>>>      [java]     at
>> java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>>>>>      [java]     at java.security.AccessController.doPrivileged(Native
>>>>> Method)
>>>>>      [java]     at
>>>>> java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>>>>>      [java]     at
>> java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>>>>>      [java]     at
>>>>> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>>>>>      [java]     at
>> java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>>>>>      [java] Could not find the main class:
>>>>> org.apache.flex.compiler.clients.MXMLC. Program will exit.
>>>>>      [java] Exception in thread "main"
>>>>>      [java] Java Result: 1
>>>>>      [java] java.lang.NoClassDefFoundError:
>>>> com/google/common/base/Function
>>>>>      [java] Caused by: java.lang.ClassNotFoundException:
>>>>> com.google.common.base.Function
>>>>>      [java]     at
>> java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>>>>>      [java]     at java.security.AccessController.doPrivileged(Native
>>>>> Method)
>>>>>      [java]     at
>>>>> java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>>>>>      [java]     at
>> java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>>>>>      [java]     at
>>>>> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>>>>>      [java]     at
>> java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>>>>>      [java] Could not find the main class:
>>>>> org.apache.flex.compiler.clients.COMPC. Program will exit.
>>>>>      [java] Exception in thread "main"
>>>>>      [java] Java Result: 1
>>>>>      [java] java.lang.NoClassDefFoundError:
>>>>> org/apache/commons/cli/ParseException
>>>>>      [java] Caused by: java.lang.ClassNotFoundException:
>>>>> org.apache.commons.cli.ParseException
>>>>>      [java]     at
>> java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>>>>>      [java]     at java.security.AccessController.doPrivileged(Native
>>>>> Method)
>>>>>      [java]     at
>>>>> java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>>>>>      [java]     at
>> java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>>>>>      [java]     at
>>>>> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>>>>>      [java]     at
>> java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>>>>>      [java] Could not find the main class:
>>>>> org.apache.flex.compiler.clients.ASC. Program will exit.
>>>>>      [java] Exception in thread "main"
>>>>>      [java] Java Result: 1
>>>>>      [java] Exception in thread "main" java.lang.NoClassDefFoundError:
>>>>> com/google/common/base/Function
>>>>>      [java]     at
>>>>> org.apache.flex.compiler.clients.Optimizer.<init>(Optimizer.java:207)
>>>>>      [java]     at
>>>>> 
>>>> 
>> 
>> org.apache.flex.compiler.clients.Optimizer.staticMainNoExit(Optimizer.java:97
>> >>
>> )
>>>>>      [java]     at
>>>>> org.apache.flex.compiler.clients.Optimizer.main(Optimizer.java:90)
>>>>>      [java] Caused by: java.lang.ClassNotFoundException:
>>>>> com.google.common.base.Function
>>>>>      [java]     at
>> java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>>>>>      [java]     at java.security.AccessController.doPrivileged(Native
>>>>> Method)
>>>>>      [java]     at
>>>>> java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>>>>>      [java]     at
>> java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>>>>>      [java]     at
>>>>> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>>>>>      [java]     at
>> java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>>>>>      [java]     ... 3 more
>>>>> 
>>>> 
>> 
>> --
>> Alex Harui
>> Flex SDK Team
>> Adobe Systems, Inc.
>> http://blogs.adobe.com/aharui
>> 
>> 

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


Mime
View raw message