Compiler.define in flex-config and compc

I'm having an issue with compile time constants.  I'd like to define these constants in two places, but when I do the flex compiler forgets constants defined in my flex-config.xml (DEBUG::DEBUGGING and DEBUG::VERBOSE).  I am using flextasks.tasks in ant to build the project.
In my build.xml:
<target name="build-project" depends="init">
    <echo message="Building ${proj.swc.file}" />
    <compc output="${proj.target.dir.bin}/${proj.swc.file}"
        target-player="${proj.flashver}">
        <compiler.define name="INFO::VERSION_MAJOR" value="${proj.version.major}" />
        <compiler.define name="INFO::VERSION_MINOR" value="${proj.version.minor}" />
        <compiler.define name="INFO::VERSION_RELEASE" value="${proj.version.release}" />
        <compiler.define name="INFO::BUILD_TIMESTAMP" value="${proj.build.timestamp}" />
        <compiler.define name="INFO::BUILD_TIMEZONE" value="${proj.build.timezone}" />
        <load-config filename="${mx.sdk.dir}/frameworks/flex-config.xml"/>
        <load-config filename="${basedir}/flex-release-config.xml"/>
        <source-path path-element="${proj.build.dir.src}" />
        <include-sources dir="${proj.build.dir.src}" includes="**/*.as **/*.mxml"/>
        <!-- <compiler.external-library-path dir="${proj.build.dir.lib}" includes="*.swc" append="true" /> -->
        <compiler.external-library-path dir="${proj.target.dir.lib}" includes="*.swc" append="true" />
    </compc>
</target>
In flex-release-config.xml:
<flex-config>
    <compiler>
        <debug>false</debug>
        <keep-generated-actionscript>false</keep-generated-actionscript>
        <verbose-stacktraces>false</verbose-stacktraces>
        <optimize>true</optimize>
        <define>
            <!-- Enables debugging mode -->
            <name>DEBUG::DEBUGGING</name>
            <value>false</value>
        </define>
        <define>
            <!-- Provides more information to the developer -->
            <name>DEBUG::VERBOSE</name>
            <value>false</value>
        </define>
    </compiler>
</flex-config>
If I compile using compc on the command line I can use -define+=NAME,value and it works.  Why is it not working using the compc task in ant?

Try adding the append="true" attribute to the define elements. I'm not sure if this will work, but that's how it works (append="true" is the equivalent of +=) for other elements like external libraries.

Similar Messages

  • [svn] 2716: SDK-15848 - Conditional compilation constants defined in flex-config. xml are never used if a single constant is specified on the command line

    Revision: 2716
    Author: [email protected]
    Date: 2008-08-04 01:18:12 -0700 (Mon, 04 Aug 2008)
    Log Message:
    SDK-15848 - Conditional compilation constants defined in flex-config.xml are never used if a single constant is specified on the command line
    * There's a possibility this will break a conditional complication test which disallows overwriting an existing definition -- I don't know if that will break the build, but the test should be removed either way.
    * Using append syntax ("-define+=" on the command line or ant tasks, or append="true" in flex-config) and redefining a value works now if you use an already-defined namespace and name.
    * So your flex-config may have -define=CONFIG::debug,false, and you may want -define+=CONFIG::debug,true from the commandline build, or FB build.
    * Made the ASC ConfigVar fields final as a sanity check since overwriting is now allowed. It would be harder to track changes and subtle bugs if they were mutable. This means that you must build a new ConfigVar object if you need to make changes.
    Bugs: SDK-15848
    QA: Yes. Please read the updated javadocs in CompilerConfiguration. Tests need to be added to validate that overwriting is allowed, and happens correctly in different situations: I believe the order should be that flex-config is overwritten by a custom config (can we have more than one user config? is the order deterministic? I forget...), is overwritten by commandline or OEM. Did I miss any? (I didn't write code which changes this, it works however the existing configuration system allows overwriting and appending; if we have tests for that, maybe we don't need them duplicated for this feature.)
    Doc: Yes. Please read the updated javadocs in CompilerConfiguration.
    Reviewer: Pete
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-15848
    http://bugs.adobe.com/jira/browse/SDK-15848
    Modified Paths:
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/ConfigVar.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/internal/OEMConfiguration.java

    Please note: I AM USING:
    JkOptions ForwardKeySize ForwardURICompat -ForwardDirectories
    And that's what's supposed to fix this problem in the first place, right??

  • Command line: Error: unable to open '/Applications/flex_sdk_4\frameworks\flex-config.xml'

    Hi,
    I am new to flex. I am trying to use the xmp sdk to create custom file info panels in photoshop.
    I am going through the example show in the adobe documentation 'Building a panel with Flex SDK'
    I got any running and I got all the files setup in the proper folders but I cannot for the life of me figure out why I keep getting this error.
    Buildfile: /Volumes/three/2011/XMP/test project/build.xml
    clean:
    buildPanel:
         [echo] --> Panel 'Test2'
        [compc] Adobe Compc (Flex Component Compiler)
        [compc] Version 4.5.1 build 21328
        [compc] Copyright (c) 2004-2011 Adobe Systems, Inc. All rights reserved.
        [compc] command line: Error: unable to open '/Applications/flex_sdk_4.5\frameworks\flex-config.xml'
        [compc] Use 'compc -help' for information about using the command line.
    BUILD FAILED
    /Volumes/three/2011/XMP/test project/build.xml:20: compc task failed
    Total time: 616 milliseconds
    thanks,
    digitalkyle

    can you tell us where your services-config.xml file is
    located. can you make sure it is right under the "src" folder of
    the Flex Builder project.
    Hope this helps.

  • [svn] 3037: Update flex-config. xml files used by the team and qa webapps to use the {targetPlayerMajorVersion} token instead of a hardcoded player version in the library-path and external-library-path .

    Revision: 3037
    Author: [email protected]
    Date: 2008-08-29 06:54:15 -0700 (Fri, 29 Aug 2008)
    Log Message:
    Update flex-config.xml files used by the team and qa webapps to use the {targetPlayerMajorVersion} token instead of a hardcoded player version in the library-path and external-library-path. This will allow the correct playerglobal.swc to be located when the target player version is set in the flex-config.xml or passed to mxmlc or compc.
    Modified Paths:
    blazeds/trunk/apps/team/WEB-INF/flex/flex-config.xml
    blazeds/trunk/qa/resources/config/flex-config.xml

    Unfortunately I don't have the
    "org.eclipse.swt.win32.win32.x86_3.1.2.jar" file. On my computer
    the folder is not set up the same way (C:\Program Files\Adobe\Flex
    Builder 2\plugins) instead it is set up as (C:\Program
    Files\Adobe\Flex Builder 2\metadata\plugins) but I've looked in
    everything and that file just isn't in there. I've re downloaded it
    twice. Still not there. Is there anything else i can do.

  • Flex Compiler API Issue: Error: unable to open './flex-config.xml'

    1) I make a java struts(or a servlet) to build swf file
    dynamically when receiving the request from client. The struts
    source code please see the attached code. deploy the structs to the
    Tomcat
    2) then copy the <Flex_SDK>/frameworks to the
    <tomcat_home>/webapps/dozhang/WEB-INF
    3) then copy the all the libraries under the
    <Flex_SDK>/lib to the
    <tomcat_home>/webapps/dozhang/WEB-INF/lib
    4) Copy a test a.mxml to c:\
    5) Start up Tomcat , access the structs, I will get the
    Error: unable to open './flex-config.xml' in the tomcat log.
    Can anyone tell me how to specify the location of the
    flex-config.xml ?

    Ok, I solved it by myself
    I need to add the following codes when calling the Compiler
    API
    Configuration conf = application.getDefaultConfiguration();
    conf.setToken("flexlib", "path to the frameworks")
    applicaiton.setConfiguration(conf);
    Then it solved the problem

  • Can i reference external flex-config in flexunit ant task?

    flexunit gurus,
    i'm trying to figure out how to best specify the compiler arguments for the flexunit ant task in flexunit 4.1 beta 1.  from the documentation i see this sample flexunit usage:
    <flexunit workingDir="${bin.loc}" toDir="${report.loc}"
    haltonfailure="false" verbose="true" localTrusted="true">
    <testSource dir="${main.src.loc}" />
    <testSource dir="${test.src.loc}">
    <include name="**/*Test.as" />
    </testSource>
    <library dir="${lib.loc}" />
    </flexunit>
    in this example, the source and library paths are explicitly listed.  in this simple example all the needed libraries reside within a single directory.
    when i build my application, i use a custom flex-config.xml file, as the following snippet shows:
            <mxmlc file="${application.file}" output="${swf.debug.file}" debug="true" headless-server="${headless.server}">
                <load-config filename="${flex.config.file}" />
            </mxmlc>
    in that custom flex-config.xml file i list all the build options (e.g. source dirs, library paths, theme, etc.) appropriate for building the application.  the libraries i reference are in a number of different directories (in general each 3rd party library is in a different directory).
    in the flexunit task, i could individually reference all the same libraries that are in the flex-config.xml, but that'd be a pain to keep them in sync.  i suppose i also could parse the flex-config.xml to extract the library information and use that to populate the library argument.  really what i want to say in the flexunit task is "build all source and tests as indicated in flex-config.xml, then run the tests", perhaps with a syntax like the following:
    <flexunit workingDir="${bin.loc}"  toDir="${report.loc}"
    haltonfailure="false" verbose="true" localTrusted="true">
                <load-config filename="${flex.config.file}" />
    <testSource dir="${test.src.loc}">
    <include name="**/*Test.as" />
    </testSource>
    <library dir="${flexunit.lib}" />
    </flexunit>
    i'd rather keep the flex-config.xml file free of any test specific information, so ideally i'd specify the path to the flexunit swc's and the test path in the flexunit task (as in the above example).
    is there support for such usage currently or planned for in the future?  recommendations on how best to accomplish my goal of not duplicating library information already present in a custom flex-config.xml?
    thanks.
    -mike

    hi brian,
    thanks for your response.
    i understand the desire to avoid re-implementing the flex sdk ant tasks.  i'm not sure that can reasonably be accomplished wihen the TestRunner is dynamically generated from within the flexunit task.  in addition to the source path and library path, the theme setting and namespaces settings can affect successful compilation, and the runtime-shared-library-path setting can affect whether the produced swf runs correctly.
    perhaps there's an alternative.  what if we separate the creation of the TestRunner.mxml from the compilation and the execution of the tests.  if flexunit offers an ant task that can produce (but not run) a TestRunner.mxml, i can write the mxmlc task that compiles it properly, and then i can invoke the old style flexunit specifying the swf argument.  this would still accomplish my primary goal of not needing to manually enumerate every test file in a TestRunner.mxml that i have to maintain (and which neither Flash Builder nor maven builds require).  to compile the TestRunner.mxml, i'd load in my custom flex-config.xml, then append to the source path and library path to include my test directory and flexunit libraries.
    maybe something like the following to create the TestRunner:
    <generatetestrunner output="${bin.loc}/TestRunner.mxml">
              <testSource dir="${test.dir}">
                 <include name="**/*Test.as" />
              </testSource>
    </generatetestrunner>
    thoughts?
    one other thing i noticed about the current library argument to flexunit is that it assumes a directory even if you provide an explicit path to an swc (i tried switching <library dir...> to <library file...> but that didn't seem to make a difference).  in my case, there are specific swc's i need in the library path, and the task assuming i mean a directory when i specify an explicit swc is problematic.  the directory my swc libraries are contained in sometimes contain multiple and conflicting versions of a library (each library directory contains various snapshot builds of the library).  i need a way to explicitly indicate which library to use.
    finally, could you point me to the java source for the flexunit ant tasks?  i've found the flexunit action script source ok but haven't found where the java ant task is defined.
    thanks.
    -mike

  • Embed + compiler define works different with air 3.7+ comparing to 3.5

    Hello.
    I've noticed that new compiler works differently when using construct Embed with conditional compilation (comoiler define option).
    It looks like new compiler always embeds files in output swf even if Embed construct is used in dead code. Here is full example:
    package {
      import flash.display.MovieClip;
      public class Main extends MovieClip {
        CONFIG::FOO {
          [Embed(source="foo.mp3")]
          public static var MusicTrack: Class;
        CONFIG::BAR {
          [Embed(source="bar.mp3")]
          public static var MusicTrack: Class;
    I have 2 files: foo.mp3 (~2MB) and bar.mp3 (~2.3MB). I want to embed only one of them defining CONFIG::FOO as true and CONFIG::BAR as false.
    When I compile it using AIR 3.5 with following command I get (as expected) file with size ~2.0MB:
    /opt/adobe_sdks/flex_sdk_4.6_AIR_3.5/bin/mxmlc -compiler.source-path . -swf-version 14 -define=CONFIG::FOO,true -define=CONFIG::BAR,false -o Main.swf -- Main.as
    /private/tmp/bug/Main.swf (2030814 bytes)
    But when I use newer AIR sdk (I tried with 3.7, 3.8 and 4.0 beta) I'm getting file with size ~4.3MB.
    /opt/adobe_sdks/AIR_4.0/bin/mxmlc -compiler.source-path . -swf-version 14 -define=CONFIG::FOO,true -define=CONFIG::BAR,false -o Main.swf -- Main.as
    4328386 bytes written to /private/tmp/bug/Main.swf in 9,634 seconds
    Is it expected behaviour? Is there any chance that new compiler will work in this case the same as older one?

    Another difference I encountered is that using compiler definition directly in Embed construction doesn't work. Here is example:
    public class Assets {
      [Embed(source=CONFIG::MUSIC_MP3_PATH)]
      public static var MusicTrack: Class;
    Then I pass option to the compiler:
    -define=CONFIG::MUSIC_MP3_PATH,"'sfx/music.mp3'"
    With AIR 3.5 SDK it works fine. With AIR 3.7, 3.8 and 4.0 beta I'm getting file which is smaller in size (by mp3 file size) and when running I get error: TypeError: Error #1007: Instantiation attempted on a non-constructor. (when it tries to create new instance of MusicTrack).

  • [svn] 3025: Add libs/player/ 10 directory to the library path in the team apps flex-config.xml file.

    Revision: 3025
    Author: [email protected]
    Date: 2008-08-28 11:24:42 -0700 (Thu, 28 Aug 2008)
    Log Message:
    Add libs/player/10 directory to the library path in the team apps flex-config.xml file. This is to matche what's in the flex-config.xml file that comes with the Flex SDK.
    Add libs/player directory to the library path of the flex-config.xml file that is shared by the qa-manaul and qa-regress webapps. This is to match what's in the flex-config.xml file that comes with the sdk.
    Change the call to mxmlc in the compile-swf target in the flexunit build script to set the target player version to 10.0.0.
    Remove web services and http service tests that were removed by Bill from qa feature.properties files otherwise the automated test frameworks will try to run these tests and blow up.
    Modified Paths:
    blazeds/trunk/apps/team/WEB-INF/flex/flex-config.xml
    blazeds/trunk/qa/apps/qa-regress/testsuites/flexunit/build.xml
    blazeds/trunk/qa/features/full.properties
    blazeds/trunk/qa/features/httpService.properties
    blazeds/trunk/qa/resources/config/flex-config.xml
    Removed Paths:
    blazeds/trunk/qa/features/nist.properties
    blazeds/trunk/qa/features/webService.properties

    Revision: 3025
    Author: [email protected]
    Date: 2008-08-28 11:24:42 -0700 (Thu, 28 Aug 2008)
    Log Message:
    Add libs/player/10 directory to the library path in the team apps flex-config.xml file. This is to matche what's in the flex-config.xml file that comes with the Flex SDK.
    Add libs/player directory to the library path of the flex-config.xml file that is shared by the qa-manaul and qa-regress webapps. This is to match what's in the flex-config.xml file that comes with the sdk.
    Change the call to mxmlc in the compile-swf target in the flexunit build script to set the target player version to 10.0.0.
    Remove web services and http service tests that were removed by Bill from qa feature.properties files otherwise the automated test frameworks will try to run these tests and blow up.
    Modified Paths:
    blazeds/trunk/apps/team/WEB-INF/flex/flex-config.xml
    blazeds/trunk/qa/apps/qa-regress/testsuites/flexunit/build.xml
    blazeds/trunk/qa/features/full.properties
    blazeds/trunk/qa/features/httpService.properties
    blazeds/trunk/qa/resources/config/flex-config.xml
    Removed Paths:
    blazeds/trunk/qa/features/nist.properties
    blazeds/trunk/qa/features/webService.properties

  • Invalid root. The WEB-INF/flex folder must contain either flex-config.xml or services-config.xml.

    Hi,
    I am tryng to create a Flex Project, but got stuck with an error....
    The Error is  Invalid root. The WEB-INF/flex folder must contain either flex-config.xml or services-config.xml.
    Initially I download jboss-5.1.0.GA and placed it in C folder.
    While creating project, I selected J2EE server,  selected remote object access service and LiveCycle Data Services...
    In the next step, I de-selected the use default location for local  LiveCycle Data Services server.
    In the root folder - C:\jboss-5.1.0.GA
    for Root URL:  http://localhost:8700/flex/
    Context Root: /flex
    when I clicl Validate Configuration.. this is the error I get  Invalid root. The WEB-INF/flex folder must contain either flex-config.xml or services-config.xml.
    I can't understand what is going wrong here....any ideas....
    Thanks for the Help.....
    Thanks

    Run the wizard, select ColdFusion as the server technology, but don't
    check the option to use remote object access service. Then, open the
    project properties dialog, go to the Flex Compiler page, and add a the
    compiler flag: -services
    "C:\ColdFusion8\wwwroot\WEB-INF\flex\services-config.xml" (obviously
    changing the path as appropriate). This flag is what gets set by the
    wizard when you opt to use Flash Remoting.  -http://www.feed-squirrel.com/index.cfm?evt=viewItem&ID=77732
    Above is a work-around/solution that was successful for me.  Below are screen shots of how I initially configured the project, following the above solution.
    In the image above, notice how I didn't tick the "Use remote object access service" checkbox.
    For the image below, the 'Y:\' value is a mapped network directory to my server (IIS) webroot, which is "\\windowsserver/Inetpub/wwwroot/".  Root URL is the name of my server.  Fill in the fields with correct values and hit finish.
    Then navigate ( Project>Properties>Flex Compiler ) to this project's 'Flex Compiler context menu.
    And 'W:\' is another mapped network directory that points obviously to my Coldfusion's WEB-INF\flex.
    I hope that this helps.  As you may see, I'm hoping that this will help you and others that are likely to come across problem.

  • Stuck on Compiler Error in Flex Builder

    Greetings all.
    I have my first Flex app calling a Java backend, and the connection works fine.  I have a method "getContinents()" in Java, which returns a List of Continent objects.  Each Continent object has two variables, "name" and "description".  "Name" is a two-letter abbreviation (NA for North America, SA for South America, etc; you get the idea) and "Description" is the spelled-out description (like "North America").  I have an ActionScript class which mimics the Java class.
    In Flex, I have a DataGrid which has, as its dataProvider, a Bindable ArrayCollection.  When the data comes back into Flex, I put it in the aforementioned Bindable ArrayCollection.  That works great.  The list of Continents appears in the DataGrid, as expected.
    The issue is the DropDownList.  I want to see the same thing happen in the DropDownList.  I want to see the Description in the DropDownList, and when one is chosen, based on the selection, I want to go back to the server to get the list of Countries in that selected Continent.  But I can't get this to happen because I can't get past a compiler error on the DropDownList:
    -1067: Implicit coercion of a value of type String to an unrelated type mx.collections:IList.
    DropDownList is defined like this:
        <s:DropDownList x="270" y="220" id="continentDropdown" width="112">
                                        dataProvider="{continentArray}"
                                        labelField="description"
                                        valueField="name"
                                        change="continentChanged(event)">
        </s:DropDownList>
    Data is returned to Flex in this result handler:
                protected function continentsRO_resultHandler(event:ResultEvent):void
                {    log.info("Returned in result handler") ;
                    continentArray=event.result as ArrayCollection ;
    When I create a ComboBox instead of a DropDownList, I get the same compiler error.  When I change the ComboBox from a Spark ComboBox to an MX ComboBox, I don't get the compiler error, but the ComboBox never has any data in it.
    Would anyone be able to tell me what it is that I am doing wrong here?
    Thanks very much in advance!!!

    I would try this:
    continentArray = new ArrayCollection(event.result as Array);
    And if that does not work then ensure event.result is not just a string.
    If this post answers your question or helps, please mark it as such.
    Greg Lafrance - Flex 2 and 3 ACE certified
    www.ChikaraDev.com
    Flex Training and Support Services

  • Flex Config File DTDs or Schemas

    I am writing a basic application to test Flex integration
    with Java objects, and after solving a bunch of deployment errors,
    I am happy to say I am finding no errors on deployment anymore. The
    application, however, still doesn't work because of what must be
    some undescribed configuration error.
    I have been unable to find any DTDs or schemas that pertain
    to any of the following files:
    flex-config.xml
    data-management-config.xml
    flex-webtier-config.xml
    remoting-config.xml
    services-config.xml
    mxml-manifest.xml
    Putting aside my disappointment that I need all these files
    for a Flex-Java application that couldn't get any simpler, I would
    appreciate any insight into these files.
    Thanks.

    Ok, I solved it by myself
    I need to add the following codes when calling the Compiler
    API
    Configuration conf = application.getDefaultConfiguration();
    conf.setToken("flexlib", "path to the frameworks")
    applicaiton.setConfiguration(conf);
    Then it solved the problem

  • JDeveloper 11.1.2.4: Is it possible to only display custom validator IDs defined in faces-config.xml

    I have many custom validators and do not need to see the default values as listed in the below screen shot:
    http://i.imgur.com/xOQgxeZ.png
    Is it possible to only show the custom validators I define within faces-config.xml?
    Thanks,
    Wes

    Deepak,
    don't understand this sentence:
    "Do not specify the binding attribute value in the f:validator tag for the bindings not to display."
    Wes,
    The answer to the question seems to be "no" you cannot suppress the other validator entries as they too are configured in a faces config file - though not the one in the application
    Frank

  • Document management system  configs and status

    Can anybody tell me the configs and flow of document status and document version in DMS....
    Vijay

    Hi Vijay,
    Document Versioning in DMS can be controlled as per the following selection criteria,
    Value Description
    0 No version numbers
    1 Numeric version numbers 00 .. 99
    2 Numeric version numbers 01 .. 99
    3 Alphanumeric numbers A0 .. Z9
    4 Alphanumeric numbers A1 .. Z9
    5 Alphanumeric numbers AA .. ZZ
    6 AA .. AZ,A0 .. A9;BA .. Z9
    7 as 6, but without 0
    8 _A .. Z ; AA .. Z9
    9 as 5, but 00 allowed
    A as 6, but 00 allowed
    for USER-EXIT
    in dc10, the number which u select automatically controls the version each time you create a document under same document number/doc type/doc part.
    if you need to create a document under user-defined version or manually entered number then you can choose ur version which lies between the range selected.
    There is no such unlock status displayed on Document info record (DIR).
    beside document status you can see something called as "Not Released" indicator in red colour.
    the document status changes from "Not Released" to "Released" once the status is set in which setting is done.
    for configuration,
    dc10>select doc type>click on define document status-->create new statuses if required/double click on the final status (say Released) and set the status "Release Flag".
    under "Status type set to 'S' locked status".
    save and create a document.
    prior you need to set the status network using system defined statuses or even you can create your own user defined statuses.
    once the status is set to Released, automatically document will set to Released along with the release date and also it will get locked so dat it cannot be further edited by anyone.
    Thank You,
    Manoj
    Pl. reward if useful.

  • WORKING example of BlazeDS with Flex 3 and FlexBuilder

    Can someone point me to an actual working example with BlazeDS used with Flex 3 and Eclipse?
    The examples on livedocs are broken or imcomplete. Others work to varying degrees but fail at some point.
    What I'd like to see is the following:
    1. How to create a project using
         a. Flex 3.0
         b. BlazeDS
         c. Eclipse - FULL project creation and deployment instructions.
         d. An example where the project is NOT created within the BlazeDS webapp that comes with the BlazeDS/Tomcat combo.
         e. An example where the ENTIRE project can be compiled and deployed to Tomcat in one shot.
         f.  An example where a DB can he altered using standard CRUD methods with the display displaying updated records without and event being used to
             refresh the view of the records.
    This shouldn't be too much to ask if Flex is to be expected to be taken seriously in data-driven applications. I've looked all over the web for weeks for something likethis and have come up with nothing. I don't need Spring or Hibernate at this point. Any help would be greatly appreciated as I'm working on a proof-of-concept at this time and the pressure is mounting to come up with something.
    Thanks!

    here is some stuff I wrote while back(they both have recorded video you can watch);
    http://ledtechdesign.com/2009/02/blazeds-tutorial-part-i-simple-remoting/
    http://ledtechdesign.com/2009/02/tutorial-blazeds-simple-remoting-part-ii-flex/

  • Flex 3 and ColdFusion MX 702

    I have seen a few posts on similar problems in the Flex 2
    forums, but unfortunately no solution that would help me!
    Everything is working perfectly if I run Flex 3 on the same
    server as Cf is installed but if I try to set up the Flex project
    on my workstation I only get "Invalid root. The WEB-INF/flex folder
    must contain either flex-config.xml or services-config.xml."!
    So, obviously there is something wrong in how I specify the
    web root and url. I am running the J2EE version of CF and the IIS
    instead of the built-in webserver. I have tried so many different
    settings, changing the location of the config file, switching to
    the cf webserver, verifying that I can browse to the same location
    and that the flash2gateway is correct...
    Does anyone know how I should configure this correctly?
    Hi, Johan

    Hi Eastweb,
    I presume you have Flex Builder Beta 3. I think you should
    choose CF with ColdFusion Flash Remoting on the first page of the
    wizard. Second page of the wizard you should select:
    - Deployed to J2EE server;
    - Web root - browse to IIS web root folder
    - uncheck ColdFusion WAR is located in Web root and browse to
    WAR folder of the deployed ColdFusion (for example
    C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\).
    This should do the trick.
    regards,
    Mihai

Maybe you are looking for

  • I am trying to sync my contacts between my iphone and my Windows 8.1 computer.

    My iphone says that it is version 7.1.2 in the settings.  My computer is a Dell  with Windows 8.1.  I was able to get the devices to sync for music and pictures, but not the contacts.  Would the contacts be saved in Outlook on my computer? 

  • Incorrect currency format in ESS

    Hi, I am finding an issue in ESS / MSS for currencies with decimal places other than 2. We have the number of decimal places for currency key AUD maintained as 5 in table TCURX. But in portal the amount always appears as 2 decimal places, and hence t

  • Export photo but size is too big and magnified for uploading to web

    Hi I have tried to export a photo from IPhoto using Export function, selecting small then exporting to Desktop.  When I tried to upload to the web, the picture is very large and takes up the whole screen.  Even if i demagnify the picture before savin

  • Touchpad drivers not installing for U310 Touch on Windows 7

    My wife got a U310 Touch today which is a nice little computer. However it came with Windows 8 and she prefers Windows 7, so I took care of clearing the hard drive and installing Windows 7. We installed all the Windows 7 drivers from the Lenovo suppo

  • Compressing data pump export files

    I am running 10g R2 on sun and aix. Is it possible to compress the output from data pump like you could with piping exp? I have a DW that is about 5T, and we wanted to be able to utilize data pump to dump data, but wanted these output files compresse