Mxmlc/compc error

Hi
I'm trying to setup a Ant script to compile my code, but I keep getting an error regarding an [Embed]
Kol: 3: Fejl: '/../assets/images/info.png' kan ikke fortolkes til kodeoverførslen
    [compc]
    [compc]           [Embed(source="/../assets/images/info.png")]
    [compc]   ^
    [compc]
    [compc] C:\Documents and Settings\Administrator\.hudson\jobs\ProcessGuide\workspace\src\dafolo\processguide\core\components\AbstractModelCommitingUIComponent.as(46):
Kol: 3: Fejl: Koden /../assets/images/info.png kan ikke overføres.
I can't seem to get an english version of the error, but translated directly it says:
Col: 3: Error:'/../ assets / images / info.png 'can not be interpreted to code transfer
Col: 3: Error: Code / .. / assets / images / info.png cannot be transferred.
I've also tried calling it directly from command, but I get the same error.
I've tried changing the [Embed] a bunch of times, but it just keeps on failing.
Thanks
Martin

Sry, I'll just post my Ant script:
<project name="ProcessGuide" default="compile">
<!-- load previously defined configuration properties file -->
<property file="build.properties" />
<!-- points to our flexTasks.jar we copied to the libs folder to distribute with the project -->
<taskdef resource="flexTasks.tasks" classpath="C:/Documents and Settings/Administrator/Desktop/flexTasks.jar"/>
<!-- Build and output the Main.swf-->
<target name="compile">
<compc output="Main.swc">
<include-sources dir="./src" includes="**/*.as **/*.mxml" />
<source-path path-element="C:/Documents and Settings/Administrator/Desktop/4.5.0.17689/frameworks"/>
<compiler.debug>false</compiler.debug>
<compiler.library-path dir="C:/Documents and Settings/Administrator/Desktop/4.5.0.17689/frameworks" append="true">
                <include name="libs" />
            </compiler.library-path>
</compc>
</target>
 </project>

Similar Messages

  • Swf, swc and the mxmlc, compc ant tasks

    I'm a bit confused on the end result of the mxmlc / compc ant
    tasks, or maybe the difference between swf and swc files. I have a
    library of 60 or so AS3 files used for
    serialization/deserialization of my Java backend (using GDS for
    serialization of data between java serverside and my flex front
    end). I first use the compc ant task on these AS3 files to create a
    swc file. This swc is 453316 bytes. With this flash library, I use
    the mxmlc ant task on my mxml file, which produces a 201,492-byte
    swf file.
    I have a couple questions related to the procedure above.
    Shouldn't the swf file include the swc file, and hence be bigger
    than the swc? I'm just wondering if I deploy the swf file, will it
    have all it needs in the swc file to perform the functions
    correctly?
    My second question relates to setting the
    keep-generated-actionscript="true" in the mxmlc task. When
    doing this, I see all the AS3 code generated. However, it does not
    include 55 of the 60 AS3 classes compiled in the swc. It only
    generated AS3 code for those AS3 classes explicitly declared in the
    mxml code (via import and actual declaration). Am I doing something
    wrong here or is this the way flex does its thing?
    The reason why I'm concerned about this is that I'm getting a
    "ArgumentError: Error #2004: One of the parameters is
    invalid" issue am I'm think its happening in the AS3 code (not
    the Java server side) and I don't know how to debug this.
    Any help would be appreciated. Thanks in advanced!
    -los

    I am also facing with the same problem.....
    Is there any resolution for this problem.?
    Not sure where i am going wrong.
    Any help will be appreciated.
    Thanks in advance.

  • Mxmlc / compc: automatically link in all source files?

    In the standard configuration, compc and mxmlc only link in classes actually used by your project. We're using code generation to get ActionScript classes from our Java classes for AMF serialization. We deal with most of these generically, so we don't automatically reference all the generated classes. Consequently, some of these are compiled out of the final .swf, causing hard-to-track-down serialization issues. Is there a simple way to tell mxmlc / compc to include *all* classes defined in a certain path? I tried to use include-sources, but when I just add all the source files to include-sources (I'm using mxmlc / compc through ant with a fileset for this purpose, for what it's worth, but the problem is not ant-specific), I get weird errors about circular inheritance. Any other strategies for achieving this?

    Hi,
    One way you might ba able to acomplish this is when you are auto-generating your actionscript classes from Java, create a classes.as file.
    package
    internal class LinkClasses
        import mx.package.LinkClass;
    Include this class in the compc include class.
    This should alow the linker to pick up all classes very neatly.
    Mike

  • Compc error --  DesignLayer not in namespace?

    Hi Everyone,
    I'm seeing this error in my build, anyone know why it could be happening ?
        [compc] Loading configuration file /Users/mrinalwadhwa/Projects/Blu/Development/flexsdk/trunk/frameworks/flex-config.xml
        [compc] Error: could not find source for class mx.core:DesignLayer in namespace http://ns.adobe.com/mxml/2009.
    Thank you,
    Mrinal

    Did you ever resolve this?  I am getting the same thing.

  • [compc] Error: Inconsistant linkage

    Has anyone ran into this issue? I can't find any info on it on the web.
            <compc debug="${DEBUG_FLAG}" output="${CORE_DIR}/bin/launchpad-core.swc"
                        maxmemory="512m" fork="true" >
                <source-path path-element="${CORE_DIR}/src/" />
                <include-sources dir="${CORE_DIR}/src" includes="*"/>
                <library-path dir="${CORE_DIR}/libs" includes="*.swc" append="true"/>
                <library-path dir="${FLEX_HOME}/frameworks/libs/mobile" includes="*.swc" append="true"/>
                <library-path dir="${FLEX_HOME}/frameworks/libs/air" includes="*.swc" append="true"/>
                <library-path dir="${FLEX_HOME}/frameworks/themes/Mobile" includes="*.swc" append="true"/>
                <compiler.define value="${DEBUG_FLAG}}" name="CONFIG::debug"/>
                <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
            </compc>
    [compc]
        [compc] Error: Inconsistant linkage in /Applications/Adobe Flash Builder 4.5/sdks/4.5.1-air-3.0/frameworks/libs/air/airglobal.swc(flash.net.drm:AddToDeviceGroupSetting, flash.net.drm:AuthenticationMethod, flash.net.drm:LoadVoucherSetting) - 'flash.net.drm:LoadVoucherSetting' is marked as extern, but 'flash.net.drm:AddToDeviceGroupSetting' is not.
        [compc]
    BUILD FAILED
    /Volumes/Users/rcanulla/Desktop/aflac-build-server/build.xml:17: compc task failed.
      at flex.ant.FlexTask.executeOutOfProcess(FlexTask.java:256)
      at flex.ant.FlexTask.execute(FlexTask.java:230)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      at org.apache.tools.ant.Task.perform(Task.java:348)
      at org.apache.tools.ant.Target.execute(Target.java:390)
      at org.apache.tools.ant.Target.performTasks(Target.java:411)
      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
      at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
      at org.apache.tools.ant.Main.runBuild(Main.java:809)
      at org.apache.tools.ant.Main.startAnt(Main.java:217)
      at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
      at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
    Total time: 40 seconds

    Did you ever resolve this?  I am getting the same thing.

  • Ant tasks for mxmlc/compc?

    Are there "official" Ant tasks for mxmlc/compc?

        <taskdef name="mxmlc" classname="flex.ant.MxmlcTask" classpath="${flexTasks.jar.loc}" />
        <taskdef name="compc" classname="flex.ant.CompcTask" classpath="${flexTasks.jar.loc}" />

  • 'compc' Clarification, please

    I am a little confused about syntax for the command-line
    component compiler, compc. Let's say I would like to build a .swc
    library from the following packages:
    components/directory1/package1.as
    components/directory1/package2.as
    components/directory2/package3.as
    components/package4.as
    What necessary compiler options should I include? Could
    someone give me an example compc command based on the above package
    tree?
    Thanks
    Edit: I apologize: I should post this in an ActionScript
    forum.

    Hi -
    I have read all the instructions and followed all the
    examples.. I was able to read all the classes in my classes and
    component directory. However, I keep getting '[compc] Error: could
    not find source for class src.classes:ArrowSeperatorSkin'..
    errors..
    following is the build file I have. Please help..thx
    <?xml version="1.0"?>
    <!-- Required Environment Variables:
    FLEX_HOME: must point to the root of your flex sdk (probably
    in flex builder directory)
    -->
    <project name="Test" default="compile" basedir=".">
    <!-- Make the Flex Ant Tasks Available -->
    <taskdef resource="flexTasks.tasks"
    classpath="libs/flexTasks.jar"/>
    <!-- Module properties -->
    <property environment="env"/>
    <property name="build.dir" value="build"/>
    <property name="swf.name" value="NProject.swf" />
    <property name="root.mxml" value="main.mxml"/>
    <property name="locale" value="en_US"/>
    <property name="FLEX_HOME" value="${env.FLEX_HOME}"/>
    <!-- Clears out the build directory -->
    <target name="clean">
    <echo message="%%%%%%%%%%%%%% Removing build directory
    contents %%%%%%%%%%%%%%%%%"/>
    <delete includeemptydirs="true">
    <fileset dir="${build.dir}" includes="**/*"/>
    </delete>
    </target>
    <!-- standard compile w/o debug -->
    <target name="compile">
    <antcall target="perform-compile">
    <param name="debugMode" value="true"/>
    </antcall>
    </target>
    <target name="perform-compile">
    <!-- Make sure the build directory exists -->
    <mkdir dir="${build.dir}"/>
    <mxmlc
    file="src/${root.mxml}"
    output="${build.dir}/${swf.name}"
    incremental="true"
    debug="${debugMode}"
    >
    <load-config
    filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
    <!-- directories outside of your 'main' source directory
    -->
    <source-path path-element="${FLEX_HOME}/frameworks"/>
    <!-- list any swcs in your lib directory to include
    -->
    <!-- library-path dir="lib" append="true">
    <include name="a.swc"/>
    <include name="b.swc"/>
    </library-path -->
    <!-- flex sdk core libraries -->
    <library-path dir="${FLEX_HOME}/frameworks"
    append="true">
    <include name="libs"/>
    <include name="locale/${locale}"/>
    </library-path>
    </mxmlc>
    <!-- copy over the etc directory contents -->
    <antcall target="copy-files"/>
    </target>
    <!-- Copies contents of /etc to /build -->
    <target name="copy-files">
    <copy todir="${build.dir}">
    <fileset dir="." includes="etc/**/*"/>
    </copy>
    <antcall target="swc">
    <param name="debugMode" value="true"/>
    </antcall>
    </target>
    <target name="swc">
    <mkdir dir="swc" />
    <pathconvert property="flex.classes" pathsep=" ">
    <fileset dir="${basedir}/src">
    <include name="**/*.as"/>
    <include name="**/*.mxml"/>
    </fileset>
    <compositemapper>
    <packagemapper from="${basedir}\*.as" to="*"/>
    <packagemapper from="${basedir}\*.mxml" to="*"/>
    <packagemapper from="${basedir}/*.as" to="*"/>
    <packagemapper from="${basedir}/*.mxml" to="*"/>
    </compositemapper>
    </pathconvert>
    <echo>********* ActionScript classes:
    [${flex.classes}] ***********</echo>
    <compc output="src/Your.swc"
    include-classes="${flex.classes}" debug="true"
    directory="false">
    <source-path path-element="${basedir}/src"/>
    <include-file name="data.xml"
    path="${basedir}/src/data/data.xml"/>
    <include-file name="extension.css"
    path="${basedir}/src/css/extension.css"/>
    </compc>
    </target>
    </project>

  • Error: Could not resolve s:SolidColor to a component implementation

    So I have a library project and in that project I have a CustomDataGridBackgroundSkin file which is as follows:
    <?xml version="1.0" encoding="utf-8"?>
    <s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009"
                 xmlns:s="library://ns.adobe.com/flex/spark"
                 xmlns:mx="library://ns.adobe.com/flex/mx"
                 minWidth="25" minHeight="25">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <!-- layer 4: fill highlight -->
        <s:Rect left="0" right="0" top="0" height="100%" >
            <s:fill>
                <spark:SolidColor color="0x968f89" alpha="1" />
            </s:fill>
        </s:Rect>
    </s:SparkSkin>
    I am simply trying to get an ant task to compile this library to SWC, but I am getting a " Error: Could not resolve <s:SolidColor> to a component implementation" error during compile.  The only way to fix it is to add these lines of code (bold).
    <?xml version="1.0" encoding="utf-8"?>
    <s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009"
                 xmlns:s="library://ns.adobe.com/flex/spark"
                 xmlns:mx="library://ns.adobe.com/flex/mx"
                xmlns:spark="mx.graphics.*"
                 minWidth="25" minHeight="25">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <!-- layer 4: fill highlight -->
        <s:Rect left="0" right="0" top="0" height="100%" >
            <s:fill>
                <spark:SolidColor color="0x968f89" alpha="1" />
            </s:fill>
        </s:Rect>
    </s:SparkSkin>
    I can also get this error to go away if I put this line in my build.xml file: "<include-sources dir="${src.dir}" includes="*"/>"
    But then I get this error => "[compc] Error: Unsupported file type: C:\dev_projects\features\flex4version\web\OneVoice\src\components.xml"
    components.xml is my manifest file.
    Anyone know what the issue is?  Why would I need the xmlns:spark="mx.graphics.*" namespace when I have xmlns:s="library://ns.adobe.com/flex/spark"?

    Curious. Which version of the Flex SDK are you using?
    Does this work if you try in a brand new project using Flex 4.1 or Flex Hero?
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx">
        <s:controlBarContent>
            <s:Button label="goto s1" click="currentState = 's1';" />
            <s:Button label="goto s2" click="currentState = 's2';" />
            <s:Button id="sdkVer" initialize="sdkVer.label = mx_internal::VERSION;" click="System.setClipboard(sdkVer.label);" />
        </s:controlBarContent>
        <s:states>
            <s:State name="s1" />
            <s:State name="s2" />
        </s:states>
        <s:Rect left="30" right="20" top="20" bottom="30" >
            <s:fill>
                <s:SolidColor color="0x968f89" color.s2="haloOrange" alpha="1" />
            </s:fill>
        </s:Rect>
    </s:Application>
    Peter

  • Compc task

    hi
    i use compc task to compile mxml files.
    the ant build file is
    <target name="appcompile">
                <compc
                    output="${catalina.home}/webapps/${app.name}/CampusPage.swf">
                     <compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
                        <include name="${web.home}/WEB-INF/lib/" />
                        <include name="${flexsrc.home}/example/" />
                       </compiler.library-path>
                       <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml" />
                       <source-path path-element="${FLEX_HOME}/frameworks" />
                </compc>
            </target>
    <target name="createHtmlWrapper" depends="appcompile">
      <html-wrapper application="${APP_ROOT}/CampusPage.mxml" height="1000" width="1000"  output="${catalina.home}/webapps/${app.name}" swf="CampusPage" />
    </target>
    but the error is
    [compc] Error: nothing was specified to be included in the library
        [compc] Use 'compc -help' for information about using the command line.
    any body help me
    regards
    athi

    You need to use options like -include-namespaces or -include-classes to tell compc what to put into the SWC. Are you expecting it to put everything on the source path into the SWC? It doesn't work that way.
    Gordon Smith
    Adobe Flex SDK Team

  • Are the Flex Ant tasks open source? If so, where to find them?

    I took a brief look into Flex SDK source and didn't see the Flex Ant tasks. Is this also open source? Where would I find it?
    I probably won't change anything, just want to take a look. Although, I'm annoyed that the tasks don't work in a similar fashion as the core ant tasks
    Thanks.

    http://opensource.adobe.com/svn/opensource/flex/sdk/trunk/modules/antTasks
    Note that the way the tasks are put together ain't exactly pretty--they're just a very thin wrapper on mxmlc / compc / etc. There are some advantages to this approach, but if you're hoping to learn about the compiler options by looking at the task source, it could take some doing.

  • Compiler sees delete function name as delete operator

    I am trying to call the 'delete' method on a POJO service with:
    serviceProxy.delete(...)
    This fails to compile with the errors:
    Error: Syntax error: expecting identifier before delete.
        [compc]          serviceProxy.delete(...);
        [compc]                       ^
    Error: Syntax error: expecting identifier before rightparen.
        [compc]          serviceProxy.delete(...);
        [compc]                                 ^
    It seems as if the compiler is detecting the call to the delete method as the delete operator instead. Is there a way to fix this or will I need to change the method name on the service?

    Ohhh, haha, yeah that could be a problem.
    Maybe try getOperation('delete') on your service and then call send() on the operation.

  • FlexUnit 0.9 only for Flex 3?

    Is the latest version of FlexUnit only usable for Flex3? I don't see mention of requirements for the new version but I get the following when trying to use the FlexUnit.swc:
    build.flexlist:
    [compc] Loading configuration file C:\tools\flex2.0.1\frameworks\flex-config.xml
    [compc] Error: unable to load SWC FlexUnit.swc: unknown element script found in keep-as3-metadat a section in catalog.xml.
    Also, this might not be the proper forum for the question, but I do not see a general discussion forum available.
    Thanks,
    Chris Schmidt

    Hi Alistair,
    Thanks, that does work with Flex2. I reused the flex ant tasks that we used with the previous version of FlexUnit. Are there plans on updating the ant task, or including them with the newer distributions of FlexUnit?
    Thanks,
    Chris

  • How to solve "Error: Invalid Embed directive in stylesheet - can't resolve source" while building using mxmlc.exe on command prompt

    Hi,
    Currently, I am developing a powershell script for Flex build automation.
    I found some problem and have been trying to search any references and tried any ways to fix it but It did not work.
    I am using compc.exe for compiling the libraries and it works fine.
    I compiled css files into swf files using mxmlc.exe and it works fine.
    However, I have a problem while building my main application (mxml file).
    It complains about embedded resources.
    I run this command, it works fine:
    "C:\Program Files (x86)\Adobe\Flex Builder 3\sdks\3.2.0\bin\mxmlc.exe" "C:\{somePath}\FlashClient\src\styleLang.css" -output "C:\{somePath}\FlashClient_deploy\styleLang.swf"
    However, when I tried to run these command on cmd for testing:
    "C:\Program Files (x86)\Adobe\Flex Builder 3\sdks\3.2.0\bin\mxmlc.exe" "C:\{somePath}\FlashClient\src\FlashClient.mxml" -load-config "C:\{somePath}\FlashClient\src\dump_config_temp.xml" -output "C:\{somePath}\FlashClient_deploy\flashclient_test.swf"
    I got a lot of this error message:
    this is my folder structure:
      FlashClient
      |
      |---assets
      |---src
          |
          |---FlashClient.mxml
          |---FlashClient.as
          |---FlashClientStyleLoopup.css
          |---styleLang
    Already tried to add / at the beginning of the relative paths but It did not work.
    Also tried to compile one of the image to a swc file and include it on the dump_config, but also did not work. something similar with Tech Diary: Flex : Solution to Error: unable to resolve '/assets/icons/icon.png' for transcoding using Embed tag
    Does anyone know how flex builder resolve the relative path to make the embedded resources work? or how to fix this?
    I've been trying to work on it for days but haven't had any luck.
    Will be really appreciate it if someone could help me with this.
    Many Thanks.

    Hi,
    make sure you are using 32 bit Java JDK. Check that your systems variables CLASSPATH, JAVA_HOME are pointing to correct 32 bit Java JDK folder (e.g. CLASSPATH=C:\Program Files (x86)\Java\jdk1.8.0_25 and JAVA_HOME=C:\Program Files (x86)\Java\jdk1.8.0_25). Also make sure you have 32 bit Java JDK's "bin" folder in your system's variable PATH.

  • What could cause "Internal error: java.lang.NullPointerException: can't not add null to SWF frame" when using compc?

    using flex sdk 4.6, and air sdk 15.0.0.356
    we get the following error when using compc in our ant build:
    [java] Internal error: java.lang.NullPointerException: can't not add null to SWF frame
    [java] at com.adobe.flash.swf.SWFFrame.addTag(SWFFrame.java:77)
    [java] at com.adobe.flash.compiler.internal.units.requests.SWFTagsRequestResult.addToFrame(SWFTagsR equestResult.java:114)
    [java] at com.adobe.flash.compiler.internal.targets.SWFTarget.addCompilationUnitsAndDependenciesToF rame(SWFTarget.java:398)
    [java] at com.adobe.flash.compiler.internal.targets.SWFTarget$FramesInformation.createFrame(SWFTarg et.java:838)
    [java] at com.adobe.flash.compiler.internal.targets.SWFTarget$FramesInformation.createFrames(SWFTar get.java:875)
    [java] at com.adobe.flash.compiler.internal.targets.SWFTarget.build(SWFTarget.java:243)
    [java] at com.adobe.flash.compiler.internal.targets.SWCTarget.buildLibrarySWF(SWCTarget.java:348)
    [java] at com.adobe.flash.compiler.internal.targets.SWCTarget.build(SWCTarget.java:128)
    [java] at com.adobe.flash.compiler.clients.COMPC.buildArtifact(COMPC.java:144)
    [java] at com.adobe.flash.compiler.clients.MXMLC.compile(MXMLC.java:541)
    [java] at com.adobe.flash.compiler.clients.MXMLC.mainNoExit(MXMLC.java:230)
    [java] at com.adobe.flash.compiler.clients.MXMLC.mainNoExit(MXMLC.java:184)
    [java] at com.adobe.flash.compiler.clients.COMPC.staticMainNoExit(COMPC.java:75)
    [java] at com.adobe.flash.compiler.clients.COMPC.main(COMPC.java:62)
    which seems to be rather vague, and offers no clue as to what caused the problem. so, my question is, what could cause this error?
    these are the compiler options we use in the build file:
    <java jar="${flex.compc.jar}" dir="." fork="true" failonerror="true">
          <jvmarg value="-Xmx512m" />
          <arg line="@{options} ${_compc.libpath} ${_compc.externspath} ${_compc.includespath}" />
          <arg value="+flexlib=${flex.frameworks.dir}" />
          <arg value="[email protected]{config}" />
          <arg value="[email protected]{src.dir}" />
          <arg value="[email protected]{src.dir}" />
          <arg value="[email protected]{dest}" />
          <arg value="[email protected]{swf.version}"/>
          <arg value="-debug=${flash.debug}"/>
          <arg value="-advanced-telemetry"/>
    </java>
    assume that the properties resolve to correct values, since all projects (except one) call this task and compile successfully. the error must come from this one project that fails, but we don't know why.
    any ideas?

    You could be running out of memory, try increasing the -Xmx512m value to -Xmx1024m or another value that you prefer

  • [svn:fx-trunk] 10055: localized classpath fix for mxmlc.jar,compc. jar and asdoc.jar - add mxmlc_ lang .jar to the path.

    Revision: 10055
    Author:   [email protected]
    Date:     2009-09-08 09:41:10 -0700 (Tue, 08 Sep 2009)
    Log Message:
    localized classpath fix for mxmlc.jar,compc.jar and asdoc.jar - add mxmlc_.jar to the path.  Without these localized errors and warnings aren't generated.
    QE notes: ensure the errors and warnings are generated properly
    Doc notes: no
    Bugs: sdk-22806
    Reviewer:
    Tests run: checkintests:pass
    Is noteworthy for integration: no
    Ticket Links:
        http://bugs.adobe.com/jira/browse/sdk-22806
    Modified Paths:
        flex/sdk/trunk/modules/compiler/build.xml

    So do you know how I can get JavaStudio to add
    library classes and JAR''s into the packaged dist
    file?I was wrong in my previous post. Sorry.
    It's impossible to specify additional classpath with '-jar' option.
    http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/java.html#options
    �-jar
    When you use this option, the JAR file is the source of all user classes, and other user class path settings are ignored. �
    So the only solution is to add libs into jar file and declare them in manifest.
    One possible way of how to do it in JSE8 is:
    1. Put all necessary lib jars to some place under src folder.
    2. Add those jars into Compile-time libraries list (Project properties -> Libraries) for correct compilation
    3. Switch to 'Files' JSE8 tab, open manifest.mf file (it's in projects root) and add your lib jars to it.
    Syntax is:
    Class-Path: relative URLs
    That's it.

Maybe you are looking for

  • Sending a dynamic query to DB adapter

    Hi, I am using jdeveloper 10.1.3.4. As per the requirements, I am supposed to have only one DB adapter which will handle all the operations on the database tables. The SQL is created at the runtime depending on the input. Is there any option for DB a

  • How to add your method in photoshop plugin & call it from javascript?

    pls help me i have to add a method in photoshop sample plugin & call it through any script like javascript?don't have to use any listener like script listener?

  • Really messed up Iphoto

    I tried to delete photos from the iPhoto library, which cause Iphoto to run amok and create about 2500 'photos', seemingly every image in its program, e.g. backgrounds and picture frames. I have lost almost all the functions of iPhoto except that of

  • Exception when displaying ViewObject result on web page

    Hi experts, I have two view object ViewObject1 and ViewObject2. I have created Assoccion ViewObject1 to ViewObject2 with cardinality "1 to 0..1" option and create view link between ViewObject1 to ViewObject2. When to drag and drop ViewObject1 to view

  • How to make my mac compatible w/ cs5

    i just upgraded my mac os x to snowleopard (version 10.6.3), thinking that'd allow me to use CS5 design standard, but it still doesn't meet system requirements for indesign. can i upgrade w/out having to buy a new computer and if so, what needs upgra


HashFlare