You should be able to use Maven's Tomcat Plugin to auto-deploy the WAR.

http://wiki.codehaus.org/maven/TomcatPlugin

I've used it, as well as Tomcat's Ant Tasks
(http://raibledesigns.com/wiki/Wiki.jsp?page=TomcatAntTasks) before.  Both
work quite nicely.

Matt

> I can't give ssh access on this server, it is hosted by a 3rd party, 
> so only I get ssh access. Fortunately, they give me very full access,
>  so I'm sure I can cron something up to run nightly and pull the war 
> file.
> 
> I haven't thought too much about this, but I do know that 
> displaytag.org is a bit outdated. On the plus side, it is using 
> Tomcat, so maybe they have the adminstration app installed. If 
> that's the case, then maybe I can create a login to allow uploading 
> of the war file. I'll look into this...
> 
> On Mon, 8 Mar 2004, Fabrizio Giustina wrote:
> 
> > I think it would be better to redirect www.displaytag.org ->
displaytag.sf.net , so that the front page can stay on sourceforge, which is
easier to update.
> > After that, it would be nice to map www.displatag.org/displaytag-example
(or a similar url) to the example webapp and find a way to update it daily
with an automatic build.
> > 
> > If it's possible to have an ssh connection to displaytag.org I can modify
the build script in order to scp/sftp the war there after any build. We can't
use ftp since only ssh connections are allowed from sf compile farm servers.
> > 
> > If there are no chances to use ssh I can set up the script to publish a
barebone war on sf displaytag website (ex on displaytag.sf.net/war ) so that
it will be easier to fetch it using a script on displaytag.org.
> > 
> > Let me know what we can do, John, so we can work on this together
> > 
> > fabrizio
> > 
> > 
> > 
> > 
> > From: John York
> > Sent: Mon 08/03/2004 2.46
> > To: [EMAIL PROTECTED]
> > Subject: Re: [displaytag-devel] automatic builds are up...
> > 
> > 
> > Should I redirect displaytag.org to point to sourceforge? I may be able 
> > to automate pulling the latest war file every night and thus keep 
> > displaytag.org up2date. Anyone have any thoughts on this?
> > 
> > John
> > 
> > 
> > Fabrizio Giustina wrote:
> > 
> > >  ... and (hopefully) running when the sourceforge shell server will be 
> > > accessible using ssh again (it seems to be down at the moment)
> > >  
> > > I finally succeed in making nightly builds working on sourcefore 
> > > compile farm servers, so once a day the entire website and the nightly 
> > > distribution is automatically generated and uploaded. No one will need 
> > > to spend time in set up maven for generating the documentation: simply 
> > > wait a few hours and any change will be published!
> > >  
> > > Everything works without changes to the current build, I only had to 
> > > disable the linkcheck plugin since it can't run on compile farm (only 
> > > ssh connections).
> > > Nightly builds are compiled using jdk 1.4. I'd like to use 1.3 to 
> > > assure that no 1.4 specific code is checked in, but the statcvs plugin 
> > > needed 1.4 to work.
> > >  
> > > I don't know if someone already noticed it, but a nice pdf manual has 
> > > also been added to the documentation recently. I plan to move (copy) 
> > > all the documentation which can be found only in the sample webapp to 
> > > xdoc so that everything can be included in the generated pdf. Looking 
> > > for volunteers to help on this task!
> > >  
> > > fabrizio
> > >  
> > 
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: IBM Linux Tutorials
> > Free Linux tutorial presented by Daniel Robbins, President and CEO of
> > GenToo technologies. Learn everything from fundamentals to system
> > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> > _______________________________________________
> > displaytag-devel mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/displaytag-devel
> > 
> 
> -- 
> John York
> Software Engineer
> CareerSite Corporation
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> displaytag-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/displaytag-devel


--
Open WebMail Project (http://openwebmail.org)


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to