Hi Chandi,
I'm not sure if you are following the directions for building that are in the README file in Subversion (source control) or some other instructions, but this file outlines the correct target to use to build successfully: https://mifos.dev.java.net/source/browse/*checkout*/mifos/trunk/mifos/RE ADME You should take a look at this file. You'll note that this file indicates that you should *just* invoke 'ant' without any particular parameters in order to run tests and build the WAR file. So, in your case, you would simply type 'ant' at the command prompt in the directory where you have the Mifos source code (and the build.xml file) and things should work fine. Note also that the README file linked above says that you can use "ant clean compile copy_files war" as a method of building the WAR file without running tests. I would not recommend this for now. I think you should ensure that tests are running successfully on your machine. So, try using just the just the 'ant' command and let us know how that goes. Hopefully things will work successfully for you :-) Thanks, Aliya ________________________________ From: Chandi Datta [mailto:[EMAIL PROTECTED] Sent: Friday, February 01, 2008 5:36 AM To: Aliya Walji Cc: Jaganathan Srinivasan; Developer Subject: RE: Not able to build war file through ant Hi Aliya, Thanks for helping me out. Please find below the System configuration of my system. Operating System: Windows XP Professional (Service Pack 2) Hardware: CPU: Intel Celeron M processor, 1.50GHz RAM: 512 MB Application Servers Apache Tomcat Version 6.0.14 MySQL: 4.1 Java SDK: 1.5.0_07 Ant - 1.7.0 TortoiseSVN-1.4.7 I am using ant -f build.xml command to build the war file. Please let me what you think. Thanks Chandi "Aliya Walji" <[EMAIL PROTECTED]> 01/02/2008 11:01 To Chandi Datta/India/[EMAIL PROTECTED], "Developer" <[email protected]> cc Jaganathan Srinivasan/India/[EMAIL PROTECTED] Subject RE: Not able to build war file through ant Hi Chandi, Thanks a lot for sending along your questions. I've copied the Mifos developer list because we have a lot of new team members and community members that are working through the same set of issue that you are. So hopefully this email thread will help out others also. First off, can you help me out by providing a little bit more detail about the steps you are taking and environment you are running so that we have some more details for troubleshooting? Here are some questions that would help if you can answer: 1. Can you provide the environment you are running (operating system, and version of all software you are using to build and deploy Mifos). Examples of what information to include can be found on this page: http://mifos.org/developers/wiki/DeveloperMachineConfigurations <http://mifos.org/developers/wiki/DeveloperMachineConfigurations> 2. SVN revision number you are trying to build 3. Version of Ant and TortoiseSVN you are using 4. Specific command you are calling when trying to build the application (i.e. > ant <build target 1> <build target 2>, etc.) For example, are you trying "ant dist" or something else when trying to build the WAR file 5. Can you provide the any console output from the build process when you try doing this? In regards to your question about going through JBoss to build the WAR file, that is a good question, but that is not possible. JBoss is not related to building the WAR file but only used for deploying the WAR file as your web application server. Once you have actually successfully built the WAR file, then you can use either JBoss or Tomcat to deploy the application. Either is fine for a first step to try to get things working. We recommend using Tomcat 6 for v1.1 of Mifos (the current version of the code), however you can also use JBoss as it should also work (it is what we have used in the past). Once you have the hang of building/deploying easily, I would definitely recommend Tomcat for testing purposes, as that is our recommended servlet container for Mifos (plus it is lighter and starts/stops faster so it is easier to use for testing). Anyway, hopefully you can provide the above information and then we can help you further with next steps based on that information. Thanks, Aliya ________________________________ From: Chandi Datta [mailto:[EMAIL PROTECTED] Sent: Thursday, January 31, 2008 6:19 AM To: Aliya Walji Cc: Jaganathan Srinivasan Subject: Not able to build war file through ant Hi Aliya, I joined last week in MIFOS application from IBM India team. I am comfortable with front end and Database side of the application. I downloaded the source code through TortoiseSVN Client. I am able to build the database "mifos" and "test" using build.xml through ant script. But war file is not creating in the dist directory according to property file. Can you please guide me to build the war file through ant script? Should I go for JBoss to build war file? And another question, do I have to use JBoss for deployment or Tomcat will be good enough for that? Can you please let me know your thoughts ? Thanks in Advance!! Chandi ======================= IBM Global Service Pvt. Ltd. 2nd Floor, SA 2 Building # 12, Bannerghatta Road, Bangalore - 560029. Mobile : +91-9449828424
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
