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

The ant script to build themes requires a compc.jvm.args parameter. It should work as is from an unzipped SDK.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK Previous
    • None
    • Themes
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Unzip a built SDK.
      2. cd to /extracted/samples/themes/arcade.
      3. Run ant.

      Actual Results:
      compile:
      [echo] Compiling samples/themes/arcade/arcade.swc
      [compc] Exception in thread "main" java.lang.NoClassDefFoundError: ${compc/jvm/args}
      [compc] Caused by: java.lang.ClassNotFoundException: ${compc.jvm.args}
      [compc] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
      [compc] at java.security.AccessController.doPrivileged(Native Method)
      [compc] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      [compc] at java.lang.ClassLoader.loadClass(ClassLoader.java:315)
      [compc] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:330)
      [compc] at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
      [compc] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:398)

      Expected Results:
      It should compile.

      Workaround (if any):
      Pass in compc.jvm.args, like this (thanks Gaurav):
      ant -Dcompc.jvm.args=-Xmx512m

      This will also work fine if you pull source from svn and build the SDK.

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: