You are viewing a plain text version of this content. The canonical link for it is here.
Posted to alexandria-dev@jakarta.apache.org by Cynthia He <ch...@Insight.com> on 2001/08/09 19:09:23 UTC

password for cvs pserver not in build.cvs.xml

Thanks for all the help I got from my previous question about lcp.bat.  Now
I got pass thru that problem, I am running into a new problem.

I added my own repository xml file, pointing to my cvs pserver, with
password information.  But the build.cvs.xml generated by Alexandria does
not have the password in it, which results in error below:

cls.:
      [cvs] cvs checkout: authorization failed: server max2-linux rejected
access to /usr/local/cvsroot for user che
      [cvs] cvs checkout: used empty password; try "cvs login" with a real
password


Here is what my repository xml looks like.  Do you see anything wrong here?

<?xml version="1.0" encoding="ISO-8859-1"?>
<repository name="CLS" type="cvs">
	<title>CLS</title>
	<root>:pserver:che@max2-linux:/usr/local/cvsroot</root>
	<password>mypassword</password>
	<cvsweb>http://max2-linux/cvsweb/cvsweb.cgi/</cvsweb>
	<home-page>http://max2/</home-page>
	<description/>
</repository>


And here is the build.cvs.xml file:

<?xml version="1.0" encoding="UTF-8"?>
<project default="all" name="Alexandria">
    <property file="etc/AlexandriaResources.properties"/>
    <taskdef classname="org.apache.tools.ant.taskdefs.ChangeLog"
name="clog"/>
    <taskdef classname="org.apache.alexandria.AggregateTests"
name="aggtests"/>
    <taskdef classname="org.apache.tools.ant.xtaskdefs.XSLTProcess"
name="xstyle"/>
    <target name="all" depends="cls."/>
    <target name="cls.">
        <mkdir dir="${content.dir}/cvs/cls/"/>
        <cvs tag="" quiet="true" package="cls"
dest="${content.dir}/cvs/cls/"
cvsRoot=":pserver:che@max2-linux:/usr/local/cvsroot"/>
        <clog userlist="etc/Users.properties"
output="${content.dir}/cvs/cls//cls/ChangeLog"
basedir="${content.dir}/cvs/cls//cls"/>
        <xstyle out="${content.dir}/cvs/cls//cls/ChangeLog.html"
style="xsl/clog.xsl" in="${content.dir}/cvs/cls//cls/ChangeLog">
            <param expression="'cls'" name="module"/>
            <param expression="'http://max2-linux/cvsweb/cvsweb.cgi/'"
name="cvsweb"/>
        </xstyle>
    </target>
</project>


Thanks.

Cynthia