On Nov 13, 2006, at 2:21 AM, Jukka Zitting wrote:
On 11/13/06, Roy T. Fielding <[EMAIL PROTECTED]> wrote:
If we are not planning on maintaining the dojo files as a fork,
then we include installation instructions with the webapp, or an
install script that builds a webapp from our source and the latest
tarball from dojo.  The only time that we would distribute both is
when the RM builds a release, at which time the RM would install
the best available version of dojo inside the release jar.

I really prefer to have as few manual steps as possible in both normal
and release builds. Making the build script automatically download
Dojo is IMHO out of the question unless we want to reinvent Maven or
Ivy.

There is no need.  If the file is not present, tell the person running
the build to make it present by downloading the package.  We do that
all the time in other projects -- building from subversion is not a
"user" process.

We do not need it in our subversion unless we plan on forking the
dojo content.  We are talking about 20MB of *source*.

I see two reasonable alternatives if we don't want to have the Dojo
source tree as individual files in our svn:

* Include a Dojo release zip instead of the individual source files,
and instruct Maven to extract the contents into the webapp at build
time.

* Use svn:externals to get the source directly from the Dojo svn repository.

No, svn:externals is evil.  Placing a specific jar in our subversion
is not recommended either, but at least that gets us out of problems
associated with forking dojo (jar format is just gzipped tar and,
unlike zip, is guaranteed to work on all platforms that we care about).
OTOH, you can just encourage dojo to release a source jar to maven.

I don't understand why you need to make the webapp build process
in "as few manual steps as possible".  That's why people write
release scripts.

....Roy

Reply via email to