ant-user mailing list archives

blackwater dev <blackwaterdev@gmail.com> writes:
> Yes but this still creates the pollywog main directory...for example,
> I have a project in cvs named pollywog. I want to check out it's
> contents to the root of apache so I would use:
>
> <cvs
> cvsRoot="/home/dev/"
> package="pollywog"
> dest="httpd/htdocs"
> command="checkout -d pollywog"/>
>
>
> After this checkout, I have httpd/htdocs/pollywog which is what I
> don't want...I don't want the top level pollywog directory, just want
> all if it's contents checked out to htdocs.
Sorry - my answer was silly, I have not realized it changes nothing.
You may create a CVS alias in CVSROOT/modules like this:
pollywog-htdocs -d htdocs pollywog
Now you have to write:
<cvs
cvsRoot="/home/dev/"
package="pollywog-htdocs"
dest="httpd"/>
If it does not suit you neither, you have to list the content of 'pollywog' in
a CVS alias (suppose pollywog contains directories A, B and C):
pollywog-content -a pollywog-A
pollywog-B
pollywog-C
pollywog-A -d A pollywog/A
pollywog-B -d B pollywog/A
pollywog-C -d C pollywog/A
Now the following command will work as you expects (I hope so):
<cvs
cvsRoot="/home/dev/"
package="pollywog-content"
dest="httpd/htdocs"/>
But of course, you have maintenance to do on CVSROOT/modules when a directory
appears or goes out. I have no better solution to propose you.
For more details, please report the CVS documentation about CVSROOT/modules.
Regards
--
Yves Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org