On Thursday 15 January 2009 13:57:39 Piero Sartini wrote:
> > But, the problem with this was that wget honors
> > the new robots.txt file which means wget refuses to pull it down.
>
> wget should ignore the robots.txt with the option
> -erobots=off
>

Thanks Piero, using this argument, I was able to get wget to work. The build 
now pulls down the docs thru the web, then zips them up locally. The advantage 
is that users (read - non-committers) can still do full builds (mvn -Pall 
install clean), the only gotcha is that you have to have 'wget' in your path. 
I tested this on linux, which of course works, but it works on solaris running 
in hudson as well. I also tested on windows XP with cygwin installed and it 
worked there as well. 

This brings us to the next step. James's nightly script does a `mvn deploy` 
which puts all the artifacts in the snapshot repository. Unless someone has a 
problem with it, I am going to start having hudson deploy as well. I don't 
think it will be a problem since James' script runs at midnight and mine runs 
at 9AM (on whatever timezone the hudson zone uses). Assuming that goes well, I 
will next want to scp the zips generated by the assembly goal over to the 
nightly build area on people. At this point, we'll be able to disable James' 
nightly script. The easiest way I can see is to write a shell script and have 
Hudson call it after the build is complete. 

At this point, the nightly build process is irrelevant, so I can work with 
Martin or whoever to disable his cronjob on the Struts zone. But, I would also 
like to enhance this process further as I had talked about earlier. On the 
Struts zone, I'd like to setup various app servers (Tomcat, Jetty, JBoss, for 
starters). Then, setup a job that will deploy our apps like showcase, rest-
showcase, etc. into these app servers. I think this would be a good use for 
the zone and it seems to have the resources to handle it. I am not sure how I 
am going to handle the various deployment tasks on the zone, whether I will 
have hudson do it or figure out a way to get it done with a job running on the 
zone. 

Does anyone have any suggestions or issues before I proceed?

-Wes


-- 

Wes Wannemacher
Author - Struts 2 In Practice 
Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more
http://www.manning.com/wannemacher


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to