Ant ; how to move nonjava files to the output folder whn i comile java file

Hi when i compile my java file using javac ant task, i want to move non java file to the same output folder where the dot class file are stored. example if a package has 2 java file and a .properties file, when i javac task compile that package .properties file should move where the .class files are moving. can anyone help me please

An ant target can carry out multiple tasks. You need to put the <javac> and <copy> tasks in the same target in your ant file.

Similar Messages

  • How to move back microsoft in the original folder

    How to move back microsoft in the original folder?

    Microsoft Office? The applications themselves go into Applications>Microsoft Office 2011.
    Why did you move them? You may need to install anew if you've moved the applications in the suite.
    Clinton

  • How to move back microsoft to the original folder

    how to move back microsoft to the original folder

    Drag the applications and files back into the MicroSoft Office folder.

  • How to move a download into the Applications folder?

    I downloaded a free spreadsheet program from open org and wanted to move it from the Downloads folder to the Applications folder. How can I do this.
    I also want to have an icon for this software in the bar along the bottom of the screen.

    Drag it from the Downloads folder to the Applications folder. If you need an intermediate step, drag it from the Downloads folder to the Desktop and then drag it to the Applications folder.
    Then stop down to your local bookstore and get some books on Mac OS X.

  • How do I empty all the files in the "Downloads" folder ?

    How do I empty all the files in the "Downloads" folder ? Can they all be deleted at once?

    PS: when you look into the menu bar commands by mouse, you may note
    there are keyboard shortcuts to perform the same tasks; such as they are.
    *Edit> Select all* = uses 'Command + A' keys to do this, without mouse/menu.
    And, it can be done quickly by keyboard. +(this will select all, for the next step)+
    You would have to select the folder to be edited; yet there also are other key
    board commands to select items, folders, applications, etc all without a mouse.
    Once you choose items in a folder or other location, you can then use a
    keyboard command to Move them to the Trash; from there, Empty Trash
    with a three-key command; all without use of the mouse.
    The keys to *Move to Trash* looks like it is 'Command + Delete'. Some key-
    boards have two marked delete keys, so you may have to try both. The
    +small delete key+ has an icon with right-facing x in a box.
    The three keys, to *Empty Trash* via keyboard instead of menu bar/mouse
    appear to be the combination of 'up-arrow, command, delete.'
    Understanding some of the iconography of symbols used to indicate function,
    or what keys to use, as indicated by icons instead of words, is not too hard.
    There are articles and web pages which show various keyboard shortcuts.
    Here's an example, from one of several I've bookmarked over a few years.
    This one has images and shows what the key shortcut symbols mean.
    • Mastering Keyboard Shortcuts: (from myfirstmac site)
    http://www.myfirstmac.com/index.php/mac/articles/mastering-keyboard-shortcuts
    • Mac OS X keyboard shortcuts:
    http://support.apple.com/kb/HT1343
    However, if you have anything you may want to keep before mass deleting, be
    sure to move it into another folder. +re: The docked folders in Leopard+ 10.5 have
    one .PDF in each, about each of the purposed folders. I haven't deleted mine yet.
    {And I've added another folder into the dock near the Trash for my own alias items
    and the original is on the hard disk drive (one user) or could be put into an account
    folder so it would not have permissions or privilege issues with a second account.}
    I'd thought about those 'keyboard symbols' after the first posting; but,
    had to take an elder parent on several errands that took quite awhile.
    PS: there probably are ways to use AppleScript and Automator to handle folder contents.
    Good luck & happy computing!

  • I cannot delete a file from the document folder.  I can move it to the trash and then empty the trash, but when I go back to the documents folder it is still there.

    I cannot delete a file from the documents folder.  I can move it to the trash and then empty it, but when I go back to the documents folder, the file is still there.

    Gay,
    I wonder what your computing environment is. Is your account being administrated by another account? Are you working in an account subject to "Parental Controls"?
    Jerry

  • How to read multiple files in the same folder?

    Suppose I have 100 txt files in the same folder, and I want to read them one by one. (order is not important). File name is also part of the information I want.
    How to do that?
    Thanks

    You need to use the directory to create a File (use the path name, w/o a file name). Then you need to ask for a list() (array of String containing name). To do that you'll need to implement the FilenameFilter interface, writing an accept() method that returns true if the file's name ends with ".txt".
    If that's not perfectly clear, try the java.io API docs and return more specific questions.

  • How do you purge/compress/shrink the iPhoto11 folder/file size?

    How do you purge/compress/shrink the iPhoto11 folder/file size?
    I have been using iPhoto since iLife'05 and have always upgraded with each iteration of iLife. Without exception, I had just recently upgraded to iPhoto'11 when iLife'11 came out. Because I have used iPhoto to store all my photos and videos taken over the last 5 years or so, my iPhoto folder/file has become bigger and bigger over time and so I moved it to an external hard-drive. My main iPhoto'11 folder/file has 14,367 photos, 995 videos and is indicated to be 83 GB by iPhoto'11. But "Get Info" in Finder reports a whopping 130 GB.
    I started to think that this is getting a little crazy and I had wanted to better manage my photo collection, so I decided to "divide and conquer" this gigantic iPhoto'11 folder/file into several smaller, more manageable sized ones. So I made a duplicate copy of this gigantic iPhoto'11 folder/file onto another external hard-drive, fire-up iPhoto'11 again to delete away almost 80% of the photos and 90% of the videos. Now, my "slimmed-down" iPhoto folder/file has 3,000 photos, 75 videos and is indicated to be 6.8 GB by iPhoto'11. But despite the new "slimmed-down" status, the "Get Info" in Finder reports a still very huge 44 GB. Where did all those bulk come from? I have emptied both the iPhoto'11 Trash Can and Mac OS X Trash Can and these steps did not seemed to change anything at all.
    Therefore, I wanted to see what the "Get Info" in Finder will report if I were to delete 99.99% of the photos and video to leave just one (1) photo in iPhoto'11? Guess what is the result? My "One Photo experimental" iPhoto folder/file has 1 photo, 0 videos and is indicated to be 2 MB by iPhoto'11 yet the "Get Info" in Finder reports a mysterious 36.3 GB. There must be something hiding inside!
    Help! What can I do?

    I went on to try trashing away some of the folders and files inside and found that I could actually do it quite neatly if I go by the year which the photos are taken. After a lot of trial and error working on duplicate copy of my iPhoto '11 library, I am able to do away with all the clutter within the library and still open it normally.
    Now my 44GB obese iPhoto'11 library has been slimmed down to just a little over 7 GB (5 GB as reported by iPhoto'11) and I am just comfortable dealing with 2 GB of "don't-know-what-info" of clutter within the library.
    Remember my "One Photo Experimental" iPhoto'11 library that was 36.3 GB? I managed to bring it down to the realistic 22 MB size. This size is still double that of a brand new iPhoto'11 library I created to import 1 photo. However, it sure beat having 36.3 GB of clutter.
    So, now what I am gonna do is to "divide and conquer" the duplicate copies of my iPhoto'11 library into smaller sized ones according to their year. But I think I'll still keep the original bloated, gigantic 130 GB intact and continue to feed it with photos and videos until maybe it becomes 1 TB! Yikes!
    Anyway, million thanks for your tip and I really appreciate it! Have a Happy holidays!

  • How to check the JDK version of a compiled java file

    can anybody tell me how to check the JDK version of a compiled java file ?
    Edited by: gbhatia8 on Sep 9, 2010 7:04 AM

    The major/minor version of the class file is the way to go.
    Also, it's not necessary to write a separate program to get to those. javap prints them out when being passed the -v flag.
    Note, however that "JDK version" is not a correct term, as I can create 1.4-compatible class files with a Java 6 JDK (by passing the -target flag to javac). Those won't look any different than .class files written with a 1.4 JDK.

  • How do I get an SVG file to the same color profile as my illustrator file (U.S. Web Coated (SWOP) v2 and what would be the correct color profile for printing on a shirt?

    How do I get an SVG file to the same color profile as my illustrator file (U.S. Web Coated (SWOP) v2 and what would be the correct color profile for printing on a shirt?
    Thank you.

    dadanas wrote:
    Hi Simcah, I have a similar problem. Have you found out any solution?
    thanks, dan
    You need to ask the printing service provider. Dealing with color totally depends on the printing process involved and of course the machines used.

  • How to generate PNG file to the disk folder by IBOT?

    Is there a piece of code in JavaScript on how to generate PNG file to the disk folder by IBOT?
    thanks a lot

    Please disregard this message. The information below is only semi-accurate. When I get some kinks worked out I'll edit this again. -Bill
    FYI,
    Don't really know if I'm adding anything useful but here it is. I use NetBeans and I simply added an images folder so now I have my package (deckofcards) and a sub package deckofcards.images.
    The image:
    back: Image {
                url: "{__DIR__}images/B.JPG",
                backgroundLoading:true
                placeholder:bind placeholder
            };works and the value of "{__DIR__}images/B.JPG" becomes
    <CARD backUrl="jar:file:/C:/Users/Bill/Documents/NetBeansProjects/DeckOfCards/dist/DeckOfCards.jar!/deckofcards/B.JPG">
      ...when I marshal. That string (backUrl) will unmarshal correctly and can be use in the url variable to display and image too.
    -Bill
    Edited by: bthayer on Feb 21, 2009 6:04 AM

  • How to move titles around in the frame

    How to move titles around in the frame

    Double click on the text and a target button will appear on the baseline. Drag it with that.

  • How can i stop the Action Wizard from putting the original file into the Source folder with my changed documents?

    How can i stop the Action Wizard from putting the original file into the Source folder with my changed documents?

    [discussion moved to Creating, Editing & Exporting PDFs forum]

  • How can I fill structure from the line with contetnt of a XML file inside?

    How can I fill structure from the line with contetnt of a XML file inside?
    I have array of lines with XML documents inside. All XML's have the same structure.
    I need to fill array of structures (with the same structure like given XML's) from data of these XML's.
    How can I do this? I am trying Transformation with ora:parseEscapedXML, but receive error: "XPath expression failed to execute.
    Error while processing xpath expression, the expression is "ora:processXSLT("Transformation_1.xsl", bpws:getVariableData("ProcessedFiles"))", the reason is javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: Could not find function: parseEscapedXML.
    Please verify the xpath query."

    Ive posted the new code but now I'm getting a FileAlreadyExistException error. How do I handle this exception error correctly in my code?
    import java.io.IOException;
    import java.nio.file.FileAlreadyExistsException;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.ParserConfigurationException;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    import org.xml.sax.SAXException;
    public class MyDomParser {
      public static void main(String[] args) {
      DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
      try {
      DocumentBuilder builder = factory.newDocumentBuilder();
      Document doc = builder.parse("ENtemplate.xml");
      doc.normalize();
      NodeList rootNodes = doc.getElementsByTagName("templates");
      Node rootNode = rootNodes.item(0);
      Element rootElement = (Element) rootNode;
      NodeList templateList = rootElement.getElementsByTagName("template");
      for(int i=0; i < templateList.getLength(); i++) {
      Node theTemplate = templateList.item(i);
      Element templateElement = (Element) theTemplate;
      System.out.println(templateElement.getAttribute("name")+ ".xml");
      for(int i=0; i < templateList.getLength(); i++) {
      Node theTemplate = templateList.item(i);
      Element templateElement = (Element) theTemplate;
      String fileName = templateElement.getAttribute("name") + ".xml";
      Files.createFile(Paths.get(fileName));
      System.out.println("File" + ":" + fileName + ".xml created");
      } catch (ParserConfigurationException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
      } catch (SAXException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
      } catch (IOException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();

  • Just brought a new Mac Book Pro and wondered how to move my apps from the iPad to this?

    Just brought a new Mac Book Pro and wondered how to move my apps from the iPad to this?

    iPad apps will not run on a Mac.
    iPads use the iOS operating system. Macs use the OS X operating system. Apps for one won't run on the other.
    The most that you can do is store the content on your iPad in the content libraries of iTunes for Mac. You can play the music, movies, TV shows, and podcasts from the iPad using iTunes on the Mac. As well as, read iBooks from the iPad in iBooks for Mac.
    http://manuals.info.apple.com/MANUALS/1000/MA1595/en_US/ipad_user_guide.pdf

Maybe you are looking for

  • Swf does not load flv on server

    This has been asked before but it doesn't appear to have been answered... On my local workstations the swf loads and runs the flv fine. They are both in the same directory. When I upload the pair to a server (windows 2003) the swf no longer loads the

  • Markers not shown in legend

    Hi everyone! I'm trying and trying to have markers shown in the legend of a line chart but with no success. Is it a common problem? My XML graph code is this: chart: <Graph graphType="LINE_VERT_ABS" SeriesEffect="SE_AUTO_GRADIENT" markerDisplayed="tr

  • Meld and /usr/local

    Meld is a visual diff merge and source control tool, I compiled but get when namcaping: [ganlu@A meld]$ namcap meld-0.9.4.1-1.pkg.tar.gz meld       W: File (usr/local/) exists in a non-standard directory. meld       W: File (usr/local/bin/) exists in

  • Should oracle base directory be installed on share drive?

    I am installing oracle 11g on a windows cluster and I want to know if I should point the oracle base to the share drive or the C drive? Thanks

  • Remote Desktop Not working with EoMPLS

    I am hosting a HVPLS domain on my 7613 Core router where my spokes (6524ME) terminate the port based Pseudowires. All spokes have an MTU size of 1522. The clients are have intermitent problems with Windows Remote Desktop and mail synchronization. Thi