Changes for page WOProject-Ant
Last modified by Andrew Lindesay on 2014/02/25 00:42
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -4,20 +4,23 @@ 4 4 5 5 * [[WOProject Ant Tasks (old site)>>http://objectstyle.org/woproject-old/ant/]] 6 6 * [[Embedding WOFrameworks]] 7 + 7 7 Please see the link to the old site above until the core documentation is moved to this new wiki. 8 8 9 9 === Introduction === 10 10 11 -Ant build files are broken into what are called 'targets', similar to a Makefile. These targets are a group of, what are called, 'tasks'. Tasks are used for getting work done; they make something happend directly, e.g. move files on the filesystem, compile java source files into classes, transfer files from one server to another over ssh, etc. 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. 12 12 13 13 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. 14 14 15 -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. 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 [[installing WOProject>>http://objectstyle.org/woproject-old/ant/index.html]], these tasks can be used directly in the typical Ant build.xml file in building your WebObjects projects. 16 16 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 + 17 17 Reasons for using Ant to build WebObjects frameworks and applications: 18 18 19 19 * Ant if highly configurable and flexible, with constant additions from the open source community, and is considered a defacto standard by the Java community 20 20 21 -* Builds of project with a very large number of files without dependency failures 24 +* Builds of projects with a very large number of files without dependency failures 22 22 23 23 * Allows easy automation of daily builds for team of developers, i.e. nightly builds for smoke testing, etc.