Hi again Niroshani,
"my.build.properties" is your approach to override your own properties which
are not supposed to be checked in.
Properties defined in "my.build.properties" will override those defined in
"build.properties" -- "Ant" will skip it when it doesn't exist.
And this in order to avoid changing settings standards.
> I use ant to build the database. But it failed.
Regarding the build failure related to build database, (I suppose that you have
executed the tasks build_db) you have to set your filename of the web server
under which the application
is to be deployed.
For example, if you use JBoss you have to define the destination to ;
#deploy.destination=${env.JBOSS_HOME}/server/mifos/deploy (Here you can see
what we mean with mifos/deploy: It's the instance of Jboss already created).
Also, you have to define your own application's database parameters to
successfully build the database (The same applies to test's database).
-- Or you can create a new MySql database instance with same parameters said in
the "build.properties" file.
Another problem that may appear when running "dist" tasks in "Ant", so you need
to copy a JUnit.jar file to your eclipse/plugins/org.apache.ant/lib directory.
Next you need to go into Eclipse then click on
Window->Preferences->ant->Runtime, then select 'Ant Home Entries (Default).
Click on the button 'Add External JARs'. Locate the junit.jar file you copied,
select it and hit 'OK'. Hit 'OK' and try your "Ant" task again. That should fix
it.
Hope this is clear. Let me know if you have more questions and I can send more
detailed instructions.
Cheers,
- Nazir
________________________________
De : Niroshani Sawanawadu [mailto:[EMAIL PROTECTED]
Envoyé : lundi 10 décembre 2007 12:58
À : Nazir LAJDEL
Objet :
Dear Nazir,
I'm trying to install mifos. I have followed the instruction given in
http://www.mifos.org/developers/install-mifos/install-windows#install_java.
Could you please explain me how to change the build.properties.
I use ant to build the database. But it failed.
Regards
Niroshani
-------------------------------------------------------------------------------------------------------------------------
Niroshani Sawanawadu
RCT - MF TSP
Tel: +94 773 149567
PASS Research and Consultancy (Pvt) Ltd
67/5 Thalawathugoda Road PitaKotte
Sri Jayawardenepura 10100
Sri Lanka
Tel +94 112878168 Fax +94 114 547417
Email: [EMAIL PROTECTED] Web: www.mfsolutions.lk <http://www.mfsolutions.lk/>
"Strengthening you to fight against poverty"
-------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php