Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-33196

Incomplete classpath in MANIFEST.MF of falcon-mxmlc.jar

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK Next
    • None
    • Falcon
    • Linux / Unix

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            r.bitter Raju Bitter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: