Netbeans build.xml file is automatically created or should we create?

Hi all,
I am using Net beans IDE 6.0. For projects (with existing code, new application project, etc). Should we create build.xml file or will it be created automatically. Many things like rmi compilation, running different run-time configurations, etc depends on that file. Please do help.
(a build.xml file is created in project folder.)
Thanx

don't cross post:
http://forum.java.sun.com/thread.jspa?threadID=5265563&messageID=10107226#10107226
it's rude.
%

Similar Messages

  • Netbeans build.xml file: is it created automatically or do we create?

    Hi all,
    I am using Net beans IDE 6.0. For projects (with existing code, new application project, etc). Should we create build.xml file or will it be created automatically. Many things like rmi compilation, running different run-time configurations, etc depends on that file. Please do help.
    (a build.xml file is created in project folder.)
    Thanx

    don't cross post:
    http://forum.java.sun.com/thread.jspa?messageID=10107245
    it's rude.
    you create it.
    %

  • How to create a build.xml file ??

    Hi there,
    I am learning j2ee at the moment. I have been throught the tutorial and got everything working (finally). however, now that I have started writing my own code, I am stuck with writing the build.xml file (as this is not covered in the tutorial, it is just provided). Does anyone know a good link that will give me step by step instructions on how to create my own build.xml file for my application.
    thanks

    You need to learn ant. Go here:
    http://jakarta.apache.org/ant/
    I also recommend "Java Development with Ant" by Hatcher and Loughran, just published.

  • Unable to create build.xml file

    I wrote build.xml file to create build using ANT in eclipse but it failed. The reason is value for "location" attribute (see below) is wrong and I don't know how to fix it. My eclipse workspace is in D:/eclipse/workspace...............but the eclipse software is in C:/eclipse....by inspection I can see that in the plugins directory in c:/eclipse there is paskage/folder named org.eclipse.jdt.core_3.0.0 which has a jar file named JDTCompilerAdapter.jar. Does the "location" attribute need to refer to this location ? If yes then how should I specify the path as I think hardcoding isn't a solution. I mean I obviously can't say
    location="C:\eclipse\plugins\org.eclipse.jdt.core_3.0.0\org.eclipse.jdt.core_3.0.0.JDTCompilerAdapter"/>
    Please advise !!
    <?xml ...>
    <project name="game" default="Main Build" basedir=".">
         <property name="bin" location="bin"/>
         <property name="src" location="src"/>
         <property name="jardir" location="${bin}/lib"/>
         <property name="jarfile" location="${jardir}/game.jar"/>
         <property name="build.compiler"
              location="org.eclipse.jdt.core_3.0.0.JDTCompilerAdapter"/>

    I'm not exactly sure what you're doing here, but I don't think any of that stuff belongs in the Ant build.xml. That should be generic, something you can run either inside or outside Eclipse.
    The compiler that's used can be specified in Eclipse when you set up paths for Ant. That doesn't belong inside the build.xml itself.

  • How to automatically generate build.xml file in eclipse?

    Hello every body,
    I am learning about ANT. e.g I have writen a very simple programme which displays output "no worries". But how can I compile it with ANT and how can I generate build.xml file using eclipse.

    This is not really a Java issue but rather is an Eclipse issue. You may wish to look for their support sites or forums.

  • Converting build.cmd to Ant build.xml file

    Can anyone help me convert the attached build command file (windows) to a
              build.xml file for Ant?
              Thanks,
              Matt
              [build.txt]
              

    Hi Kevin,
    You can get lots of help from the following links
    http://help.sap.com/saphelp_nw04/helpdata/en/e1/8e51341a06084de10000009b38f83b/frameset.htm
    SAP XI - Where to Find Information
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/sap xi - where to find information.pdf
    Following is the link for 'how to guides', A step by step guide to create scenarios:
    https://websmp201.sap-ag.de/nw-howtoguides
    All the information you need in XI :
    http://help.sap.com/saphelp_nw04/helpdata/en/0f/80243b4a66ae0ce10000000a11402f/frameset.htm
    you can also go through the url for Elearning :
    https://www.sdn.sap.com/sdn/elearning.sdn
    To understand the architecture of XI, Please go through this link,
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    XI is all about configuration of Adapters, to learn more please go through this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm
    One of the most powerful feature of XI, Business Process Management:
    http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f77835cc/frameset.htm
    Once you go through these links and are a bit aware what all XI objects do, you can try a simple "File to File Scenario" which would help you to understand XI objects in a much better manner.
    For help on this scenario go through this blog it is in two parts thus i am providing both links below:
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    Re: new to netweaver
    Re: how  use XSLT maping in XI
    Re: IDOC - XI - FILE scenario
    Regards
    Vishnu

  • How to read XML file using Automatic ref No

    I need to get the data from the xml file using Automatic reference No.I am a beginner .help me out

    Hi Parthipan,
    An easy way to get started with using XML in LabVIEW is a toolkit called EasyXML -- it's a product from JKI that I helped create
    Thanks,
    -Jim

  • Using Ant to run project build.xml file

    Hello,
    I am trying to understand an example Event processing and correlation project (ESPER) written in java. The example source code is provided as a zip file including a build.xml
    The readme says "Simply use the Ant <project>/build.xml to run the example - it should compile and run, print out the simulation"
    I use the netbeans IDE for development which ships with an ant installation. My question is do i need another ant installation to run the example? Ideally i would prefer to run the example in the IDE, any ideas how i can do that?
    your suggestions will be very much appreciated.
    Antana

    The readme says "Simply use the Ant <project>/build.xml to run the example - it should compile and run, print out the simulation"
    The <project>/build.xml is the ant script where you can customize many NetBeans operations, like project construction, javac configurations, etc. If you simply run this script, nothing happens, unless in this script there is some kind of customization, done by the example. I am assuming <project> is the directory of a NetBeans project.
    I use the netbeans IDE for development which ships with an ant installation. My question is do i need another ant installation to run the example? Ideally i would prefer to run the example in the IDE, any ideas how i can do that?
    You do not need another ant installation. The default installation of NetBeans comes with an ant. You can configure NetBeans to use your preferred ant, but you do not need that, because the default ant in NetBeans directory installation do most of things, if not everything, you need. NetBeans 5.5.1 come with Ant 1.7.0 by default, so if you choose you preferred ant, and this ant is also 1.7.0, then nothing different will happen.
    You can perfectly run the example in the NetBeans IDE. You can also debug the example. Maybe what you have to do is configure the NetBeans project, setting the class with the main() method?

  • "Build.xml file not exist"

    Hey Guys,
    i am currently involving in a servelet project (RendreX). i want to install apachi ant as a prerequirement. i am using windows 2003 server. I already downloded latest ant version and apache tomcat4.0. Also i have set all the class path,ANT-HOME(C:\ANT) and other relevent paths. But when i run ant command in the command prompt(C:\ANT>ant)will generate error state that "build.xml" file can't be found. Have i done any wrong thing here? Can anybody give a way that i can easily install apache ant on winows.
    It would be greatly appriciated if u can send me some advice to over come this problem.
    Best Regards
    Mohan

    build.xml is the default build file assumed by ant. You have to provide a build file to control what you expect from ant to do.

  • Build.xml file

    Hi
    i am building the project by using build.xml file while running build.xml file in console first line i am getting buildfile directory is xyz/abc/build.xml
    how to print this one dinamically
    please give me clear clarification

    how to print this one dinamicallyPlease elaborate your exact requirement?
    -RMishra

  • Ant for the build.xml file

    when we give the ant command then what the background task perform?..
    how ant start parsing the build.xml file ?

    Go to ant.jakarta.org. They have numerous tutorials. Do some research first. If you run into an actual problem, then post what it is.
    - Saish

  • How to run JDev's generated build.xml file(BPEL project) from command win.?

    hi all
    When I execute build.xml file of simple BPEL project from JDev it runs properly. But when I try to execute it from normal command window It gives me an following error.
    ...........droping jar file xyz.jar from path as i doesn't exists.
    While all jar files are exist there.But Ant drops it from Classpath variable.
    So JDev sets some environment before executing such build.xml file.Like {oracle.home} variable u need to set while runnig build.xml from command window.
    Any suggestions...???
    /mishit

    you cant run a .war file from command prompt
    .war files should be executed in a server
    how to execute a single servlet class
    do you mean to run the servlet or compile the servlet?
    any way you need a server and if you are a beginner Apache tocat will be the best server to start with you can down load it from
    http://tomcat.apache.org/

  • Help -- Who has experience with ant and build.xml files ?

    Hi,
    I think my build.xml file is missing setting a classpath I need, but I have never played around with a build.xml file. Could someone help ?
    Thank you.
    Grazia

    A lot of people here use ant. But not all of us can read your mind, and those of us that can are sadistic bastards that like to force people to provide details of their problems just for the hell of it.
    So please do the following:
    * Go through an ant tutorial or other introductory docs, doing an example or two if present.
    * Set up your build.xml according to what you've learned.
    * If it still doesn't work, post the relevant portions of it (hopefully you'll have a small, representative sample that reproduces the problem), along with your relevant directory and file structure, the command you're running, and what error messages you're getting.

  • About the build.xml file in EJB's

    Hi,
    I want to know where is the DTD for the build.xml file in the EJB examples.
    Any help in this matter is highly appreciated.

    http://jakarta.apache.org/ant/
    "satish" <[email protected]> wrote in message
    news:[email protected]..
    >
    Hi,
    I want to know where is the DTD for the build.xml file in the EJBexamples.
    >
    Any help in this matter is highly appreciated.

  • [svn:bz-4.0.0_fixes] 19744: Updated main build xml file to build ds-console only under sdk3 temporarily .

    Revision: 19744
    Revision: 19744
    Author:   [email protected]
    Date:     2011-01-13 11:58:13 -0800 (Thu, 13 Jan 2011)
    Log Message:
    Updated main build xml file to build ds-console only under sdk3 temporarily.
    (SDKs updated in previous CL)
    flex_sdk_3 version 3.5.0 19710
    flex_sdk_4 version 4.x-lcds-hf 19581
    Modified Paths:
        blazeds/branches/4.0.0_fixes/build.xml

    you might want to add the following to the .configure line in you pkgbuild..
    --libdir=/usr/lib/lighttpd --with-openssl=/usr/include/openssl
    This puts the libs in /usr/lib/lighttpd, much like apache does in its own dir, instead of just dumping then in the /usr/lib dir with everything else. A bit cleaner.
    Also, not sure if bzip and gzip need to be in depends line to get output compression. I will report back when I find out.
    EDIT: Made a few more modifications to lighttpd PKGBUILD and associated files. HERE

Maybe you are looking for

  • Firefox will not open unless I delete it and download again.

    Firefox is set as my default browser. Something has happened recently that caused this. I have both I.E. and Torch which both open fine. When I try to open Firefox, nothing happens. Pressing Ctrl,Alt,Del shows nothing in the "task" box. When I click

  • Junk mail problem, using IMAP

    I have many folders on my IMAP account and server-side rules to sort my e-mail. Mail correctly synchronizes all these folders (almost, it sometimes shows a wrong number of new messages until I open the folder. But that's a minor issue). The problem i

  • I can only pick up wireless in one room.  I used to be able to pick it up all over the house.

    I used to be able to pick up wirless all over my house.  I went on vacation and when I came back, it will only pick it up in one room.  My phones can pick it up all over.  What can I do?

  • How to write a socket in that i have to use an array of ports

    dear all Iam doing project in java in that iam using sockets. My problem is i want to keep array of ports in my programming. suppose one port is busy then it automatically take the other port in the array of ports. Please can any body give me the sol

  • Hold and Post Invoice with Same Reference

    Hi, We have activated the check for duplicate invoices. Now, we hold an invoice with reference 123 in MIRO.  Then, we click on worklist and open the held invoice and post it.  But the system throws a duplicate invoice error. Why is the system checkin