How to stop running ant and the program

Hi all,
I have a java system which using ant to start execute external programs (.exe), by calling project.executeTargets(targets);
the exe will take a while to finish, sometimes user want to stop it, but still keep main system running, and fire another project.executeTargets(targets), therefore I can't use system.exit()
Now how can I stop this ant "project", and make sure the exe program also been terminated? By calling project.fireBuildFinished()?
Since the project.executeTargets(targets) will catch RuntimeException, maybe somewhere i can call process.destroy()?
Thanks for help

Double tap the home button and swipe upwards on the preview of the App (not the App Icon).

Similar Messages

  • I just downloaded iPhoto 9.6 onto my iMac, that runs Yosemite, and the program won't open at all.

    I just brought my iMac back from the Apple Store after having a new hard drive installed. I wanted to put my photos back onto the computer using the back-up I had made on an external hard drive.
    I downloaded iPhoto from the App Store, and initially it opened. I tried to import a folder of photos, but nothing happened. It froze. I did a Force Quit, and tried to import just one photo. Again, it froze, and I did a Force Quit. Then I tried to simply open the program. I got the spinning wheel, and when I looked at the Force Quit box, iPhotos had stopped responding.
    I tried to open it using Command+Option, and tried the first option to repair (I can't remember what that option is now), but got the same result. Then I unplugged the external hard-drive and tried twice to open it - once normally, and once using the Command+Option method. Same spinning wheel, and "not responding" message in the "Force Quit" box.
    I sent the Force Quit reports (or whatever they're called) to Apple, but I have no idea what they said as I don't understand them.
    I have a 27 inch mid-2011 iMac, running Yosemite (10.10.1), and iPhoto is 9.6.
    Please help! What am I doing wrong?

    I just tried to open iPhoto by holding down option+command key, and opening it from the dock (and not the icon in applications) - and it opened!
    Right-click or ctrl-click the icon in the Dock and select "options > Show in Finder". ,This will show you, where the iPhoto version is installed, that you are running.
    It should be revealing the iPhoto version in your Applications folder. Does it? 

  • The disk containing your iPhoto library is running low on space.How is this possible? I have no photos and have never used iphoto and the program is up to date.

    How is this possible? I have no photos and have never used iphoto and the program is up to date. I try to import and drop my pictues into iphoto but nothing happens or I get above statement. Help please!

    Then it's a bogus message and indicates that the default library is damaged.
    Hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Create Library' and use that one.
    Regards
    TD

  • Ios 7.0.2 issue: how to stop running programs

    I am a new iPhone5 user and just installed ios 7.0.2 (maybe I should not have but I did). Now I don't know how to stop running programs. Previously
    I double-clicked the Home button, then saw the icons that represented running programs, then could lightly touch one of them which led to all of them
    showing a X for a potential delete. That does not work now so how do I do it?

    Double click the home button and then swipe up on the app screenshots.

  • I'm getting the following error message when ever I try to start cs6 and the program gets close. "Adobe Photoshop CS6 has stopped working. A problem caused the program to stop working correctly."

    Hi,
    I’m getting the following error message when ever I try to start cs6 and the program gets close.
    “Adobe Photoshop CS6 has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available”
    Please advise what is the problem? and How to sort this out?
    OS Name
    Microsoft Windows 8.1 Pro
    Version
    6.3.9600 Build 9600
    Other OS Description
    Not Available
    OS Manufacturer
    Microsoft Corporation
    System Name
    JARVIS
    System Manufacturer
    Dell Inc.
    System Model
    Inspiron N5110
    System Type
    x64-based PC
    System SKU
    To be filled by O.E.M.
    Processor
    Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz, 2501 Mhz, 2 Core(s), 4 Logical Processor(s)
    BIOS Version/Date
    Dell Inc. A11, 8/3/2012
    SMBIOS Version
    2.6
    Embedded Controller Version
    1.01
    BIOS Mode
    Legacy
    BaseBoard Manufacturer
    Dell Inc.
    BaseBoard Model
    Not Available
    BaseBoard Name
    Base Board
    Platform Role
    Mobile
    Secure Boot State
    Unsupported
    PCR7 Configuration
    Binding Not Possible
    Windows Directory
    C:\Windows
    System Directory
    C:\Windows\system32
    Boot Device
    \Device\HarddiskVolume2
    Locale
    United States
    Hardware Abstraction Layer
    Version = "6.3.9600.17196"
    User Name
    Jarvis\JARVIS\Abhishek
    Time Zone
    India Standard Time
    Installed Physical Memory (RAM)
    4.00 GB
    Total Physical Memory
    3.16 GB
    Available Physical Memory
    1.21 GB
    Total Virtual Memory
    3.72 GB
    Available Virtual Memory
    1.55 GB
    Page File Space
    576 MB
    Page File
    C:\pagefile.sys
    Hyper-V - VM Monitor Mode Extensions
    Yes
    Hyper-V - Second Level Address Translation Extensions
    Yes
    Hyper-V - Virtualization Enabled in Firmware
    Yes
    Hyper-V - Data Execution Protection
    Yes
    Display adapters:
      and NVIDIA GeForce GT 525M.

    Without the actual crash logs nobody can say, but chances are that your graphics hardware is to blame, so update the driver...
    Mylenium

  • I have the new version of iMovie, and when i try to start the program, i can't because it says that it is looking for some movie files from the Iphoto, so all the program is locked up... how can i do to restart the program??

    i have the new version of iMovie, and when i try to start the program, i can't because it says that it is looking for some movie files from the Iphoto, so all the program is locked up... how can i do to restart the program??

    Hi
    Did You ever use - iPhoto ?
    Did You may be direct iPhoto to a different Photo Library
    As iMovie tries to find the appropriate photo library - it can get lost if iPhoto direct it into a Library on a not connected external hard disk or to a strange location - And iMovie HANGS.
    Do - When no other program is running that might interfere
    • Start iPhoto - BUT NOW KEEP alt-key (option key) DOWN during the full Start-Up process
    • Now iPhoto let's You select Photo Library
    • Select the one in Your Account / Home folder / Pictures ! !
    • Then iPhoto should start up OK
    • Now Quit iPhoto
    • START iMovie
    Does it still hangs - then I would suspect - iMovie Pref. file
    If it Run's OK - Then HURRAY !
    Yours Bengt W

  • How to close Internet Explorer and other programs running on Windows?

    In order for Flash Player to be installed or updated, any programs that use Flash Player must be closed.  This includes Internet Explorer or other browsers, instant messengers, Skype, etc.
    These programs may be running in the background, not as visible windows, but need to be closed anyway.
    To close such programs use the Windows Task Manager.  To start Task Manager, take any of the following actions:
    Press CTRL+ALT+DELETE, and then click Task Manager.
    Press CTRL+SHIFT+ESC.
    Right-click an empty area of the taskbar, and then click Task Manager.
    Once the Task Manager is running, select the Processes tab.  On older Windows version you may need to click on the Process Name or Image Name header to sort the process names.
    Now right-click on every process that the Flash Player installer needs to close (e.g. iexplore.exe), then select End Process.
    It would be desirable if the Flash Player installer could perform that action by itself; I have therefore created an enhancement request.  If you were affected by this problem, please head over to the Bugbase and vote for this request: https://bugbase.adobe.com/index.cfm?event=bug&id=3548136

    See How to close Internet Explorer and other programs running on Windows?

  • Mac, have just upgraded to Yosemite and when I shall open Photoshop (CS4), the following message appears: "The licensing of the product does not work" Fault 6 How should I proceed? Have the program installed on only one computer.

    Mac, have just upgraded to Yosemite and when I shall open Photoshop (CS4), the following message appears:
    "The licensing of the product does not work"
    Fault 6
    How should I proceed?
    Have the program installed on only one computer.

    Download the Adobe Licensing Repair Tool.
    Run the License Service Update.
    Mac OS X 10.7 and above:
    a. Double-click the LicenseRecovery111.dmg   It will extract the folder. Open the folder.
    b. Double-click your Hard Drive.
    c. Double-click Applications.
    d. Double-click Utilities.
    e. Double-click Terminal.
    f. Type sudo python
    Note: There is a space following “python”. Do not press Return.
    g. Drag LicenseRecover.py from the LicenseRecovery111 folder onto the Terminal Window and press Return.
    It should look like this:
    h. Enter your administrator user name and password when prompted and click OK.
    (Note: the cursor will not move and you will not see stars or dots, just enter your password anyway.
    i. Let the script run, it will tell you when it is finished. Quit terminal and restart Photoshop
    Gene

  • How to stop mail from recovering the same message over and over again to the extent that it has wiped out all start up disk memory?

    How to stop mail from recovering the same message over and over again to the extent that it has wiped out all start up disk memory?

    You need to find and delete (move to the Trash) the offline mail cache (.offline cache.) It's a hidden folder (files and folders with a preceding dot are hidden) inside the Mail folder (inside IMAP) in your user library. Since it's hidden, in order to see it run the following command in Terminal in Applications>Utilities. Hit return/enter once you have pasted in the command.
    defaults write com.apple.finder AppleShowAllFiles -bool true ; killall Finder
    To reverse this and hide all those hidden files and folders again
    defaults write com.apple.finder AppleShowAllFiles -bool false ; killall Finder
    Leave hidden files/folders enabled until you finish emptying the Trash so you know it's gone.

  • How can I tell if my fan on MacBook Pro is working properly?  It seems to be running often and the laptop feels hot!

    How can I tell if my fan on MacBook Pro is working properly?  It seems to be running often and the laptop feels hot!

    Isn't it awesome that after you spend 2500$ + on a laptop you need to also become a computer technician in order to keep it working. The fan in my MacBook Pro runs all the time and the computer is also very hot all the time. I always try to make sure it's not sitting on a flat surface that might make it run hotter. I'm running 10.6.8. Is there anything I can do to fix this? When should the fan be running? Should it run when I have more than one program running at a time? Is the MacBook Pro designed to only run one program at time? At the moment I'm watching a show via Firefox. There are no other programs running, the computer is raised off the table, the fan is running at about half the speed it usually does, moments ago the fan was going full bore. Google Browser was open, iTunes was open, text edit was open, but none of them being used - I was using Firefox and watching a movie online with browser window on fullscreen. Anyone got any suggestions? Should I just enroll into a university and begin my studies as computer technician?

  • Hi, I just started a new movie and the program is running very slow. Is there a way to clean up my iMovie program so that it goes faster? Please help.

    Hi, I just started a new movie and the program is running very slow. Is there a way to clean up my iMovie program so that it goes faster? Please help.

    There is nothing you can do with iMovie program itself.  Slow response in usually due to a shortage of system resources (CPU, RAM and disk space).
    How much free disk space do you have on your boot drive and what is the capacity of the drive?
    You can check memory utilization while running iMovie using Activity Monitor (in Applications/Utilities).  What does the Memory tab show for Swap used?
    Are you running many other processor-intensive applications a the same time?
    If you have a lot of events and projects, it will help a bit to hide the ones you are not using by moving them from your iMovie Projects and iMovie Events folders into an enclosing folder so iMovie doesn't load them.
    Geoff.

  • While having a perfectly running iTunes and all programs associated, I was notified of the iTunes 10.4 upgrade. After following typical directions, I have had nothing but trouble. First "iTunesHelper was not installed correctly. Please reinstall iTunes. E

    While having a perfectly running iTunes and all programs associated, I was notified of the iTunes 10.4 upgrade. After following typical directions, I have had nothing but trouble. First “iTunesHelper was not installed correctly. Please reinstall iTunes. Error 7 (Windows error 5)” occurred. Following directions found at https://discussions.apple.com/message/15087646#15087646, I now get the following “iTunes.exe - System Error The program can't start because AVFoundationCF.dll is still missing from your computer. Try reinstalling the program to fix this problem.”, Along with “iTunesHelper was not installed correctly. Please reinstall iTunes. Error 7 (Windows error 126)” I am running Win 7 Ultimate 64 bit on HP TouchSmart tx2-1275dx. I was one week away from buying an iPad but not if this is what I have to deal with. Please help

    I actually managed to resolve this on my own by downloading iTunes from the Apple website and reinstalling iTunes that way. Here's the link: http://www.apple.com/itunes/download/ That should fix your problem. Good luck!

  • I get an error message saying "The iTunes Library.itl file cannot be found or created" when I try to open iTunes on my computer and the program fails to open.   How can I fix this?

    When I try ot open iTunes on my computer I get an error message stating "The iTunes Library.itl file cannot be found or created" and the program fails to open.  How can I fix this issue?

    Hi pgarard1,
    If you are having issues with launching iTunes after an update, you may want to take a look at the troubleshooting in the following article:
    iTunes for Windows: Doesn't open after upgrading in Windows Vista or Windows 7
    http://support.apple.com/kb/TS2363
    Regards,
    - Brenden

  • I just updated iTunes on my dell and now when I try to go to the store I get an error message that iTunes has stopped working and the program closes. Ideas?

    I just updated iTunes on my dell and now when I try to go to the store I get an error message that iTunes has stopped working and the program closes. Ideas?

    I have also retarted twice...

  • TS5376 I have a laptop that i am running with Windows Vista. A while ago, it stopped running iTunes and comes up with the error : Runtime Error: R6034 - An application has made an attempt to load the C runtime library incorrectly.

    I have an iMac as my home computer, upgraded to this about a year ago from a windows pc and love it.
    However...
    I have a HP Compaq laptop that i am running with Windows Vista, which I use when travelling. A while ago, I believe on an update, to either windows or itunes, it stopped running iTunes and comes up with the error : Runtime Error: R6034 - An application has made an attempt to load the C runtime library incorrectly.
    I have a reasonable amount of tunes stored on my laptop, and am unable to ascertain as to whether this fix for allowing itunes to work again will delete my music folder and lose all the tunes i have on my laptop already?
    The contents of my music folders on my laptop and iMac are not the same, as they are not synced!
    Any help please on this would be appreciated!
    Pete

    See Troubleshooting issues with iTunes for Windows updates. The second box covers the basic removal and repair steps. The rest is links to other useful resouces.
    tt2

Maybe you are looking for

  • W 540 registration

    i have registered my machine a couple of times with lenovo solution sortware, pre-installed with the machine. but perhaps, it still shows that the product needs to be registered. kindly,resolve this.. CONSTRUCTION & PROJECT MANAGEMENT SPECIALIST

  • Disabling Javascript for individual Websites

    I have finally isolated the source of unblockable ads that pop up on certain Websites, but not others. These ads originate from different sources, but many of them are Chitka ads that block part of the screen and can't even be clicked OFF. They just

  • Trying to print very small picture on HP C7280

    Hi, I am trying to print a picture of my son to go into a tiny frame mounted on a ring.  The problem is, the finished product needs to be about .6" x .75" and I don't see where I can go (if I can) to get the dimensions to print this small.  I have ed

  • Displaying BOM With Sub Boms

    I want to display the bill of material within its component's sub boms as well in one page as a view of hiearchy..How to do so? Can anyone explain?

  • Upgrading and moving a catalog

    I have Photoshop Elements 11 on my old computer with a catalog with many tags. I bought a new machine and loaded Photoshop Elements 12. I then backed up my Elements 11 catalog using Full backup. Then went to new machine and restored. All my pictures