You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Ignacio J. Ortega" <na...@siapi.es> on 2001/11/01 18:13:02 UTC

[PATCH] Added a target for local container install in build.xml

Hola a todos:

The attached patch will add a "install" target in build.xml, very
usefull in developement, "install" target constructs a jetspeed webapp
for use of a local servlet container.., i dont know how people was doing
that in a development environment, but dont found a way with the actual
build.xml, maybe unzip-war target but this target does a pack-unpack
cycle, breaks File date checks done by ant and is very slow.. the
"install" target by contrast uses builtin copy command of ant that takes
into account file dates to do the minimal set of actions needed..

Saludos ,
Ignacio J. Ortega

Re: [PATCH] Added a target for local container install in build.xml

Posted by Chris Kimpton <ki...@yahoo.com>.
Hi,

--- "Ignacio J. Ortega" <na...@siapi.es> wrote:
> Hola a todos:
> 
> The attached patch will add a "install" target in build.xml, very
> usefull in developement, "install" target constructs a jetspeed
> webapp
> for use of a local servlet container.., i dont know how people was
> doing
> that in a development environment, but dont found a way with the
> actual
> build.xml, maybe unzip-war target but this target does a
> pack-unpack
> cycle, breaks File date checks done by ant and is very slow.. the
> "install" target by contrast uses builtin copy command of ant that
> takes
> into account file dates to do the minimal set of actions needed..
> 

+1

I submitted the "unzip-war" target as a quick fix - this is a much
better solution. Feel free to remove the "unzip-war" target.


Although I would have a default for "install.war" in the build.xml,
say something like "${build.dir}/webapp".

This allows those without an "e:" directory to still install it  ;-)

Chris

=====
Need somewhere to Live in London? - Then go to http://freeflats.com

__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>