Sheila's Blog

Software Development

Sheila's Blog header image 5

Entries Tagged as 'build'

Setting up an Automated Build System

June 9th, 2009 2 Comments

Many teams apply continuous integration as part of their software development process.  This means that each team member integrates their work regularly.  To facilitate doing this, you first need an automated build script that each developer can use to compile and build the code locally.  If there are no issues, then the developer can check [...]

Tags:

Automated Build – Mysql database scripts

March 30th, 2009 No Comments

Having set up the basic folder structure in Automated Build Databse scripts you now need to add the mysql scripts.
You create them in PROJECT_HOME/db/mysql/testdb
db/mysql/testdb/build-mysql-testdb.xml
db/mysql/testdb/createTables.sql
db/mysql/testdb/dropTables.sql
db/mysql/testdb/populateTables.sql
db/mysql/testdb/testData.sql
The build script itself is fairly self-explanatory.  It replicates the targets from the master build script.  It reads the mysql.properties and schema.properties files and adds the correct jar file to the classpath.
For [...]

Tags:   ·

Automated Build – OracleXe database scripts

March 27th, 2009 No Comments

Having set up the database folder structure in Automated Build Database scripts you now need to add the oracle xe scripts.
You create them in PROJECT_HOME/db/oraclexe/testdb
db/oraclexe/testdb/build-oraclexe-testdb.xml
db/oraclexe/testdb/createTables.sql
db/oraclexe/testdb/dropTables.sql
db/oraclexe/testdb/populateTables.sql
db/oraclexe/testdb/testData.sql
The build script itself is fairly self-explanatory.  It replicates the targets from the master build script.  It reads the xe.properties and schema.properties files and adds the correct jar file to the [...]

Tags:   ·

Automated Build – Database scripts

March 25th, 2009 No Comments

When you’re developing a project, you put all your java code into source control.  You should also include database scripts in source control.  These scripts can be used by developers to keep their local copies of the database up to date in the same way as they get the latest code from source control.
As part [...]

Tags:   ·

Automating your Build – The Very Basics for a Beginner

March 24th, 2009 No Comments

This post covers the absolute basics for a beginner of setting up a minimal build script for building and deploying code as a jar/war/ear file.

Tags:   ·