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

Similar Messages

  • 7.2 upgrade breaks iTunes link to music source files

    after upgrading to 7.2, itunes lost connection with all my music source files.
    ya know, i got exlamation marks on ALL my tracks....
    tried "keeping it organized" on and off, tried changing "music folder location", new prefs, choosing a new library on startup [option] but nothing worked.
    i cannot play any of my songs [external drive].
    weirdly enough, just a few songs can play, out of thousands....
    so basically, i got all my music files, but itunes cannot play them.
    great.
    what other ways can i "link" the source files back to my iTunes library?

    had all iTunes folder copied to another drive (internal-not operating sys drv) to alleviate a space problem on my main drive. (operating sys drive)
    updated to 7.2.
    panicked at not being able to get iTunes to "see" new location of all stuff.
    read all horror stories of how apple dose not seem to give a tish any more about how bad its software works.
    realized that iTunes created an empty "replacement" folder on the one that I had just moved from.(operating sys drive)
    tried to import files to the "new" empty iTunes folder.
    iTunes only lets you "import" one song at a time. (really stupid move apple!)
    then tried the "add to library" function.
    this worked for 1 song.
    then I found that I could use "add to library" for multiple selected songs.
    then I tried a folder.
    this worked also.
    then I tried it with the entire iTunes Music folder. this brought everything in just fine.
    now I had to get back my playlists.
    I tried "import..." and selected the iTunes library document. it told me that it wasn't a validly exported document and would not work.
    then I tried "import..." for the iTunes Library.xml document.
    this succeeded in brining in all song folders as playlists and also contained all my previously created playlists and smart playlists.
    In an effort to solve my original problem (overcrowding my operating sys drive) I ran this procedure on the copy of the iTunes folder that I had made on the other drive (internal-not operating sys drv).
    it worked.
    I now had two identical iTunes collections on two different drives.
    BUT...
    on further inspection I found that the files I had originally moved to the other drive (internal-not operating sys drv) were the only ones that exist and the ones that show up in the "recreated" itunes folder (operating sys drive) were just referencing the "real" files.
    also I hooked up my "vid pod" and everything is working just fine with everything.
    recap.
    dont panic.
    find the folder with all your stuff.
    use "add to library" to make iTunes "see" all your stuff.
    check the iTunes Library.xml document and look for any evidence of your lists.
    use "import..." for the iTunes Library.xml document.
    cheers&aloha
    matt

  • ODI: Can I create join link between the source Files?

    I have a few flat files that has foreign key relationships to each other, and I put them as source files, and try to import data to Essbase from them. and I got the error message: The source data server has no join capacilities. But if I just put all of the informations inside one flat file, the transferring is successful. It seems I cannot put "joins" on the source flat files. Please advise,thanks!

    Hi,
    You can join tables in your source area, even if they are flat files.
    The joins will be done in a staging area, depending on the size of the files and the location of the agent you are running it can define where you want the staging area to be.
    If the files are small and the joins are not complex then it can be done using the memory engine, otherwise in most circumstances I would use the power of a relational engine such as Oracle/SQL server as the staging area.
    Make sure you use a staging area for the interface or you will get the error messages, also on the joins make sure they are done in the staging area, there will be an option when you highlight the join
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Rebuild of Project not building all source files

    Using 9i, I cleared all .class files from my target directory structure and then requested a Rebuild (right click project.jpr, click Rebuild project.jpr) of the entire project. I get a result that says there is one error (expected) and five warnings. When I look in the target library structure, I see that many of the .class files are not there.
    I then do the same procedure for each package name (I'm showing the list of .java files using the Show Categories option), right clicking and rebuilding each package (over 50). This produces all the .class files.
    Then, I can request a Rebuild of a given package on a subsequent date and JDeveloper will indicate that it compiled each of the source files in the package, but the create and modified dates of the .class files still show a previous date.
    Can someone give a clue of what is going on? I expected Rebuild to build every class from every source for the entire project, when requested at that level. It certainly is NOT doing that for me.
    Oracle IDE     9.0.3.10.76
    UML Modelers Version     9.0.3.9.73
    Business Components Version     9.0.3.10.62
    SCM Support Version     9.0.3.9.73
    java.version     1.3.1_02
    java.home     C:\Program Files\Oracle\JDeveloper 9i\jdk\jre
    java.vm.name     OJVM Client VM
    java.vm.vendor     Oracle Corp.
    java.vm.version     9.0.3.744 o
    user.language     en
    user.region     US
    user.name     dvgreen
    user.home     C:\Documents and Settings\dvgreen.NA
    user.dir     C:\Program Files\Oracle\JDeveloper 9i\jdev\bin
    ide.user.dir     
    os.name     Windows 2000
    os.arch     x86
    http.proxyHost     <no value assigned>
    http.proxyPort     <no value assigned>
    http.nonProxyHosts     <no value assigned>
    ide.patches     

    I don't see anything on the Compile options that I would expect to affect this operation in this way.
    No Ant involved. I'll just deal with it. I was hoping someone from Oracle might stop in here and be familiar with the issue.
    As it is, I'm talking about recompiling a bunch of code that hasn't even changed. I just found it odd that it would report that it was compiling it, but not have any visible evidence to support the claim.

  • Saving all source files in a project to earlier version ?

    What is the quickest way to save all the source files in a project to an earlier version?
    I know that I can do it with individual files, but is there a way to do all at once?

    Sure, just do the same, as you save VIs for previous version. In the Project Explorer Window select File -> Save for Previous Version...

  • I can't automatically link my .avi proxy files to my .mov footage.

    i try to use proxy media in adobe premiere cc but it is not WORKING! i have 400 gb .mov video data in a specific file structure (DSLR footage). now i made nice small proxy .avi files in an extra folder but with the same structure. that's just 25 gb and i want to use them in my RAM-Disk to get optimum speed... but i can't link the media to the proxy folder automatically. the only solution is to link every 800 single video files by hand!!! and i checked the box "relink others automatically". and i unchecked the box "file extention" i tried everything...  is this a known issue or maybe my fault?
    thanks in advance.

    bump

  • I imported pics to catalogs on different external hard drives.  Later renamed external HDs.  I want to combine catalogs and have my source (NEF) files all together on one drive. Can I merge cats and will new path to source files be correct if when inporti

    I imported different trips to different catalogs on different external hard drives.  Later renamed external HDs.  I want to combine catalogs and have my source (NEF) files all together on one drive.  I’m not really sure how to get those source files back and get rid of the extra long path to where the source files are now located. If I re-link files to their current catalog (many different paths to files in same catalog) can I merge (import catalogs) into one master catalog?  Will the new (Master catalog) have the correct link to the source file?  If not, how or can this be done?
    I have tried to explain my situation as clearly as I can.  Do you understand my situation?
    This maybe something you don’t have time to help me with.  If not can you suggest somewhere I can get an answer?  I really need help.  PLEEEZZZ HELP ME.
    Bruce Schuerman
    Norman, OK
    405_514-4875 (call collect)
    [email protected]

    I imported different trips to different catalogs on different external hard drives.  Later renamed external HDs.  I want to combine catalogs and have my source (NEF) files all together on one drive.  I’m not really sure how to get those source files back and get rid of the extra long path to where the source files are now located. If I re-link files to their current catalog (many different paths to files in same catalog) can I merge (import catalogs) into one master catalog?  Will the new (Master catalog) have the correct link to the source file?  If not, how or can this be done?
    I have tried to explain my situation as clearly as I can.  Do you understand my situation?
    This maybe something you don’t have time to help me with.  If not can you suggest somewhere I can get an answer?  I really need help.  PLEEEZZZ HELP ME.
    Bruce Schuerman
    Norman, OK
    405_514-4875 (call collect)
    [email protected]

  • I imported different trips to different catalogs on different external hard drives.  Later renamed external HDs.  I want to combine catalogs and have my source (NEF) files all together on one drive.  I'm not really sure how to get those source files back

    I imported different trips to different catalogs on different external hard drives.  Later renamed external HDs.  I want to combine catalogs and have my source (NEF) files all together on one drive.  I’m not really sure how to get those source files back and get rid of the extra long path to where the source files are now located. If I re-link files to their current catalog (many different paths to files in same catalog) can I merge (import catalogs) into one master catalog?  Will the new (Master catalog) have the correct link to the source file?  If not, how or can this be done?
    I have tried to explain my situation as clearly as I can.  Do you understand my situation?
    This maybe something you don’t have time to help me with.  If not can you suggest somewhere I can get an answer?  I really need help.  PLEEEZZZ HELP ME.
    Bruce Schuerman
    Norman, OK
    405_514-4875 (call collect)
    [email protected]

    Is there any solution (other than buying
    I really think 'buying' is the best solution on this one.  Ideally, you would have at least five internal hard drives.
    System
    Projects
    Cache/Scratch
    Media
    Exports
    Use externals and network drive only for backup.

  • Restarted Automatically And All my Files are Gone

    Hello Dear
    I have a problem, my laptop
    Toshiba Satellite C850 -B253 is automatically restarted and all my files are gone.
    From 300gb plus and now 42gb are remain. And worst of that are all my
    Microsoft is gone. The Word, Power point and excel in short all are gone. And also my
    web cam and another gone is my account. When I open my laptop its preparing something like that and after a few hours lower screen they have quotation
    “________ ___ ___ for new user” and they signing for new account! And I have no choice so I create new account then when it’s done I realize all my files are gone. The only still have is
    “play games, recycle bin, nero kwik media, and music place”. So what should I do! I don’t even use now! As a college student it is very important for me. Like now this weeks is my exam so what should I do Please Help me!!
    PLEASE!! PLEASE !!

    Help me please

  • Xcode not saving source files

    Hi
    Has anyone else come across an issue where Xcode doesn't save source files before a build - despite setting the For Unsaved Files preference correctly?
    My Java students are using Xcode 3.1.1 to create and build Java Tool projects. We've noticed that we can't modify the default source file for a newly created project, nor can we modify any new source files we add to the project UNLESS we close down and restart Xcode after adding each new file. Specifically, any edits are stored in the file buffers but these are not automatically saved to the hard disc when we trigger a build. However, once Xcode is closed and restarted, all source files in the project behave normally.
    Interestingly, the problem doesn't seem to happen with Tool type projects in other languages, however, these projects by default put the source files in the top level of the project folder, whereas all Java projects put the source files one level down in a "src" sub-folder.
    Has anyone else noticed these issues with Java projects? Do similar problems occur in other languages if source files are stored in sub-folders? Remember, the problem only exists for newly created files and it's resolved once Xcode is shut down and restarted - unless, of course, we need to add more files.
    Anyone got any workarounds which avoid stopping and restarting Xcode?
    Bob
    PS: Please don't post comments saying that I should use Eclipse, Netbeans, BlueJ, etc That's not relevant to this discussion.

    Thanks briyu. At least you've confirmed that I'm not going mad
    As for 3.1.0, that's what the student machines are using and we have the problem there. I wonder why no one else has reported this before? Probably Xcode isn't used very much for Java.
    Bob

  • Relink source file

    I've imported a Photoshop file into Captivate 7. Captivate converted it to a PNG in the Library.
    Then I edited the original Photoshop file.
    There are a couple of commands I hadn't noticed in previous versions: "Edit PDF Source File" and "Update from Source"
    When I choose Update from Source a message appears:
    "Unable to update since the source file is mising. Relink the source file before you proceed."
    The location of the source file has not been moved or renamed since it was imported into Captivate, so I don't know why I'm getting that message. I can't find an explanation anywhere as to how to "relink."
    Is there an easy way to relink (or do I have to re-import the file, resize, reposition, etc)?

    Jay, I'm always importing assets first to the Library, rarely direct to the stage. And when importing to the Library, when possible I'll take the original file: WAV for audio, PSD for Photoshop etc. If you import a PSD-file, you'll be able to choose for a flattened image (as was the case for the screenshot) or to import with all layers. In both cases the flattened image, or the layers will each be converted to a PNG-image, but you'll keep the 'link' with the source file, in the same way as you can have a link with a PPT. In previous versions roundtripping with the source file was only avalaible in the eLS, but now it is there if you have Photoshop CS6 or CC installed on your system. I have several PSD-files with many layers. One example: for localisation I'll have text layers in the PSD in different languages, and import those layers (flattened or not) that I need in a specific file. Same with colours, masks, layer styles... My first Adobe love was Photoshop, not Captivate You understand that I love that roundtripping with the source file.
    Lilybiri

  • How to Identify titles that have lost the link to the music file/folder..

    Is there a way of listing all the Music titles that no longer have a valid link to the source file and deleting them. I am afraid in my previous inexperience i inadvertently messed things up while trying to organise... ehum... Anyway, trying to organise again hopefully with more success now. Any help gratefully received. Thanks.

    TT2's +*lost & found+* will work.
    another option might be this app:
    _*Music Folder Files Not Added v2.0*_
    This application will list the file paths of the files in your designated "iTunes Media" folder which are not in iTunes' library. Additionally, you can select a different parent folder and its contents will be compared to the iTunes library. Options to Add a selection of found files to iTunes or move them to the Trash.
    JGG

  • RH10 variable and build tag source file names

    I'm using RH10 and outputting to WebHelp. My company requires that I archive project source files to our CVS via Eclipse. I am not using RoboSource_Control and must use the company's development resources for archiving.
    Since archiving the initial project, I have been uploading only source files with modified dates.
    However, I have discovered that the files I thought were storing user variables and build tags are not the correct files to archive. Since I am uploading all files with a newer date and that's not working, I need to know the user variable source file name and the build tag source file name that stores the currently defined variables and build tags.
    I have already tried the WebHelp forum and was directed to this forum to pose the question because I'm looking for source file information instead of output file information.
    Thanks for your help!
    karen

    Yes, Eclipse does work that way. However, we do not use our development directory as the local Eclipse repository. I need to move changed files to the local repository (stores all source files in the project) so that Eclipse can upload changes to the server. Yes, this is planned redundancy.
    That said, it is not acceptable to spend the time copying all files in the large projects from the work folder to the local repository. I simply need to know which individual files to copy that include the currently defined variables and build tags. Note, we do not copy the SSL folder output files to our local source file repository, or other associated reference files that are not actually project source files.
    Can you find someone who knows which files I need?
    Thanks,
    karen

  • Does a member class have to be within the same source file?

    Hi there,
    I have this application that extensively uses two classes. The main class setsup the GUI, and the second main class is responsible for handling all of the actions that arise from the GUI.
    I could have done this by making all of my handler methods be of the first main class, but this class really is just for the GUI setup, the logic doesn't fit into this class' behaviour.
    The class that handles the GUI actions is required to use the fields of the main class e.g. to get values of a text field. The problem is that since the class that handles the actions is getting very big, I would kind of like to move this class into a different source file - because currently it is a member class of the first one, so that it can access all of its fields.
    Is there some way that I can move this handler class into another source file, and still have it access all of the fields of the main GUI class - without making the fields public, or using millions of get/set methods? Also, I can't use inheritance because the both the GUI class creates an instance of the handler class in its constructor, and so leads to an infinite loop when trying to instantiate the GUI class.
    Can I ask.. would a static class or something be of use here? Do they exist? I'm confused as to how to do this without getting the mother of all source files (in size that is - nothing to do with cooking or baking).
    - Anyway, thanks in advance for any help that you could give me -
    BYEE, Edd.

    You can't have an inner class that is not in the same source file. However, you could use package-protected (default) access to give another class in the same package access to things without making them public. Actually, that's how inner classes are actually compiled. Package-protected access is underused IMHO. It's a great tool that most people (including myself) are suspicious of at first.

  • Is it possible to add pic/diagram to SP file with link to another SP file?

    Hi,
    Is it possible to add a diagram, picture, or table to a SP file with link to another SP file?
    I know this is possible in, say, Word. For example, I can add a diagram and check a box to include a link to the source file - so that when the diagram in the source file updates, the diagram in my document also updates.
    This is also my goal in SP - instead of simply including a link to a document elsewhere in SP (or on the same site in SP), I would ideally like to display a diagram, picture, or table and include (behind the scenes if possible) to the source SP file
    so that, when the diagram/table in the source SP file updates, my SP file also updates accordingly.
    For example:
    Instead of:
           The diagram is located in:
           link
    I would ideally like:
           Diagram, picture, or table (with link associated with it) - users can click on the diagram or picture if they desire.
           The diagram or picture is updated whenever the source SP file containing the diagram or picture is updated (the source SP
           file will only contain a diagram, picture, or table)
    Any suggestions are welcome.
    Thank you very much.

    Is it possible to add a diagram, picture, or table to a SP file with link to another SP file?
    I know this is possible in, say, Word. For example, I can add a diagram and check a box to include a link to the source file - so that when the diagram in the source file updates, the diagram in my document also updates.
    This is also my goal in SP - instead of simply including a link to a document elsewhere in SP (or on the same site in SP), I would ideally like to display a diagram, picture, or table and include (behind the scenes if possible) to the source SP file so that,
    when the diagram/table in the source SP file updates, my SP file also updates accordingly.
    For example:
    Instead of:
           The diagram is located in:
           link
    I would ideally like:
           Diagram, picture, or table (with link associated with it) - users can click on the diagram or picture if they desire.
           The diagram or picture is updated whenever the source SP file containing the diagram or picture is updated (the source SP
           file will only contain a diagram, picture, or table)
    Any suggestions are welcome.
    Thank you very much.

Maybe you are looking for