Flash Builder 4.6 - How can I keep unit test classes out of the finished swc?

     I have a library of code I'm building and I'm working on unit testing but I have a major issue. When my finished swc compiles no matter what I do it includes the unit test classes as part of the intellisense if you load the swc via flash. The classes aren't really in the swc since if you just try and import them they'll come up undefined. They only appear to go into the intellisense for the swc. Does anyone know how can I keep this from happening in the finished source? Currently my folder setup is like this in flash builder.
src\main - source documents for the library to get compiled
src\mock - mock class area for unit testing
src\test - unit test classes
     In the project Properties panel > the first tab of my Flex Library Build path I have selected only the src\main folder for the classes to inlude in the library. No other folder paths are selected.
The "Flex Library Build Path" doesn't change my results with any setting.
Thanks,

Mel Riffe,
Here's a Help topic about compiler options in Flash Builder: http://help.adobe.com/en_US/flashbuilder/using/WSe4e4b720da9dedb524b8220812e5611f28f-7fe7. html
For information on using mxmlc, the application compiler, to compile SWF files from your ActionScript and MXML source files, you can see: http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7fcc.html
Hope this helps,
Mallika Yelandur
Flash Builder Community Help & Learning
Adobe Systems Incorporated

Similar Messages

  • I am doing two people's jobs and I need to use two separate log-ins on the same website. How can I keep both log-ins open at the same time. Everytime I switch tabs I have to log in again.

    I am doing two people's jobs and I need to use two separate log-ins on the same website. How can I keep both log-ins open at the same time. Everytime I switch tabs I have to log in again.

    Try one of these extensions for multiple cookie sessions.
    Multifox: <br />
    http://br.mozdev.org/multifox/ <br />
    Cookie Swap extension: <br />
    https://addons.mozilla.org/firefox/3255/ <br />
    Cookie Pie extension: <br />
    http://www.nektra.com/oss/firefox/extensions/cookiepie/

  • How can I keep synchronized my macbook pro at the office and a traveling macbook air?

    How can I keep synchronized my macbook pro at the office and a traveling macbook air?

    Have you tried doing the sync via Time Machine?
    I thought it would be possible to backup the travelling machine and restore the machine at the office from the new backup.
    I read a warning from Apple that it is not advisable.
    I would be very interested in your opinion.

  • How can I run a a class file on the Apache server?

    Hi Guys and Gurus,
    I am seeking some favor all of experienced gurus, i.e.
    How can I run a a class file on the Apache server?
    Actually, I want to extract some records from a MySQL Database running on Apache Server. I wrote a program just to select the columns and show them. It is now a Class file, Now how can I run this class file from the Server???
    Please advise...
    VJ

    cross posted
    http://forum.java.sun.com/thread.jsp?thread=299137&forum=31&message=1184025

  • URGENT PLEASE:How can I run a a class file on the Apache server?

    Hi Guys and Gurus,
    I am seeking some favor all of experienced gurus, i.e.
    How can I run a a class file on the Apache server? Can I run through an Applet?
    How can I set Environment variables in Windows2000 Professional Environment?
    Actually, I want to extract some records from a MySQL Database running on Apache Server. I wrote a program just to select the columns and show them. It is now a Class file, Now how can I run this class file from the Server???
    The code is here
    import java.sql.*;
    public class RecordShow {
    public static void main(String args[]) {
    String url = "jdbc:mysql://localhost/myhost";
    Connection con;
    String query = "select mytable.column," +
    "from mytable " +
    "where mytable.column = 1";
    Statement stmt;
    try {
    Class.forName("com.mysql.jdbc.Driver");
    } catch(java.lang.ClassNotFoundException e) {
    System.err.print("ClassNotFoundException: ");
    System.err.println(e.getMessage());
    try {
    con = DriverManager.getConnection(url,
    "myuser", "mypassword");
    stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery(query);
    ResultSetMetaData rsmd = rs.getMetaData();
    int numberOfColumns = rsmd.getColumnCount();
    int rowCount = 1;
    while (rs.next()) {
    System.out.println("Row " + rowCount + ": ");
    for (int i = 1; i <= numberOfColumns; i++) {
    System.out.print(" Column " + i + ": ");
    System.out.println(rs.getString(i));
    System.out.println("");
    rowCount++;
    stmt.close();
    con.close();
    } catch(SQLException ex) {
    System.err.print("SQLException: ");
    System.err.println(ex.getMessage());
    Please advise... THANKS
    VJ

    Ehm, I wasn't referring to you at all... read up,
    there's a comment by jschell saying that CGI might be
    easier/better for his purposes.
    Yep.
    I know PHP/Perl/whatever might be easier for some
    purposes, but only if you happen to know them and want
    to/are able to use them. Ok. But you aren't the one asking the question are you. And the person who asked the question seems to have absolutely no familiarity with Apache or applets.
    So whatever they do they are going to have to learn a lot.
    And that does indeed suggest that in all likelyhood they have not investigated the alternatives.
    And for the vast majority of internet applications, especially with smaller projects (obvious this person is not working with a large team), using perl, or something besides java, is going to be the best business solution. It is simpler, and more secure (probably due to the fact that it is simpler.)
    Since this is a Java forum, I
    answer under the assumption that people have made a
    choice one way or another to use a Java solution to
    their problem, so I try to solve it in Java first, and
    only when that fails (very seldom) do I turn to other
    solutions.You approach problems by arbritrarily deciding to try to solve it in java first and only if you fail do you then look to other solutions?
    My first step is to try to figure out which of the various avenues is going to cost less. (And a secondary, but non-trivial concern, is then to convince the customer that just because they have heard of a buzz word like 'enterprise bean' that it doesn't mean that is a cost effective solution.) We must come from different worlds.

  • How can I get a stripped screw out of the bottom of my iPhone?? I need help, How can I get a stripped screw out of the bottom of my iPhone?? I need help

    How can I get a stripped screw out of the bottom of my iPhone?? I need help, How can I get a stripped screw out of the bottom of my iPhone?? I need help

    Try asking at ifixit.com. The iPhone is not considered user servicable. You're not going to get much help on an Apple sponsored forum.

  • How can I keep iTunes on my Mac but the Movies on an external hard drive and still have them accessible to my Apple TV etc through Home Sharing?

    I have a 2TB external hard drive that I want to store my ripped movies on and free up space on my Mac. How can I do this?

    Is there a reason you don't want to keep your entire iTunes folder on the external.
    Everything will work just fine and it is simpler if everything in iTunes is in one location (the iTunes folder).
    Copy entire /Music/iTunes/ folder to external.
    Hold Option and launch iTunes.
    Select Choose library... and select the iTunes folder on the external.
    That is all you need to do.

  • Problem with the MenuBar and how can i delete a own component out of the storage

    Hello,
    I opened this thread in the category "Flex Builder 2", but
    under this category my questions fit better.
    I have a problem with the MenuBar and a question to delete a
    component out of storage.
    1. We have implemented the MenuBar, which was filled
    dynamically with XML data.
    Sporadically it will appear following fault, if we "mousover"
    the root layer.
    RangeError: Error #2006: Der angegebene Index liegt
    außerhalb des zulässigen Bereichs.
    at flash.display::DisplayObjectContainer/addChildAt()
    at mx.managers::SystemManager/
    http://www.adobe.com/2006/flex/mx/internal::rawChildren_addChildAt()
    at mx.managers::SystemManager/addChild()
    at mx.managers::PopUpManager$/addPopUp()
    at mx.controls::Menu/show()
    at mx.controls::MenuBar/::showMenu()
    at mx.controls::MenuBar/::mouseOverHandler()
    Here a abrid ged version of our XML to create the MenuBar:
    <Menuebar>
    <menu label="Artikel">
    <menu label="Artikel anlegen" data="new_article" />
    <menu label="Artikel bearbeiten" data="edit_article" />
    <menu label="Verpackung">
    <menu label="Verpackung anlegen" data="new_package" />
    <menu label="Verpackung bearbeiten" data="edit_package"
    />
    </menu>
    <menu label="Materialgruppe">
    <menu label="Materialgruppe anlegen"
    data="new_materialgroup" />
    <menu label="Materialgruppe bearbeiten"
    data="edit_materialgroup" />
    </menu>
    </menu>
    </Menuebar>
    It is a well-formed XML.
    2. Delete a component out of storage
    We have some own components (basically forms), which will be
    created and shown by an construct e.g.
    var myComponent : T_Component = new T_Component ;
    this.addChild(myComponent)
    Some of our forms will be created in an popup. On every call
    of the popup, we lost 5 mb or more, all childs on the windows will
    be removed by formname.removeAllChild();
    What cann we do, that the garbage collector will dispose this
    objects.
    Is there a way to show all objects with references (NOT
    NULL)?
    I have read in the Flex Help, that
    this.removeChild(myComponent) not delete the form and/or object out
    of the storage.
    Rather the object must be destroyed.
    It is sufficient to call delete(myComponent) about remove
    this object out of the storage as the case may be that the
    garbage-collector remove this object at any time?
    Or how can I destroy a component correctly. What happens with
    the widgets on this component e.g. input fields or datagrids?
    Are they also being deleted?
    Thanks for your help.
    Matze

    If you mena the "photo Library" then you cannot delete it.
    This is how iphone handles photos.  There are not two copies.  There a re simply two places from which to access the same photos.  ALL photos synced to iphone can be accessed via Photo Library.  Those same pics can be accessed via their individual folder.

  • How Can This Computer Be Used Right Out Of The Box With NO WORD PROCESSING!

    I just want to know why I can't do homework on a $1099 laptop!

    Welcome to the discussions!
    As mentioned, virtually no PC comes with MS Office on it - and that's a good thing. Most people do not need all the features of Office in a standard home setting and including it would just increase their price needlessly. Students who turn in homework through email will usually need it since teachers really don't want to be bothered with multiple file formats. I can't blame them.
    Check out your school's bookstore. It is likely that they have Office for Mac at a great price. If not - or if you want a different program - use OpenOffice or Apple's own iWork.

  • How can I write unit tests for BizTalk Maps with multipe inputs?

    I want to bring all my maps under unit test coverage, but can't seem to find a way to test maps with multiple inputs. Maps with multiple inputs are first merged into a single schema by biztalk and then the map actually uses that inline schema as source.
    What I tried is- produced a generated instance of source schema by clicking "Test Map", and then modified the skeletal instance by stitching together the multiple input files into it. There are two problems I am facing going forward that way- 1#
    It takes a lot of time to craft a mock input of inline schema and 2# the mock input fails input validation although the input works just fine in the orchestration.
    So is there a better or standard way to test such Maps?

    For testing maps with multiple inputs, follow the below steps-
    Lets assume you have a map with two input schemas A and B and output as C.
    1) To create the required schema just reverse the inputs i.e. make a map with C as input and A & B as output. Later do a test map. This will generate an XML File with schemas A & B. 
    2) Now you just to need to replace OutputMessagePart_0 to InputMessagePart_0
    and OutputMessagePart_1 to InputMessagePart_1
    Later you can use this xml for testing your original map.
    Refer the below article
    Developing and Testing Maps which have Multiple Source and Destination Schemas
    Thanks,
    Prashant
    Please mark this post accordingly if it answers your query or is helpful.

  • How can I keep AppleScript repeat resetting Safari in the background?

    I want to have an AppleScript which resets Safari every 10 seconds. Now I got a problem with repeating the script. After the script resets Safari it closes the app. I want to keep Safari open while the script is operating in the background.
    That was my try:
    =================
    tell application "Safari" to launch
              tell application "Safari" to activate
              tell application "Safari" to open location "http://www.apple.com"
    repeat
              tell application "Safari" to close every window
              try
                        tell application "Safari" to quit
              on error errmsg
                        display dialog "Safari App beenden gescheitert" with icon caution
              end try
              try
                        do shell script "rm -f ~/Library/Safari/history.plist"
              on error errmsg
                        display dialog "history.plist löschen gescheitert" with icon caution
              end try
              try
                        do shell script "rm -f ~/Library/Safari/HistoryIndex.sk"
              on error errmsg
                        display dialog "HistoryIndex.sk löschen gescheitert" with icon caution
              end try
              try
                        do shell script "rm -f ~/Library/Caches/com.apple.Safari/Cache.db"
              on error errmsg
                        display dialog "Cache.db löschen gescheitert" with icon caution
              end try
              try
                        do shell script "rm -rf ~/Library/Caches/Metadata/Safari/History"
              on error errmsg
                        display dialog "History löschen gescheitert" with icon caution
              end try
              try
                        do shell script "rm -f ~/Library/Cookies/Cookies.plist"
              on error errmsg
                        display dialog "Cookies.plist löschen gescheitert" with icon caution
              end try
              try
                        do shell script "rm -f ~/Library/Safari/LastSession.plist"
              on error errmsg
                        display dialog "LastSession.plist löschen gescheitert" with icon caution
              end try
              try
                        do shell script "rm -f ~/Library/Safari/TopSites.plist"
              on error errmsg
                        display dialog "TopSites.plist löschen gescheitert" with icon caution
              end try
              try
                        do shell script "rm -rf ~/Library/Caches/com.Apple.Safari/*"
              on error errmsg
                        display dialog "Safari Cache löschen gescheitert" with icon caution
              end try
              try
                        do shell script "rm -f ~/Library/Caches/Adobe/Flash Player/AssetCache"
              on error errmsg
                        display dialog "Flash Player AssetCache löschen gescheitert" with icon caution
              end try
              try
                        do shell script "rm -rf ~/Library/Preferences/Macromedia/Flash*/macromedia.com/support/flashplayer/sys/ #*"
              on error errmsg
                        display dialog "Flash Player macromedia.com löschen gescheitert" with icon caution
              end try
              try
                        do shell script "rm -rf ~/Library/Preferences/Macromedia/Flash*/#SharedObjects/*"
              on error errmsg
                        display dialog "Flash Player #SharedObjects löschen gescheitert" with icon caution
              end try
      delay 10
    end repeat
    =================
    PS: The dialogues are in German… But that shouldn't be a problem

    You can use the applescript Script Menu to run scripts in Photoshop (or any application).
    If you don't have it installed, run the AppleScript Utility.app (find it in the Applescript folder in your applications folder) and make sure the 'Show Script Menu in menu bar' is checked.
    Edit: I thought you'd be able to use this with an action by inserting a menu item, but apparently it doesn't recognize the appescript menu.

  • How can I keep all of my students on the same page in an iBook?

    My school is in the process of giving each student an iPad Mini, one grade at a time. As a ninth grade teacher, all of my students have one, but we are having some trouble staying on the same page  when we are reading a novel ( no pun intended ). What I mean is that what appears on page fifty for me will appear on page forty for one student and on page sixty for another. I tried to fix this by having all of my students keeping their iPads in landscape orientation, but that did not solve the issue. I then tried to have students adjust the size the font on their books so we would have a uniform text, but the tool for adjusting the size images this tricky as well.
    I am considering having all of my students make their font size as small as possible and then giving them a specific number of times to tap on the font increase, but I am hoping to find a simpler method. Am I overlooking something?
    I would appreciate any tips that you might have.

    You can render the ebook on an instructional application called Zankura. Not only can you control the screen scrolling, but all the students can freely annotate with their stylus. www.zankura.com.

  • How can I keep my iPod Touch cool in the sun?

    So I am going on holiday at the end of this week camping abroad where it will be hot and I am planning to take my iPod touch with me so I can access my music, emails, Facebook, Twitter, Skype etc. I am slightly concerned that iPod touch will be damaged by the heat as it can get very hot in the tent and car and also on the beach in direct sun. I had a heat warning the other week from leaving it on the table in the garden in the 30 degrees sun (yes that was silly of me!) It has a Zagg screen protector and a basic black skin. It is an iPod touch 4th generation. Is there any way of protecting from sunlight and heat? Also is there an app to download that will read the iPods current temperature and what is its maximum temperature it can withstand to?

    All you can do is keep it shaded and not in a unventilated space (like a car or tent) exposed to the sun.
    There is no temperature app.
    Hot temperatures can permently damage the iPod, especially the battery.

  • How can I keep music playing longer without using the web.

    I listen to siriusxm through the web. After about 20 min the system turns off if I do nothing on the web. How I fix this?

    You need to keep your computer from going to sleep. this is a windows setting and not a Firefox one, but here is something to point you in the right direction:
    http://windows.microsoft.com/en-us/windows7/sleep-and-hibernation-frequently-asked-questions

  • HT1766 How can I keep two versions of backup of the same IOS device in iTunes?

    HI,
    I wish to keep two versions of the same iPad backup in iTunes.
    Is it possible? Pl. advice. Thanks. K.V.Ramani 

    Hi Diavonex,
    Pl. see screen shot of iTunes backup.
    I have one iPhone and  one iPad back up only. Pl. advice. Rgds, Ramani

Maybe you are looking for

  • Adobe PSE 10 and 11 refuse to open.

    Hi, guys. I've been using PSE 10 on my current computer (currently running Windows 7, 64-bit) for quite some time now--a little over a year, I'd say. Everything worked fine before; I was able to open the editor and use it without problems. Just yeste

  • ASSIGN_TYPE_CONFLICT in SAPLCOM_PRODUCT_UI_API

    Hi Experts, I am calling FM  "COM_PRODUCT_UI_MAINTAIN" when executing from Z program. Passing the value for IS_PRODUCT and IS_SET. But the program is terminated with dump "ASSIGN_TYPE_CONFLICT" for ABAP Program           SAPLCOM_PRODUCT_UI_API, Inclu

  • How can i return my delete photo

    ok i had backup my iphone on 4 months ago yesterday i did updait my iphone and all my new photo, my APPs, notes and new contact numbers gone. does there any way to return them back? thank you

  • How do I load prepaid airtime on ipad mini if it doesn't support SMS?

    Please don't tell me to buy a adaptor so that the nano sim fits in iPhone and all that crap! In the middle of the ocean it's impossible to buy anything.

  • Too many flat files with different formats.

    Hi gurus, i have a headache problems. that is follows: We will upload data from flat files,but you know there are about 100 .xls files and with different formats. and as you know  the datasource of the flat file must correspond to every fields of the