struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <>
Subject RE: cvs commit: jakarta-struts/contrib/scaffold build.xml
Date Wed, 02 Jan 2002 13:53:28 GMT

> -----Original Message-----
> From: Ted Husted []
> Sent: 01 January 2002 22:19
> To: Struts Developers List
> Subject: Re: cvs commit: jakarta-struts/contrib/scaffold build.xml
> Having two distributions for Artimus just doesn't seem useful. It
> sufficient to just have the WAR, and include the source in that.
> > jakarta-artimus.war (with source intact under WEB-INF/src)

What do you mean by source ? Only the java files or the full tree,
including build, conf, etc ?
> I've always thought we should do the same thing with the Struts
> so those WARs could be downloaded and then examined in place.
> The best thing might be for Scaffolding to be distributed like Struts
> Velocity, or any other programming package. The current sample WAR
> useful, and could be discarded. 

Well, it shows how to package a scaffold application and how to unit
test one which is not that bad after all ... :-)

> But we would still need a slot for the
> unit tests. So, I guess that implies a binary ZIP with the docs and
> sample WARs, a -src ZIP, and the JAR.
> Though, I still very much like the idea of just bundling it as WAR
> the source intact, with unit tests as the "application". Other
> applications based on the package could go into their own
> like Artimus.
> But, Vincent believes the new layout will be more useful, and I trust
> his judgment.

Hey, I'm not saying I'm right here ... ;-). I'm  trying to understand
the motivation behind packaging scaffold as a war ...

I find it troubling to deliver a library as a WAR when what we want to
deliver is actually a jar. However, it is also very important to always
deliver a sample application for any library, which shows how to use it
and a war fits nicely for this. 


> -- Ted Husted, Husted dot Com, Fairport NY USA.
> -- Building Java web applications with Struts.
> -- Tel +1 585 737-3463.
> -- Web
> --
> To unsubscribe, e-mail:   <mailto:struts-dev-
> For additional commands, e-mail: <mailto:struts-dev-

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message