Trying to debug cfc in flex project

I have cf builder as a plugin in flash builder
I have a cfc in a flex project and when I try and add a cf debug config I get a message:
Path for project must have only one segment.
Any ideas friends

I have cf builder as a plugin in flash builder
I have a cfc in a flex project and when I try and add a cf debug config I get a message:
Path for project must have only one segment.
Any ideas friends

Similar Messages

  • FLEX Builder Pro 3 New Flex Project cannot configure J2EE

    I have FLEX Builder Pro 3 installed on a Windows XP machine.  LiveCycle Data Services is installed (with Tomcat) on a Linux RHEL 5 machine.  When trying to create a new FLEX project and configuring a J2EE server am very confused on what to put in Root Folder and Root URL.  I have tried various paths on the Root Folder (with a drive mapped through windows and also with just using the servername) and keep getting the error message:
    Invalid root. The WEB-INF/flex folder must contain either flex-config.xml or services-config.xml.
    I've located the flex-confing file in the tomcat5\webapps\ROOT\WEB-INF directory, but still get the error.
    Please any help would be greatly appreciated.

    Are your new classes referenced from the old code? Mxmlc employs a questionable form of "as-needed" linking, so classes that are not referenced from the main application are not even compiled. This referencing requirement is recursive; that is, any classes that are to be included have to be referenced from the main application, or from classes referenced by the main application, or from classes referenced by classes referenced by the main application, and so on. But if your new classes are not referenced at all from the old code, they will be ignored.

  • Flex project into a single SWC file!!

    please help me with this problem:
    i created an image gallery using actionscript 3.0 classes in Flash CS4...in one of the classes, i used a mask Movieclip to mask the thumbnails in the gallery...this mask movieclip is a rectangle Movieclip symbol in the library that is exported for actionscript...
    in order to run my application in Flex 3, i did the following:
    a. i placed the classes in a folder called "com"
    b. i placed my assets (the images) in folder called "images"
    placed both "com" & "images" folders in the "src" folder of my Flex project
    c. i exported the mask movieclip symbol from the Flash library as a SWC file, and placed the SWC file in the "lib" folder of my Flex project
    d. i dragged my custom component (image gallery) onto the stage
    e. in the main MXML application file, i went to "Design Mode" and found my custom component under the "Custom" folder..i dragged the component on the stage
    and my gallery worked fine!
    now the problem happened when i tried to compile the WHOLE Flex project as a SINGLE SWC file...in order to compile the whole Flex project as a SINGLE SWC file, i did the following:
    1. i created a new Flex Library Project
    2. i placed my classes folder ("com") and my images folder ("images") in the "src" directory of the Flex library project
    3. i went to Project --> Properties --> Flex Library Build Path -->
    - on the "Classes" tab, i checked the ("com") folder which contains all of the classes
    - on the "Assets" tab, i checked the ("images") folder which contains all of the images
    - on the "Library Path" tab, i clicked the "Add SWC" button, browsed to my mask movieclip SWC file (that i created earlier from the mask movieclip symbol in the library in Flash CS4) and selected it
    I then pressed Ok,and now a SWC file that represents my project was created in the "bin" directory of my Flex library project
    4. I created a new Flex project, and in the "lib" folder i placed the SWC file that was created in the Flex Library project...in the main MXML application file, i went to "Design Mode" and found my custom component under the "Custom" folder..i dragged the component on the stage
    BUT NOTHING DISPLAYS!!
    so obviously there's a problem in "condensing" the whole project as single SWC file
    could someone please help me!!
    thanx a lot

    I am also facing same problem, when i am including librabry in  application not able to see any image...............can you tell me the solution.................................thanks

  • Bad news if I can't debug cfcs in a flex project

    I'm trying to debug a cfc in a flex project Coldfusion builder installed as a plugin is Flash builder 4
    But I'm getting a message saying:
    File does not belong to a coldfusion project. Apply Coldfusion nature to the project to which the file belongs.
    This is bad news if I can't debug cfcs in a flex project

    Here are the targets (simplified) that are specific to the cfml export.  The real build.xml reads a build.properties file for the variables, and main runs the flex build first:
    <!-- Refresh CFML -->
    <property name="SVN.USERNAME" value="MY SVN USERNAME"/><!-- change to your svn username -->
    <property name="SVN.PASSWORD" value="MY SVN PASSWORD"/><!-- change to your svn password -->
    <property name="SVN.PROJECT_URL" value="http://mysvnproject.com/trunk"/><!-- change to your svn url -->
    <property name="BUILD.EXPORT_DIR" value="c:/CFML/project/export/path"/><!-- change to your CFML project path -->
    <property name="DEPLOY_DIR" value="c:/flex/project/deploy/path"/><!-- change to your Flex project path -->
    <!-- runs the targets -->
    <target name="main" depends="export-cfml, copy-cfml"/>
    <target name="export-cfml" depends="find_revision, check-svn-build" unless="build.exists">
         <echo>Lates SVN build did not exist, export it</echo>
         <!-- export from svn -->
         <exec executable="svn">
              <arg line="export &quot;${SVN.PROJECT_URL}&quot; ${build.dir} -r ${revision.number} --username ${SVN.USERNAME} --password ${SVN.PASSWORD}"/>
         </exec>          
    </target>
    <!-- Get the latest revision number -->
    <target name="find_revision" description="Sets property 'revision.number' to the head svn revision">
         <!-- Use SVN to learn the latest revision number -->
         <exec executable="svn" outputproperty="revision.number">
              <arg line="info &quot;${SVN.PROJECT_URL}&quot;"/>
              <redirector>
                   <outputfilterchain>
                        <linecontainsregexp>
                             <regexp pattern='^Last Changed Rev' />
                        </linecontainsregexp>
                        <tokenfilter>
                             <replaceregex pattern='[\D]+([\d]+)' replace="\1" />
                        </tokenfilter>
                   </outputfilterchain>
              </redirector>
         </exec>
         <echo message="Current SVN Revision: ${revision.number}"/>
    </target>
    <!-- we only export from svn if we haven't already for current revision.number -->
    <target name="check-svn-build">
         <!-- setup the build dir name based on the latest revision number -->
         <property name="build.dir" value="${BUILD.EXPORT_DIR}/${revision.number}" />
         <available file="${build.dir}" property="build.exists" value="true" type="dir" />
         <echo>SVN build exists: ${build.exists}</echo>
    </target>
    <!-- we always copy from the latest svn export dir to the flex project -->
    <target name="copy-cfml">
         <echo>Copy CFML to Flex Project</echo>
         <!-- copy cfml to flex project -->
         <copy todir="${DEPLOY_DIR}/www">
              <fileset dir="${build.dir}"/>
         </copy>
    </target>
    Note: I quickly stripped out all "extra" stuff we do for our project, so this is untested and may contain typos.

  • Debug Multiple Flex Projects with shared PHP project

    Hi ! I have a problem debugging Flex/PHP applications.
    I have many Flex projects with a shared PHP project, so I need to set the the output folder to the Flex project's folder, not the PHP's project folder.
    But it doesn't work, I mean the application works great, the PHP are executed fine, the AS3 code is debugged fine, but I can't debug PHP.
    If I put the output folder to the PHP's project, then I can debug the PHP code too.
    Please, can you tell me if it's possible to put the output folder to another folder than PHP's project???

    Hi Steven,
    Yes, I considered this option too.
    But if someone creates in the database a column for a table that belongs to "Project A", when I publish "Project B" the generated script tries to remove the column since my copy of "Project A" on my solution is not the latest
    version.
    I think I'll just have to handle this. Like, organizing with people when and ho can publish to the databases.
    Maybe the best practice is to developers use their own LocalDB while developping and only one person publish to database on the development server.

  • I want to allow my local Flex projects to communicate with remote cfcs

    I want to allow my local Flex projects to communicate with remote cfcs that are hosted on an external server.
    For example I usually develop my flex apps locally and upload them to a server for testing. If could do the above I could have just have one database to test and run live data.
    How to I set up my services-config.xml to do this. Is this something I should set up in Flex builder?

    You can set up your project in flex builder to connect to the remote server instead of the local one. Also, you could add remote database as a datasource in the cold fusion administrator for the localhost; this would allow you to have single database for testing and production. Personally i like to have my localhost mirroring the production server this allows me to test localy and make sure that everything is working properly before publishing to the live server.

  • ActionScript class being run by mistake in Flex project

    I have a Flex project where my main MXML file is set as the
    one and only application file and is also set as the default file.
    I also have an ActionScript class in the project that extends
    Sprite. It is _not_ set as an Application file.
    When I have the ActionScript class selected, if I hit run or
    debug, FB3 creates a new launch configuration for it and tries to
    run the AS file instead of the default application MXML file.
    Needless to say, this is really annoying as it means I have
    to select the main MXML file before hitting debug/run every time.
    Is this a bug or feature? (Feels like a bug).
    Thanks,
    Aral

    Hi Aral,
    Can you please log it in our public bug system:
    http://bugs.adobe.com/flex?
    It'd be great if you can provide more info to the bug e.g.
    reproducible steps, platform, FB version (Plugin or Standalone).
    thanks,
    Sharon

  • Flex files in Non-Flex Project

    I use Eclipse for developing in Java. I have been trying out
    the Flex 3 (public beta) plugin for Eclipse. I can create a new
    Flex project and all of the Flex files compile and work correctly.
    But how do I add Flex files to an existing project (non Flex
    project) I already have created and setup it up so the Flex files
    (.mxml, etc..) will be compiled and built correctly.
    Thank you

    Hey there,
    I tried install a debug version of flash as you suggested. I
    got this error from Firefox:
    But I can't understand why this error could be happening
    because the program works perfectly in IE.
    TypeError: Error #1010: A term is undefined and has no
    properties.
    at FlexAnnotationProject/annotationsLoaded()
    at FlexAnnotationProject/loadAnnotationEvent()
    at FlexAnnotationProject/__loadAnnotation_result()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.rpc.http.mxml::HTTPService/
    http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::resultHandler()
    at mx.rpc::Responder/result()
    at mx.rpc::AsyncRequest/acknowledge()
    at ::DirectHTTPMessageResponder/completeHandler()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/flash.net:URLLoader::onComplete()
    Any ideas?
    Aaron

  • How to compile and excecute a downloaded flex project

    I've a problem during the compile of downloaded flex projects
    (with Flex Development)
    I copy the project folder in Flex Builder 3 folder
    Now.... File -> Import -> Flex Project
    I Import the project in Flex Dev
    I execute the debug ... or I execute the project
    "Run Main" -> can't find bin-debug/main.html
    "Debug Main" -> can't find bin-debug/main.html
    I've tried with
    Project -> "Export Release Build" -> Can't find
    /Dashboard/libs folder
    ... I've tried to create the Libs folder
    and I see:
    Encountered errors or warnings while building project
    main.mxml.
    main.mxml: Cannot create HTML wrapper. Right-click here to
    recreate folder html-template.
    How Can I compile (and view) the project

    Copy the "html-template" directory from one of your other
    projectsand try again.

  • I can only figure out how to debug on the flex side

    I am calling CFC methods from my flex applications but I can
    only figure out how to debug on the flex side. Is it possible to
    debug on the CFC methods begin called from flex? I don't think this
    is possible but you may prove me wrong :)

    Thanks.
    As a workaround I tried returning the thing that I suspect
    the problem lies:
    <cffunction name="updateField" access="remote"
    returntype="String">
    <cfargument name="field" required="true"
    type="string">
    <cfargument name="currencyName" required="true"
    type="string">
    <!--- <cfargument name="currencyID" required="true"
    type="Numeric"> --->
    <cfargument name="value" required="true"
    type="Numeric">
    <cfquery name="q" datasource="#datasource#">
    update tbale
    set <cfqueryparam value="#arguments.field#"
    cfsqltype="cf_sql_varchar"> =
    <cfqueryparam value="#arguments.value#"
    cfsqltype="cf_sql_float">
    where currencyName =
    <cfqueryparam value="#arguments.currencyName#"
    cfsqltype="cf_sql_varchar">
    </cfquery>
    <cfset flash.result="update RATES #arguments.field#" >
    <cfreturn flash.result>
    </cffunction>
    but the following line does not return the correct string:
    <cfset flash.result="update RATES #arguments.field#" >
    I do I add arguments to the string?

  • Not able to create a new Flex project in Eclipse

    I am trying to use Flex Builder 3 eclipse plug-in for
    development. But while creating a new Flex project in eclipse, I'm
    getting the following error:
    Template template.jst.web has not bee defined.
    I am using Eclipse 3.3, and have installed the latest WTP
    updates. Can someone point out what I'm missing here?
    Thanks!

    Hi clsung,
    Do you get this error on every Flex Project you are trying to
    create or just on Java/J2EE projects? Flex Builder beta doesn't
    support WTP 2.0 but this shouldn't affect the other kind of
    projects.
    -Gelu

  • Where does flex builder keep refererences to the flex projects?

    Where does flex builder keep refererences to the flex projects?
    I'm getting an error like this on FB3 startup:
    The folder PR System Intranet does not exist in the workspace so the reference must be somewhere else.
    thanks
    !SESSION 2009-11-02 09:47:52.203 -----------------------------------------------
    eclipse.buildId=unknown
    java.version=1.5.0_11
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
    Command-line arguments:  -os win32 -ws win32 -arch x86
    !ENTRY org.eclipse.core.resources 2 10035 2009-11-02 09:47:53.610
    !MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
    !ENTRY org.eclipse.core.resources 4 567 2009-11-02 09:47:53.829
    !MESSAGE Workspace restored, but some problems occurred.
    !SUBENTRY 1 org.eclipse.core.resources 4 567 2009-11-02 09:47:53.829
    !MESSAGE Could not read metadata for 'PR System Intranet'.
    !STACK 1
    org.eclipse.core.internal.resources.ResourceException: The project description file (.project) for 'PR System Intranet' is missing. This file contains important information about the project. The project will not function properly until this file is restored.
    at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceMan ager.java:663)
    at org.eclipse.core.internal.resources.SaveManager.restoreMetaInfo(SaveManager.java:792)
    at org.eclipse.core.internal.resources.SaveManager.restoreMetaInfo(SaveManager.java:772)
    at org.eclipse.core.internal.resources.SaveManager.restore(SaveManager.java:663)
    at org.eclipse.core.internal.resources.SaveManager.startup(SaveManager.java:1319)
    at org.eclipse.core.internal.resources.Workspace.startup(Workspace.java:1949)
    at org.eclipse.core.internal.resources.Workspace.open(Workspace.java:1713)
    at org.eclipse.core.resources.ResourcesPlugin.start(ResourcesPlugin.java:363)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:9 99)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextIm pl.java:993)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:9 74)
    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
    at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLa zyStarter.java:111)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java :417)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoade r.java:189)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:34 0)
    at org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackag e.java:37)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java :405)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.jav a:83)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at com.adobe.flexbuilder.standalone.FlexBuilderApplication.start(FlexBuilderApplication.java :111)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:106)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:76)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
    !SUBENTRY 2 org.eclipse.core.resources 4 567 2009-11-02 09:47:53.829
    !MESSAGE The project description file (.project) for 'PR System Intranet' is missing. This file contains important information about the project. The project will not function properly until this file is restored.
    !ENTRY org.eclipse.osgi 4 0 2009-11-02 09:47:53.860
    !MESSAGE An error occurred while automatically activating bundle org.eclipse.core.resources (161).
    !STACK 0

    Thanks but that file contains things like
    <?xml version="1.0" encoding="UTF-8"?>
    <actionScriptProperties mainApplicationPath="main.mxml" version="3">
    <compiler additionalCompilerArguments="-services &quot;X:\Coldfusion9\wwwroot\WEB-INF\flex\services-config.xml&quot; -locale en_US" copyDependentFiles="true" enableModuleDebug="true" flexSDK="Flex 3.2" generateAccessible="true" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="true" htmlPlayerVersion="9.0.28" htmlPlayerVersionCheck="true" outputFolderPath="Staff_Ratings-debug" sourceFolderPath="src" strict="true" useApolloConfig="false" verifyDigests="true" warn="true">
    <compilerSourcePath>
    <compilerSourcePathEntry kind="1" linkType="1" path="H:/flash"/>
    </compilerSourcePath>
    <libraryPath defaultLinkType="1">
    <libraryPathEntry kind="4" path=""/>
    </libraryPath>
    <sourceAttachmentPath/>
    </compiler>
    <applications>
    <application path="main.mxml"/>
    </applications>
    <modules/>
    <buildCSSFiles/>
    </actionScriptProperties>
    I don't see how FB3 knows about the
    Pr System Intranet
    project that seems to be the cause of the errors.

  • Flex Builder 3 Launch Flex Project Error

    FB3 launch Flex Project Error
    quote:
    String index out of range:30
    what's reason? how do i fix it? Thanks!

    quote:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" width="367" height="227">
    <mx:Button x="178" y="10" label="Button"/>
    <mx:ComboBox x="10" y="10"></mx:ComboBox>
    </mx:Application>
    That's code. I can't launch project with debug.
    Thank you.

  • Flex Project Management

    Hi,
    I am planning to build a flex project with a small group of people. So, I am thinking to have one main project to load all the component (SWF) in swf loader, so that I can have the component to be distributed to everyone. Here I want to ask:
    1. Besides local connection, what is the other best, fastest, and most stable way to have the main application to communicate with child application loaded via swf loader?
    2. As each person may working on their own part, how to set up the project so that they can easily debug their part with the main application during the development?
    3. The project will be deploy in both Air and web format. How to share the code base for both development so that we are easier to grow and maintain the app?
    Thanks. Please advise if you have better way for group development.

    take a look at the first part of this video where he talks about different architectures
    http://tv.adobe.com/watch/max-2010-develop/flexactionscript-30-architecture-and-dependency -injection-frameworks-overview/
    you also might find this useful. Some example case studies for web/mobile apps, the same principle could be applied to web/desktop apps
    http://www.adobe.com/devnet/flex/samples.html

  • Debug Java in Flex Builder?

    hi, i installed WTP in Flex Builder, then i set up a project that launches Tomcat, but when i get a display of the .swf file i've created in my Flex project i either get a blank screen, or part of my code is displayed in the page, no actual flex stuff. Does anyone know of any OBVIOUS gotchas that i might be overlooking that will enable me to debug the POJOS i'm using through BlazeDS using Flex Builder? i would appreciate ANY help! thanks!

    您好!
         我来自中国,姓:龙,QQ:331828177
         我英语不是很懂,只能大概知道说的是flex配置问题.我也正学习java和as3希望有您的帮助.谢谢!

Maybe you are looking for

  • TS1424 US iTunes in the UK

    I have a uk iTunes account, but I want to download music on the US version of iTunes, how can this be done?

  • Creative Inspire P580 volume control probs

    Reading through some of the posts on these forums, it is quite apparent that there is a very obvious fault with certain Creative speaker systems. I've used my P580's for over a year now, and has been working fine, although I've now changed to the Log

  • External HD will not Mount on desktop

    I have a MBP and I have been working with an external Lacie HD and then yesterday when I go to hook it up it won't mount on my desktop. I checked my firewire connection in the system profiler and it is reading the drive. I just cannot see the icon on

  • The best Mac MTS Splitter-Editing/splitting AVCHD MTS/M2TS videos successfully on Mac

    I have recorded a long video with Sony HDR-CX700 Camcorder, but there are some parts I would like to cut off. I once thought a video converter is a must for cutting videos.But I search for a long time , found may spliter and converter just for window

  • Out Box doesn't show

    My out Box does not show when i send mail of any length. Any ideas? Doug