Apache Build Projects: By. S. Suhothayan & Prabath Abaysekara
Apache Build Projects: By. S. Suhothayan & Prabath Abaysekara
from: OpenMRS
How its done
more than one developer to works on the same revision
file... and trying to commit at the same time!
from: OpenMRS
How its done
What if the changes are on the same line !!!
from: OpenMRS
from: OpenMRS
Ant
A software tool for automating software build processes
Similar to MAKE, but:
Written in and developed primarily for Java
Uses XML scripts
How Ant build files written?
Build-scripts are created from existing Ant-tasks.
The Ant tasks do not prescribe any conventions or
configuration.
Therefore the definition of project layout is your
responsibility.
Advantage
You have full control of whatever you are doing
Disadvantage
Can become a problem in bigger projects.
How to run Ant ?
Can be run from the command line
Directories
Source, Tests, Resources
Goals
Clean, Test, Deploy, Package, Install, Site...
mvn archetype:generate \
-DarchetypeGroupId=org.apache.maven.archetypes \
-DgroupId=org.apache.meetup \
-DartifactId=calcualtor-app
Dependencies
Dependencies are uniquely identified by their
Group
Artifact
Version