Show last authors
author | version | line-number | content |
---|---|---|---|
1 | == WOProject == | ||
2 | |||
3 | A suite of extensions for ant to build WOApplications and WOFrameworks | ||
4 | |||
5 | * [[WOProject Ant Tasks (old site)>>http://objectstyle.org/woproject-old/ant/]] | ||
6 | * [[Embedding WOFrameworks]] | ||
7 | |||
8 | Please see the link to the old site above until the core documentation is moved to this new wiki. | ||
9 | |||
10 | === Introduction === | ||
11 | |||
12 | Ant build files are broken into what are called '[[targets>>http://ant.apache.org/manual/using.html#targets]]', similar to a [[Makefile>>http://en.wikipedia.org/wiki/Makefile]]. These targets are a group of, what are called, '[[tasks>>http://ant.apache.org/manual/tasksoverview.html]]'. Tasks are used for getting work done; they make something happend directly, e.g. [[move files>>http://ant.apache.org/manual/CoreTasks/move.html]] on the filesystem, [[compile java>>http://ant.apache.org/manual/CoreTasks/javac.html]] source files into classes, [[transfer files>>http://ant.apache.org/manual/OptionalTasks/scp.html]] from one server to another over ssh, etc. | ||
13 | |||
14 | While Ant is distributed with around fifty built-in tasks, any number of customized tasks can easily be added by developers outside of the core Ant team. | ||
15 | |||
16 | WOProject is such a project. WOProject adds a half dozen tasks to Ant. These tasks allow WebObject developers the freedom to use Ant in their build process, instead of the using Apple's XCode suite. A few of these tasks are: [[WOCompile>>http://objectstyle.org/woproject-old/ant/wocompile.html]], [[WOApplication>>http://objectstyle.org/woproject-old/ant/woapplication.html]], [[WOFramework>>http://objectstyle.org/woproject-old/ant/woframework.html]]. After dropping the WOProject core jars into Ant's lib directory, these tasks can be used directly in the typical Ant build.xml file in building your WebObjects projects. | ||
17 | |||
18 | See the link above to the old site for in-depth documentation on each of these new tasks, as well as their [[APIs>>http://objectstyle.org/woproject-old/api/index.html]]. | ||
19 | |||
20 | Reasons for using Ant to build WebObjects frameworks and applications: | ||
21 | |||
22 | * Ant is highly configurable and flexible, with constant additions from the open source community, and is considered a defacto standard by the Java community | ||
23 | |||
24 | * Builds of projects with a very large number of files without dependency failures | ||
25 | |||
26 | * Allows easy automation of daily builds for teams of developers, i.e. nightly builds for smoke testing, etc. |