Adobe Ant peculiarity -- "Waiting for history.htm"

Hi,
I'm using the Ant tasks from Adobe labs, and when I run Ant
via Flex Builder 2, it generates our output .swf differently
compared to running the Ant task from a shell. We noticed this
because it is causing a user-noticeable issue on our webapp.
I'm hoping someone might have some insight into why this
happens, and/or ideas on how to get the Ant execution working
consistently.
First off, let me explain my setup. I am using a separate
bundle of Ant 1.7 (all the members of my team are using the same
Ant version from a well-defined location). I copied flexTasks.jar
and flexTasks.tasks to the ant\lib directory. I have Flex Builder
use this bundle of Ant (Run menu -> External Tools ->
External Tools, choose the Ant configuration, go to Classpath tab,
set Ant home).
Here is my "flexc" target:
<!--=================================================================================
Compile Flex sources into tds_flex.swf, and generates the
html wrappers too
-->
<target name="flexc" description="Builds the flex
front-end">
<taskdef resource="flexTasks.tasks"
classpath="flexTasks.jar"/>
<mxmlc file="${dir.war}\tds_flex.mxml"/>
<html-wrapper title="product name here"
application="tds_flex" swf="tds_flex"
version-major="9" version-minor="0" version-revision="0"
history="true" template="express-installation"/>
</target>
When we execute this target within Flex Builder, the
resulting application works. When we execute the target from a
shell, the resulting application does not "work". (The definition
of "work" in this context is that a user can get to our webapp and
have it load completely. When it doesn't work, the browser shows a
message "Waiting for history.htm" in the status bar.) The cause of
this issue has been traced to the generated history.swf file; if we
save a copy of this file from a good build, and copy it over the
resulting history.swf from a bad build, then the webapp works.
I've also found that executing my Ant flexc target within
Eclipse will also generate a working webapp (which isn't too
surprising considering Flex Builder is based on Eclipse), and
executing the target from within IntelliJ will not make a good
build.
The only thing I could think of is that Eclipse/Flex Builder
is invoking Ant differently. Does anyone have any insight into
finding out how it is doing this?
Thanks,
KaJun

I have no guesses as to what might be causing the difference,
but when I'm debugging ant issues, I often use the -verbose flag.
One option for dealing with the difference is to rebuild the Flex
Ant tasks using the history.swf that works for you. The Flex Ant
tasks include all the source, templates, and a build.xml for
rebuilding.
Another option is to get the Ant tasks that now ship with the
Flex 3 SDK and try them out. The new templates no longer use
history.swf. You can get the Flex 3 SDK beta here:
http://labs.adobe.com/technologies/flex/sdk/

Similar Messages

  • When will Adobe Lightroom support tethering for Nikon D810?

    I am wondering when will adobe support Nikon D810. Aperture already supports it...what is holding Adobe to add tethering for D810?

    My guess is that Nikon writes the tethering driver for Apple so it is ready very quickly, whereas Adobe has to wait for an SDK then wait for their own resources to finish coding and I imagine it is messy and low priority so it takes a while.

  • Bought Premier Elements yesterday. EVERY time I try to open a set of clips with Editor, I am told I have to sign into my Adobe first. I do this and wait for several minutes for the password dialogue box to open, enter my password. then wait and wait until

    Bought Premier Elements 13 yesterday. EVERY time I try to open a set of clips with Editor, I am told I have to sign into my Adobe first. I do this and wait for several minutes for the password dialogue box to open, enter my password. then wait and wait until my pw is recognized. Accept agreement. Agreement screen disappears and I'm back where I started. Try to open video clips with editor again and get the same demand to log in. Please advise asap. thx

    Oldcameraman
    Please do not duplicate a thread. The threads are answered as soon as possible. We are not Adobe. Just user to user.
    I have answered your most recent of the duplicates
    Premier Elements 13 Organizer Works. Editor doesn't. Log in doesn't work
    It is uncertain just how far we can go to help you since you do not appear to have Premiere Elements any
    longer.Seems you demanded a refund from Adobe Chat, got it, and now are left with a non purchased program which I
    am not sure can be used.
    Duplicates tend to confuse the person asking the question as well as those attempting to reply. As I suggested in the
    above mentioned thread, try to sort out your situation with Adobe via its Adobe Chat.
    ATR

  • I have adobe cs6 and I can't get bridge or mini bridge open. All I get is "waiting for bridge." can anyone help?

    I have adobe cs6 and I can't get bridge or mini bridge open. All I get is "waiting for bridge." can anyone help?

    This tech doc should help. Simply try out each step one at a time until it works.
    Error: Waiting for Bridge | Mini Bridge panel
    Gene

  • I am trying to use the Mini Bridge in Adobe Photoshop CS6 (desktop) and all I get is "Waiting for Bridge CS6 ..." in the panel at the bottom of the screen.

    I am running on a Core i7 iMac with 20GB or RAM and have already done the two applicable steps in the main Adobe  help area relating to Switchboard (Error: Waiting for Bridge | Mini Bridge panel) to no avail. Any ideas?

    Have you tried to start the bridge CS6  then open Photoshop CS6 try to use the mini bridge.
    I have a problem on windows too.  Sometimes when I open CS6 version 13.1.2 and try to use the mini bridge Its panels has a message Bridge must be running and there is a launch bridge button. When I use that button Bridge  gets launched but may hangs before displaying its application window or anything in the mini bridge panel.  I can terminate the bridge when this happens with windows task manager and start the bridge. After doing that the mini bridge launch button became a reconnect button using it mini bridge then work.
    I can also start Bridge CS6 before  Photoshop CS6 and mini bridge works as soon as Photoshop is up and running.

  • I bought the adobe photoshop elements 13 and adobe premiere elsements 13 in box in the store for my Mac;  I've entered my 25 character product key - now I have been waiting for nearly an hour for something to happen with no luck. Ron

    I bought the adobe photoshop elements 13 and adobe premiere elsements 13 in box in the store for my Mac; 
    I've entered my 25 character product key - now I have been waiting for nearly an hour for something to happen
    with no luck. Has anyone else had this problem?  I'm using MacBook Pro with Yosemite OS 10.10 etc. Help!
    Ron in Fort Worth, TX

    Also, Elements programs are not part of the Cloud
    Photoshop Elements Forum http://forums.adobe.com/community/photoshop_elements
    Premiere Elements Forum http://forums.adobe.com/community/premiere_elements

  • Adobe CC apps running s_____l_____o_____(wait for it)______w.

    Hey gang. I have an iMac running Mavericks OS.
    2010 model running Intel i7 quad core, 16GB RAM with 1TB HHD and 128GB SSD. When opening Ai or Muse, the apps are running freakishly slow. Example; when moving an object I have to wait for the object to catch up to my mouse...  I was running all my adobe apps off the SSD, then tried running them off the HD, no luck.
    I was having this poblem with my old laptop PC and decided to switch to a more powerful Mac. I'm not dogging PC's I use a PC with the same guts at work (and the same apps run smooth). Any body know of any reason these apps are so slow.
    Please Help, I'm desperate (said with extensive over exageration). Thanks
    Cheers

    If you have a problem with payments or downloading or activating programs, this IS the place... otherwise the people in the individual product forums know a lot more about the individual products
    If you don't want to go to those forums that is, of course, your choice
    http://forums.adobe.com/community/download_install_setup/creative_cloud_faq may have a link to help

  • What's new in these days?Seeking to persuade, Adobe still insist FP Development. Waiting for answer

    Seeking to persuade, Adobe still insist FP Development. Waiting for answer on line.
    I am an AS3 developer, deeply in love with it. Recently I was very disappointed with Adobe.
    Fp11.8 seems update frequenctly, but nearly no change. New feathers is all the same every time, why? Unity 3d and Fusion Chart has said goodbay to Flash Player, Weather Adobe is also? 

    Not sure exactky what's your point, but FP has been gaining some pretty nice features. The GameInput API, for example, is awesome despite a couple of remaining bugs, and a few cool GPU-acceleration features and updates have been creeping in FP too. I'd assume the frequent updates are more due to stability, while point releases are the ones where you see new features. You may want to double-check the changelog to see what has been changed on every version.
    Unity has said goodbye to Flash because it solved a problem that was virtually nonexistant, and Fusion Charts would do better with a more cross-platform solution (e.g. Canvas/SVG) considering their target audience. I don't think either have anything to do with Flash technology per se.

  • Still waiting for a response from Adobe regarding the post "Printing a pdf from a marked-up pdf".

    Still waiting for a response from Adobe regarding the post "Printing a pdf from a marked-up pdf" dated 15 Dec 2012 9:20 AM.

    Look everyone that comes here with a support problems has gone through all the normal channels, around and  round in circles with no one seeming to be interested. They've called every phone number, every email address they can find. They have been put on hold and bounced fifty times to another operator only to be hung up on. If Adobe would bring back support to main land and have people that know what's going on instead of having people that people can barely understand read from scripts. Scripted information only applies about 10 % of the time. I'm just giving people an alternative. after they have torn their hair out going the normal route.  If they had been able to get a solution they wouldn't be coming here for help.
    There should be a forum set up just for people to air these issues and Adobe employees forced to man it. Then we wouldn't have to have such a Bad attitude. Right now Adobe's Support reputation is worse than Intuit's which did have the absolutely worse on the Planet. Now they are number 2.
    You know it yourself that Adobe's support is absolutely worse than terible. However to prevent me from being banned from the forums I will simply will provide the adobecare email address from now on
    So let's sweep it under the rug.

  • Help with flex4unit ant build.xml: Socket timeout waiting for flexunit report

    I'm having trouble setting up ant to build and test my project locally and I'm not sure what the next step is.
    Info:
    Running on XP/Cygwin.
    All of the files that FlexUnit4 references when used in Flash Builder are in my '${basename}/libs' folder (eg FlexUnit4_1.0.swc).
    I've placed the flexunit4 task in my ant/libs folder.
    I'm getting two errors...
    I don't think I've set up the 'socket' stuff right for the tests. It just sits and waits then dies...
    [flexunit] Waiting for client connection ...
    (about a minute later)
    [flexunit] Stopping server ...
    [flexunit] End of test data reached, sending acknowledgement to player ...
    [flexunit] Closing client connection ...
    [flexunit] Closing server on port [1024] ...
    BUILD FAILED
    java.util.concurrent.ExecutionException: Socket timeout waiting for flexunit report
    Plus this is the error I get from the flash player:
    ReferenceError: Error #1065: Variable mx.skins.spark::BorderSkin is not defined.
    I don't know why it's complaining about Borderskin as I think I have included all the flex4 libs I could find. I suspect this second error is causing the first error?
    Any help appreciated. I think I'm just setting it up all wrong.
    Screencap of errors:
    http://twitpic.com/l7ay8
    build.xml:
    http://gist.github.com/20804

    Finally got everything working using the files from the CI Example which what i probably should have done in the first place.
    So a rough guide for anyone just starting out with this:
    Download the Flex 4 'workspace' from the digital primates hudson server . This appears to contain flexunit library and examples in various stages of development.
    I used Flex Builder 4 Beta 2 to set up my Test Suite and Test Cases.
    I then loaded the libs folder from:
    workspace.zip\workspace\project\FlexUnit4SampleCIProject
    into my flex project's libs folder:
    this includes:
    FlexUnit4.swc
    FlexUnit4CIListener.swc
    flexUnit4UIRunner.swc
    flexTasks.jar
    flexUnitTasks.jar
    I didn't need to remove the FlexUnit4 stuff that is 'referenced' automatically by flash builder when you start adding flexunit4 tests/suites.
    Then I used a modified version of the TestRunner.mxml found in:
    workspace.zip\workspace\project\FlexUnit4SampleCIProject\src\test\flex
    The lines to pay attention to are the ones that look like:
    static public function currentRunTestSuite():Array {
        var testsToRun:Array = new Array();
        testsToRun.push(packagename.TestSuiteName);
        testsToRun.push(packagename.TestClassName);
        return testsToRun;
    Just make sure you update this list to include all of the test suites &/or individual tests you want to run.
    I made this a static function and modified the code in the "FlexUnitApplication.mxml" file to use this function so i'd only need to update one list of suites/tests.
    FlexUnitApplication.mxml is generated automatically when you run FlexUnit4 tests in the Flash Builder 4 Beta 2 IDE.
    This is the build.xml file I'm using in the project:
    http://gist.github.com/208211
    Change the name of the project from "Flare" to whatever and adjust the other path settings where required (though you might want to write this from scratch at least once so you understand roughly what is going on).
    The Debug Flash Player must be installed on the server otherwise you'll get a:
    java.util.concurrent.ExecutionException: Socket timeout waiting for flexunit report
    ...while it waits for the non-existant debugger to attach. (This is obvious but I did forget and was a bit bewildered for a moment)
    Need to also ensure the environment variable:FLEX_HOME is set to the location you installed the flex sdk...by editing your .bashrc setting the environment variable the in the Hudson Configuration.
    You'll need to point Hudson at your ant installation and your jdk installation. If you downloaded he sdk, be aware you might need to point it to the jdk folder inside the place you installed the sdk.
    And I think that's all the problems I had. Hope it's useful to someone... if anyone who actually knows what they are doing can point out any potential issues/better ways of doing things, feel free to comment.
    Thanks to Brian (legrosb) and Mike (mlabriola) for their assistance!

  • I am waiting for Adobe reply on open case for change of platform for Photoshop

    I am waiting for adobe reply on open case 0210885939. My user # is 114057269.

    Try sub-forum http://forums.adobe.com/community/photoshop

  • I had to replace the hard drive on my computer.  I am now trying to download Adobe Photoshop CS6, previously purchased.  I get an error that files are missing after waiting for the whole download.  I have Windows7

    I had to replace the hard drive on my computer.  I am now trying to download Adobe Photoshop CS6, previously purchased.  I get an error that files are missing after waiting for the whole download.  I have Windows7

    The error msg said that the file archive part of Adobe photoshop CS6 is missing and that I need all parts in the same folder.

  • I am still waiting for my student approval to set up the Adobe creative suite. Can you please help?

    I am still waiting for my student approval to set up the Adobe creative suite. Can you please help?
    Jasper

    Why are you asking this in the Adobe Reader forum?
    Best contact Adobe Customer Support.

  • Flash player, to update via Adobe or wait for Apple

    Usually, I just wait for Apple to include an update in one of their updates that come out. Currently, flash player 9.0.28 is what I am using (PPC), and that came with one of the latest updates from them.
    I know that their is a slightly newer point version out available on the Adobe's website.
    Any thoughts if it is wiser to just let flash updates come in via Apple, or just down the latest flash player from adobe??

    Apple Software Update doesn't update third party software and Flash Player is no exception.
    The most current version of Flash is 9.0r47 July 10, 2007:
    http://www.versiontracker.com/dyn/moreinfo/macosx/11622 or
    http://www.adobe.com/support/security/bulletins/apsb07-12.html
    Now, it could be that Apple got permission from Adobe to include their software in one of its updates and the quote does give that impression, but I would not expect these events. Since I didn't do a before and after inspection after the 4.9 update I have no way to test.
    http://docs.info.apple.com/article.html?artnum=61798
    10.4.10 was released June 20, 2007 so we may have to wait until the next "security" update to see if Apple also includes this Flash update, too.
    Me? I don't wait for Software Update to fix third party issues.
    Posted, also, with no intent of disrespecting your thoughts on this matter.

  • Adobe Updater flashes a message on my screen once a week that says "No Internet connection. Please check your Internet settings and/or firewall. Waiting for connection..." Everything else works perfectly on my Internet connection.

    Adobe Updater flashes a message on my screen once a week that says "No Internet connection. Please check your Internet settings and/or firewall. Waiting for connection..." Everything else works perfectly on my Internet connection.

    I'm experiencing a similar problem.
    I have a MacBook Pro Late 2011.  I was using Lion (not Mountain Lion) with CS3 with no problems.  Recently I installed a new hard drive in my computer and used Time Machine to transfer all my files and settings (still with Lion; I did not try to open any Adobe applications at this point).  Then I udpated to Mavericks.  Upon trying to open one of the Adobe applications, it told me I needed to reinstall CS3.  I inserted the original disc and followed the instructions on the ReadMe file.  I went to Applications > Utilities > Adobe Installers > Add or Remove Adobe Creative Suite 3 Design Premium.  I did a reinstall, and at the end, it said that some of the components failed to install (see screenshot):
    I did a partial install (not all CS3 applications), so there could have been more errors than this if all applications were installed.  The applications themselves appear to work fine, but when I try to run the updater, it tells me I have no internet connection.
    link470 wrote:
    Acrobat updater works just fine [after I install the manual updates till 9.2.0].
    Can you tell me where to find these manual updates?  I looked on this page:
    http://www.adobe.com/support/downloads/collection.jsp?collID=1&platform=Macintosh
    but I don't see 9.2.0 for any of the CS3 applications.
    The CS3 that I purchased (Design Premium) came with Adobe Acrobat 8.  I tried to manually install the 8.1.1 update.  It said, "Please choose the copy of Adobe Acrobat Professional to update", but the application is grayed out (see below).  I did not try to install any other manual updates, yet.
    I'm not sure what to do here besides use my CS3 applications the way they are without updating them ever.  (I would rather not subscribe to the Creative Cloud.)  Any help will be appreciated.  I might try doing a complete unintall followed by a fresh install.

Maybe you are looking for

  • Need help to create SharePoint 2013 Designer workflow

    Hi TechNet Community Team, I've one list "Purchase Order" where I'm storing the data for purchase order details below are the fields. List Name = Purchase Order Order No, Order Date, Part No, Part Qty, Delivery Date, Delivery Qty, Balance Qty. Now in

  • IMovie -- VHS

    Relevant hardware: iMac G5 OS 10.4.2, Hollywood Analog/Digital convertor, Sony VCR Relevant Software: iMovie HD 5.0.2 Issue: When converting digital to analog, video quality is poor, shaky and without color Explanation: I imported VHS -> iMovie (than

  • Iam getting the message firefox cannot be used coz i dont have usp10.dll.i use windows xp ..please help.

    dear folks After i downlaod and install firefox.. i get a message displayed ...as "this application has failed to start because usp10.dll was not found.Re-installing the application may fix this problem".Please help me fix this as i want to use firef

  • Use COUNT or MAX functions inside of a query, and you have no data found

    I'm writing a query with a COUNT and a MAX function.     SELECT  li.id              , MAX(m.display_date)             , COUNT(*)      FROM li JOIN m  ON (m.LIID=li.LIID)     WHERE m.DISPLAY_DATE < SYSDATE - 7     GROUP BY  li.id;I would like to write

  • Unable to activate Client Profile within Client-Based Groupware Integration

    Experts - Please help us! We are trying to activate a new Client Profile wiithin Client Based Groupware Integration. We are receiving an error message that  "Multiple profiles not allowed for same role, country, language combination." We believe we a