List Info

Thread: A dist (distribution) ANT target for the main build.xml




A dist (distribution) ANT target for the main build.xml
user name
2006-10-31 18:10:44
Hello Devs,

As I was again studying the main build.xml script I was
searching for the most common task that
bootstraps all activities. Such a task right now is
"rebuld", but since it merely depends on clean
and make, let's take a look at "make". What make
does is compile sources and package bundles.

However, I feel that something is missing in the whole
picture. I feel the need of a task that
would just copy all the files, needed for a
platform-independent distribution, into a separate
folder and then possibly zip them or tar.gzip them.

Such a target could be named "dist" (from
"distribution"). It could even be used for several
types
of distributions - binary production distro, binary debug
distro, source distro, etc. This reminds
me of the "make install" command that does a
similar job for the C/C++ projects.

This is somehow related to my work on the RPM packages. As a
newcommer, I had difficulties
realizing what goes where after I build the sources. I mean,
it would be great to have the
structure in a "dist/" folder ready for packaging
(maybe that's what "release/" is all about).

What do you think?

--Pavel Tankov


 
____________________________________________________________
________________________
Low, Low, Low Rates! Check out Yahoo! Messenger's cheap
PC-to-Phone call rates 
(http://voice.yahoo.com)

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribesip-communicator.dev.java.net
For additional commands, e-mail: dev-helpsip-communicator.dev.java.net

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )