[
https://issues.apache.org/jira/browse/FLEX-33196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13452996#comment-13452996
]
Raju Bitter commented on FLEX-33196:
------------------------------------
The manifest file is generated as part of the Ant target "jar" in
compiler/build.xml (around line #280):
http://svn.apache.org/viewvc/incubator/flex/falcon/trunk/compiler/build.xml?revision=1383121&view=markup
<jar file="${falcon.mxmlc.jar}">
<manifest>
<attribute name="Sealed" value="${manifest.sealed}" />
<attribute name="Implementation-Title"
value="${manifest.Implementation-Title} - MXMLC Command Line Compiler"
/>
<attribute name="Implementation-Version"
value="${manifest.Implementation-Version}.${build.number}" />
<attribute name="Implementation-Vendor"
value="${manifest.Implementation-Vendor}" />
<attribute name="Main-Class"
value="org.apache.flex.compiler.clients.MXMLC" />
<attribute name="Class-Path" value="compiler.jar" />
</manifest>
</jar>
compc and asc will have the same problems, since they only have compiler.jar in
the classpath at the moment.
> 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