diff --git a/docs/ant_task_guidelines.html b/docs/ant_task_guidelines.html index b148706d7..975a2da5d 100644 --- a/docs/ant_task_guidelines.html +++ b/docs/ant_task_guidelines.html @@ -23,6 +23,21 @@ get this fix in we first had to write the test suite to expose current behaviour, then change something so that singe $ was passed through, but double "$$" got mapped to "$" for backwards compatibility. +
-Java 1.5 will (perhaps) add a new keyword - enum, one should avoid -this for future compatibility. +Java 1.5 adds the enum; again, this must not be used. +
+ +One thing we can not do is move existing tasks around or delete them. +Remember that Ant has a Java API as well as an XML language. We don't want +to break that API, or anything that subclasses existing Ant tasks. When +refactoring, you need to leave facades where the original classes were. so +existing code does not break.
ant run-single-test
--Dtestcase=${testname}
where ${testname}
is the name of your test class.
+-Dtestcase=${testname} where ${testname}
+is the name of your test class.
@@ -267,7 +295,7 @@ utterly essential to many users. Remember also that Ant 1.x is designed to compile and run on Java1.2, so you should test on Java 1.2 as well as any later version which you use. -You can download an old SDK from Sun for this purpose. +You ought to be able to download an old SDK from Sun for this purpose.
Finally, run a full build test
before and after you start
developing your project, to make sure you havent broken anything else by
@@ -299,14 +327,14 @@ This is important.
-The fairly laissez-faire license of Apache is not compabitible with +The fairly laissez-faire license of Apache is not currently considered +compabitible with either the GPL or the Lesser GPL of the Free Software Foundation -the Gnu project. These licenses have stricter terms, "copyleft", which are not in the Apache Software Foundation license. This permits people and organisations to build commercial and closed source applications atop the Apache libraries and -source -but not use the Apache, Ant or Jakarta Project names without -permission. +source.
@@ -316,13 +344,6 @@ incorporated, the Ant team can not incorporate any task based upon GPL or LGPL source into the Ant codebase. You are free to submit it, but it will be politely and firmly rejected. -
- -Once ant-2 adds better dynamic task incorporation, it may be possible to -provide a framework for indirectly supporting [L]GPL code, but still no tasks -directly subject to the Gnu licenses can be included in the Ant -CVS tree. -
If you link to a GPL or LGPL library, by import
or
reflection, your task must be licensed under the same terms. So tasks
@@ -334,11 +355,12 @@ them.
Even if we cannot include your task into the Apache codebase, we can
still point to where you host it -just submit a diff to
xdocs/external.html pointing to your task.
-
+
If your task links directly to proprietary code, we have a differnt problem: it is really hard to build the tasks. Please use reflection. -