You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by SuniX <ka...@yahoo.fr> on 2003/08/19 15:43:54 UTC
CVS with tomcat
Hi
Is there a way to use CVS with tomcat ?
i want my tomcat server to check a cvs project and deployed it
automaticaly. (cvs server and tomcat server in the same machine running
on a debian testing)
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: CVS with tomcat
Posted by Paul Sundling <to...@tkz.net>.
I've attached my build.xml (with changes to IPs and passwords :))
The kind of setup I'd recommend is this:
local developer machines (windows, linux, bsd, whatever....) running
local copies of tomcat, eclipse for an IDE attached to your CVS
repository and ant either run from command line, or launched from within
the eclipse itself with the appropriate client. Now the deploy to
staging need to be done, but I'm sure you can research that part. Get
the files from CVS for your local copy and then pushing those to
production or staging. You'll need an ant target that uses ftp or
something or rsync or scp would work too....
Paul Sundling
SuniX wrote:
> Thank you
> Can you give an example of ant source whick "reload and deploy" to a
> tomcat server? It can help me.
> Thanks
>
> Paul Sundling wrote:
>
>> I'm not sure why you'd want to have it deployed automatically. You
>> can probably do it with ant and cruise control?
>> With ant, you can create targets that reload your app or deploy it to
>> a tomcat server. That's what I do currently and it even integrates
>> well with eclipse!
>> If you really want to do it automatically I heard cruise control does
>> that sort of functionality, but I'm not sure about having it look for
>> changes in CVS.
>>
>> SuniX wrote:
>>
>>> Hi
>>> Is there a way to use CVS with tomcat ?
>>> i want my tomcat server to check a cvs project and deployed it
>>> automaticaly. (cvs server and tomcat server in the same machine
>>> running on a debian testing)
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
RE: CVS with tomcat
Posted by Steph Richardson <st...@kvasar.com>.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html#Executing%20Manager%20Commands%20With%20Ant
> -----Original Message-----
> From: SuniX [mailto:kafchoice@yahoo.fr]
> Sent: Wednesday, August 20, 2003 1:37 PM
> To: Tomcat Users List
> Subject: Re: CVS with tomcat
>
>
> Thank you
> Can you give an example of ant source whick "reload and deploy" to a
> tomcat server? It can help me.
> Thanks
>
> Paul Sundling wrote:
> > I'm not sure why you'd want to have it deployed automatically. You can
> > probably do it with ant and cruise control?
> > With ant, you can create targets that reload your app or deploy it to a
> > tomcat server. That's what I do currently and it even integrates well
> > with eclipse!
> > If you really want to do it automatically I heard cruise control does
> > that sort of functionality, but I'm not sure about having it look for
> > changes in CVS.
> >
> > SuniX wrote:
> >
> >> Hi
> >> Is there a way to use CVS with tomcat ?
> >> i want my tomcat server to check a cvs project and deployed it
> >> automaticaly. (cvs server and tomcat server in the same machine
> >> running on a debian testing)
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
RE: CVS with tomcat
Posted by Steph Richardson <st...@kvasar.com>.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html#Executing%20Manager%20Commands%20With%20Ant
> -----Original Message-----
> From: SuniX [mailto:kafchoice@yahoo.fr]
> Sent: Wednesday, August 20, 2003 1:37 PM
> To: Tomcat Users List
> Subject: Re: CVS with tomcat
>
>
> Thank you
> Can you give an example of ant source whick "reload and deploy" to a
> tomcat server? It can help me.
> Thanks
>
> Paul Sundling wrote:
> > I'm not sure why you'd want to have it deployed automatically. You can
> > probably do it with ant and cruise control?
> > With ant, you can create targets that reload your app or deploy it to a
> > tomcat server. That's what I do currently and it even integrates well
> > with eclipse!
> > If you really want to do it automatically I heard cruise control does
> > that sort of functionality, but I'm not sure about having it look for
> > changes in CVS.
> >
> > SuniX wrote:
> >
> >> Hi
> >> Is there a way to use CVS with tomcat ?
> >> i want my tomcat server to check a cvs project and deployed it
> >> automaticaly. (cvs server and tomcat server in the same machine
> >> running on a debian testing)
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: CVS with tomcat
Posted by SuniX <ka...@yahoo.fr>.
Thank you
Can you give an example of ant source whick "reload and deploy" to a
tomcat server? It can help me.
Thanks
Paul Sundling wrote:
> I'm not sure why you'd want to have it deployed automatically. You can
> probably do it with ant and cruise control?
> With ant, you can create targets that reload your app or deploy it to a
> tomcat server. That's what I do currently and it even integrates well
> with eclipse!
> If you really want to do it automatically I heard cruise control does
> that sort of functionality, but I'm not sure about having it look for
> changes in CVS.
>
> SuniX wrote:
>
>> Hi
>> Is there a way to use CVS with tomcat ?
>> i want my tomcat server to check a cvs project and deployed it
>> automaticaly. (cvs server and tomcat server in the same machine
>> running on a debian testing)
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
Re: CVS with tomcat
Posted by SuniX <ka...@yahoo.fr>.
Thank you
Can you give an example of ant source whick "reload and deploy" to a
tomcat server? It can help me.
Thanks
Paul Sundling wrote:
> I'm not sure why you'd want to have it deployed automatically. You can
> probably do it with ant and cruise control?
> With ant, you can create targets that reload your app or deploy it to a
> tomcat server. That's what I do currently and it even integrates well
> with eclipse!
> If you really want to do it automatically I heard cruise control does
> that sort of functionality, but I'm not sure about having it look for
> changes in CVS.
>
> SuniX wrote:
>
>> Hi
>> Is there a way to use CVS with tomcat ?
>> i want my tomcat server to check a cvs project and deployed it
>> automaticaly. (cvs server and tomcat server in the same machine
>> running on a debian testing)
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Tomcat Userdatabase
Posted by Pablo Mayrgundter <pa...@reeltwo.com>.
you can set it in tomcat-users.xml, e.g.:
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="manager"/>
<role rolename="admin"/>
<user username="user" password="pass" roles="admin,manager"/>
</tomcat-users>
On Wednesday 20 August 2003 3:45 pm, Sjoerd van Leent wrote:
> I installed the last binary build on my system, however, I need access
> to the manager web application, but I don't know the username/password.
> Where can I find this, or what is this password in general?
>
> Sjoerd van Leent
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
--
Pablo Mayrgundter
Director of Applications and Services
www.reeltwo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Tomcat Userdatabase
Posted by Luke Vanderfluit <lu...@chipcity.com.au>.
Hi Sjoerd,
It's in /tomcat/conf/tomcat-users.xml
should look like this:
######################################
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="tomcat"/>
<role rolename="role1"/>
<role rolename="manager"/>
<role rolename="admin"/>
<user username="tomcat" password="tomcat"
roles="tomcat,admin,manager"/>
<user username="role1" password="tomcat" roles="role1"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
</tomcat-users>
#######################################
then restart tomcat and voila! you're in :-)
kind regards,
Luke
On Thu, 2003-08-21 at 05:15, Sjoerd van Leent wrote:
> I installed the last binary build on my system, however, I need access
> to the manager web application, but I don't know the username/password.
> Where can I find this, or what is this password in general?
>
> Sjoerd van Leent
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
--
====================================
"when my computer smiles, I'm happy"
====================================
Luke Vanderfluit
Mobile: 0421 276 282
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Tomcat Userdatabase
Posted by Pablo Mayrgundter <pa...@reeltwo.com>.
you can set it in tomcat-users.xml, e.g.:
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="manager"/>
<role rolename="admin"/>
<user username="user" password="pass" roles="admin,manager"/>
</tomcat-users>
On Wednesday 20 August 2003 3:45 pm, Sjoerd van Leent wrote:
> I installed the last binary build on my system, however, I need access
> to the manager web application, but I don't know the username/password.
> Where can I find this, or what is this password in general?
>
> Sjoerd van Leent
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
--
Pablo Mayrgundter
Director of Applications and Services
www.reeltwo.com
Re: Tomcat Userdatabase
Posted by Luke Vanderfluit <lu...@chipcity.com.au>.
Hi Sjoerd,
It's in /tomcat/conf/tomcat-users.xml
should look like this:
######################################
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="tomcat"/>
<role rolename="role1"/>
<role rolename="manager"/>
<role rolename="admin"/>
<user username="tomcat" password="tomcat"
roles="tomcat,admin,manager"/>
<user username="role1" password="tomcat" roles="role1"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
</tomcat-users>
#######################################
then restart tomcat and voila! you're in :-)
kind regards,
Luke
On Thu, 2003-08-21 at 05:15, Sjoerd van Leent wrote:
> I installed the last binary build on my system, however, I need access
> to the manager web application, but I don't know the username/password.
> Where can I find this, or what is this password in general?
>
> Sjoerd van Leent
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
--
====================================
"when my computer smiles, I'm happy"
====================================
Luke Vanderfluit
Mobile: 0421 276 282
Tomcat Userdatabase
Posted by Sjoerd van Leent <sv...@wanadoo.nl>.
I installed the last binary build on my system, however, I need access
to the manager web application, but I don't know the username/password.
Where can I find this, or what is this password in general?
Sjoerd van Leent
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Tomcat Userdatabase
Posted by Sjoerd van Leent <sv...@wanadoo.nl>.
I installed the last binary build on my system, however, I need access
to the manager web application, but I don't know the username/password.
Where can I find this, or what is this password in general?
Sjoerd van Leent
Re: CVS with tomcat
Posted by Paul Sundling <to...@tkz.net>.
I'm not sure why you'd want to have it deployed automatically. You can
probably do it with ant and cruise control?
With ant, you can create targets that reload your app or deploy it to a
tomcat server. That's what I do currently and it even integrates well
with eclipse!
If you really want to do it automatically I heard cruise control does
that sort of functionality, but I'm not sure about having it look for
changes in CVS.
SuniX wrote:
> Hi
> Is there a way to use CVS with tomcat ?
> i want my tomcat server to check a cvs project and deployed it
> automaticaly. (cvs server and tomcat server in the same machine
> running on a debian testing)
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
Re: CVS with tomcat
Posted by Paul Sundling <to...@tkz.net>.
I'm not sure why you'd want to have it deployed automatically. You can
probably do it with ant and cruise control?
With ant, you can create targets that reload your app or deploy it to a
tomcat server. That's what I do currently and it even integrates well
with eclipse!
If you really want to do it automatically I heard cruise control does
that sort of functionality, but I'm not sure about having it look for
changes in CVS.
SuniX wrote:
> Hi
> Is there a way to use CVS with tomcat ?
> i want my tomcat server to check a cvs project and deployed it
> automaticaly. (cvs server and tomcat server in the same machine
> running on a debian testing)
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org