Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 44FF2DE6C for ; Thu, 13 Sep 2012 11:50:09 +0000 (UTC) Received: (qmail 84134 invoked by uid 500); 13 Sep 2012 11:50:08 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 84054 invoked by uid 500); 13 Sep 2012 11:50:08 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 84032 invoked by uid 99); 13 Sep 2012 11:50:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2012 11:50:07 +0000 Date: Thu, 13 Sep 2012 22:50:07 +1100 (NCT) From: "Raju Bitter (JIRA)" To: flex-dev@incubator.apache.org Message-ID: <680898750.74454.1347537007501.JavaMail.jiratomcat@arcas> In-Reply-To: <2011037765.63185.1347369308009.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (FLEX-33196) Incomplete classpath in MANIFEST.MF of falcon-mxmlc.jar MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLEX-33196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13454831#comment-13454831 ] Raju Bitter commented on FLEX-33196: ------------------------------------ As of revision 1384279, the classpath within the manifest file has been updated to contain the correct JARs, but the path to the JAR file is incorrent - since it contains an addition 'lib/' folder before the JAR name. Gordon added a new property to the compiler/build.xml: This property is used to create the compiler.jar manifest file: .... The resulting manifest Class-path value: Class-Path: lib/antlr.jar lib/commons-cli.jar lib/commons-io.jar lib/g uava.jar lib/lzma-sdk.jar .. To fix this, just remove the 'lib/' path entries in the compiler/build.xml compiler.jar.dependencies property: > Incomplete classpath in MANIFEST.MF of falcon-mxmlc.jar > ------------------------------------------------------- > > Key: FLEX-33196 > URL: https://issues.apache.org/jira/browse/FLEX-33196 > Project: Apache Flex > Issue Type: Bug > Affects Versions: Adobe Flex SDK Next > Environment: Linux / Unix > Reporter: Raju Bitter > Labels: Falcon, command-line > > The classpath defined in falcon-mxmlc.jar is not configured correctly. Currently only compiler.jar is a configured, but other JARs are needed to launch the command. > Manifest-Version: 1.0 > Ant-Version: Apache Ant 1.8.2 > Created-By: 1.6.0_35-b10 (Sun Microsystems Inc.) > Sealed: false > Implementation-Title: ActionScript Compiler - MXMLC Command Line Compi > ler > Implementation-Version: 2.0.0.0 > Implementation-Vendor: Apache Software Foundation > Main-Class: org.apache.flex.compiler.clients.MXMLC > Class-Path: compiler.jar > The exception reported when running mxmlc is: > Using Flex SDK: /home/raju/Development/flex-falcon > Exception in thread "main" java.lang.NoClassDefFoundError: > com/google/common/base/Function > Caused by: java.lang.ClassNotFoundException: com.google.common.base.Function > at java.net.URLClassLoader$1.run(URLClassLoader.java:202) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:190) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > Could not find the main class: org.apache.flex.compiler.clients.MXMLC. > Program will exit. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira