struts-dev mailing list archives

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


> -----Original Message-----
> From: Ted Husted [mailto:husted@apache.org]
> 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
seems
> 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
samples,
> so those WARs could be downloaded and then examined in place.
> 
> The best thing might be for Scaffolding to be distributed like Struts
or
> Velocity, or any other programming package. The current sample WAR
isn't
> 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
any
> sample WARs, a -src ZIP, and the JAR.
> 
> Though, I still very much like the idea of just bundling it as WAR
with
> the source intact, with unit tests as the "application". Other
> applications based on the package could go into their own
distributions,
> 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. 

-Vincent

> 
> -- Ted Husted, Husted dot Com, Fairport NY USA.
> -- Building Java web applications with Struts.
> -- Tel +1 585 737-3463.
> -- Web http://www.husted.com/struts/
> 
> --
> To unsubscribe, e-mail:   <mailto:struts-dev-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:struts-dev-
> help@jakarta.apache.org>
> 




--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@jakarta.apache.org>


Mime
View raw message