You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by ru...@us.ibm.com on 2000/04/11 15:19:00 UTC
Re: Release plan
Now that the Tomcat 3.1 activities are wrapping up, it is time to begin
planning the next release of Ant. By popular demand, at this point I think
that we should decouple Ant from the Tomcat release cycle. So lets begin
by referring to previous releases as 0.3.0 and 0.3.1 (note the initial
"0."), and begin planning release 1.0.
For starters, I would like to say that I do *not* expect 1.0 to be 100%
backwards compatible. Items of dubious value and deprecated features may
be removed. I'm thinking about things like the automatic copying of any
files that Javac sees that don't end in ".java" to the destination
directory, and alternate spellings for classname parameters. This being
said, I do not expect anybody using an existing version of ant to have to
spend more than a few minutes doing an upgrade.
High items on my list (many of which already have patches submitted)
- The ability to use any JAXP compliant parser
- Separating the "initializers" (items which are to be directly nested in
the project) from the "tasks" (elements which are to be nested in
"targets")
- Restructuring of the "core" tasks so that they are more useful as
building blocks (example: the exec task)
- Organizing the "non-core" components in such a way that users can more
easily pick and chose the subset that they want. Does everybody need RMIC?
This should hopefully open the door for expanding the universe of taskdefs.
Note: I have no personal preference as to whether taskdefs which integrate
Ant with another product are shipped with Ant or with the other product.
Nor do I see it as a requirement that the item being integrated be open
source. All that is required is that the taskdef itself be shipped under
the Apache license if it is to be included in Ant, and that it be optional
for those that don't require it.
- Enabling the construction of building blocks in XML for build processes.
The jakarta-taglibs project is an example of a family of components with a
fairly uniform build process for each. It would be nice if this uniform
build process were defined in one place, and the individual build.xml's
could contain only the unique information about the subsystem.
- Converting the .antrc / antrc.bat / defaults.properties into XML. I view
these as special cases for the building blocks described above.
Suggestions? Volunteers?
- Sam Ruby
How to convince our IT manager to allow ANT?
Posted by da...@bellsouth.net.
I've been testing out Ant for doing our java builds instead of make, and I'm
convinced
that it's a superior tool. I was able to easily do things that would have
taken me a lot
longer to write in make syntax and the build.xml files are much simpler to
read and
maintain.
Yesterday, myself and one of our system architects tried to convince our IT
manager to
officially allow ANT for building java programs, and met with little
success.
The arguments were:
1. Him: Ant doesn't do anything that make can't do.
Me: Because make can call any shell command, there's really nothing make
can't do
if you work at it hard enough. My point is that Ant does things
more elegantly.
2. Him: Since Ant would only be used for java builds, we'd need to support 2
tools, Ant
for java and make for C++. Therefore, higher support costs.
Me: Ant is simpler than make, so it will not have as many problems
requiring a
build expert as make will. Also, it can be optional for java, so
not every
developer needs to be trained to know Ant.
3. Him: I thought javac already automatically detected dependencies and
compiled all the
necessary files, which means your makefile would generally be
trivial and not
require a sophisticated tool.
Me: First, I've heard of problems with javac with big directories of
files being
compiled. Second, I don't think javac can autocompile needed
classes which are
in different packages (which we use extensively).
4. Him: Make is standard, Ant is not, and may never become a widely used
too.
Me: I expect some sort of XML based tool to become a widely used
replacement for
make, although you can't predict whether Ant will or won't.
Besides, it
provides value in the short run and increases developer
productivity. Finally,
so what if it's not a standard? As long as it's useful to us, it
doesn't
matter if other companies are all using it.
So, the question is: "How do I convince a reluctant manager to see the
value of Ant?"
I am planning to research javac's automatic compiling ability, but I don't
put much
faith in it. I just didn't have hard proof at the meeting to show. I can't
quantify
support costs, so I guess I'm going to have to rely on showing him how it
can increase
productivity. We're going to try to convince the head of configuration
management
probably tomorrow, and then go back to our manager if he will join our side.
Any suggestions?
Re: Release plan
Posted by Scott M Stark <Sc...@displayscape.com>.
> Suggestions? Volunteers?
>
> - Sam Ruby
>
I'll volunteer, but first let me ask a question about exactly what the scope of Ant
is supposed to be. Let me put this question in the context of a recent gnumake
to Ant porting effort. The one target type that I could not port to Ant without
extensive custom taskdefs was the ability to define a jar of classes target in terms of
its source dependencies. This turns out to be nontrivial because of inner classes,
rmi stubs, source generated from JavaCC grammars, etc.
I was able define a scheme that handled all these issues using gnumake pattern
rules and its internal functions. Its complicated and fragile however. I'm not saying
Ant should or should not support this type of target at its core. I'm asking what the
scope of the core Ant functionality should be.
Scott
Re: Release plan
Posted by Thomas Haas <th...@softwired-inc.com>.
rubys@us.ibm.com wrote:
> - Restructuring of the "core" tasks so that they are more useful as
> building blocks (example: the exec task)
I especially welcome that one, as I spent quite some time on trying to reuse
stuff to create new tasks for my own use. I beleive the core shoulc mainly
consist of components offering matching files, copying files, translating files
(this is copy and modify) and spawning processes and executing a java class.
These components are not ANT tasks themselves, only "building blocks", which
can be used to create the various tasks needed.
(Somehow like the stuff I submitted lately.)
In addition offer core tasks implemented using the components mentioned above.
Of course I am volunteering for all this.
> - Enabling the construction of building blocks in XML for build processes.
> The jakarta-taglibs project is an example of a family of components with a
> fairly uniform build process for each. It would be nice if this uniform
> build process were defined in one place, and the individual build.xml's
> could contain only the unique information about the subsystem.
Sounds great - without exactly what you mean.
- tom
--
* Thomas Haas <ma...@softwired-inc.com>
* SoftWired AG <http://www.softwired-inc.com/>
* Technoparkstr. 1 *** CH-8005 Zurich *** +41-1-4452370