cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Huttar" <>
Subject RE: how to initiate a CVS update from within Cocoon?
Date Sat, 24 Apr 2004 22:10:15 GMT
Thanks for the helpful suggestions.

> -----Original Message-----
> From: Upayavira []
> Sent: Saturday, April 24, 2004 2:54 AM
> To:
> Subject: Re: how to initiate a CVS update from within Cocoon?
> Lars Huttar wrote:
> >Hi,
> >I've been trying the AntBuildGenerator (to invoke CVS from
> >within Ant from within Cocoon)
> >but I'm running into the following problems:
> >(1) Ant has to have the cvs client executable in "the path",
> >but there doesn't seem to be a way to specify the path from
> >within Ant, and I don't know of a way to tell Cocoon to give Ant
> >a certain path either.
> >
> If you're running as a service, if you set the CVS client 
> path into my 
> computer/properties/advanced/environment variables/system 
> variables/Path, can Cocoon then find CVS?
> >(2) The cvs client needs a ~/.cvspass file, but I don't know
> >where that would need to be, since Tomcat runs as a Windows XP
> >"Service" -- where's its home directory?
> >  
> >
> You can try putting it in c:\. It looks in a number of places for it.
> >Does anybody know of another way to invoke the cvs client from
> >Cocoon, e.g. via an XSP page, an action, or ... ?
> >  
> >
> It seems what you want to do is actually do a checkout. If 
> you just want 
> to read from CVS, there's the CVSSource on

Yes, I want to do an update, not just read from CVS.

> Alternatively, you could run an automated task every so often 
> that does 
> your checkout, but only when a file is written to a certain 
> location, as 
> a trigger, by Cocoon.

Interesting idea.
I'd want the granularity to be pretty small, so that people
could request a CVS update and expect it to happen within a
few minutes. I suppose I could schedule a task to run every
few minutes...
but I'll try this other way first.

> Regards, Upayavira

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

View raw message