Hi Mark, the value should be a directory name.  I have updated the 
documentation for the override directory and have added an error message to 
make that more clear.  Let me know if that clears things up.


Cheers,

Clayton


-----Original Message-----
From:   Butler, Mark A Mr IPI Gramm Tech [mailto:[EMAIL PROTECTED]
Sent:   Wed 12/8/2004 3:10 PM
To:     NAnt Users mailing list
Cc:     
Subject:        [Nant-users] Referencing a subfolder using cvs-update task
String octl-src\DotNetFramework does not match expression
^[A-Za-z0-9][A-Za-z0-9._\-]*$.

Why does that string not match?

Using the module attribute of the cvs-update task.

Assembly: NAnt.SourceControlTasks (0.85.1766.0)

This is what I've got:
In the build.properties file:
  <property name="cvs.backup.dir" value="${project.dir}\CvsSrcBackUp"/>
  <property name="cvs.user" value="dudename"/>
  <property name="cvs.dir" value="/home/cvs"/>
  <property name="cvs.host" value="codeplace.com"/>
  <property name="cvs.root"
value=":ext:[EMAIL PROTECTED]:${cvs.dir}"/>
  <property name="cvs.module" value="octl-src\DotNetFramework"/>
  <property name="cvs.passfile" value="C:\Documents and
Settings\dudename\.ssh\id_rsa"/>

In the build file:

    <cvs-update destination="${project.dir}" 
                cvsroot="${cvs.root}" 
                module="${cvs.module}" 
                verbose="true" 
                cvsrsh="ssh" 
                builddirs="true" 
                quiet="true" 
                passfile="${cvs.passfile}" 
                usesharpcvslib="false" >
    </cvs-update>


This might have something to do with the overridedir attribute. So...

I see in the help example:
overridedir="replacement_for_module_directory_name"

Using my above example, what goes in
"replacement_for_module_directory_name"

Thanks,

MArk B.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to