# ant-dev mailing list archives

##### Site index · List index
Message view
Top
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 3219] - pvcs task does not create folders
Date Wed, 12 Jun 2002 14:42:07 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3219>.
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3219

pvcs task does not create folders

To clarify for Stefan: the pvcs task has 2 steps for a checkout 1) it asks pvcs
for a list of all the files in a project, 2) is iterates through the results and
does a GET for each one.*  The results of step 1) are lines the look like this
(for me):

"P:\pvcs\develop\dev_db\archives\Custom Shared Components\Java\SIC\framework\lib
\turbine-pool.jar_v(C:\safti\lib\turbine-pool.jar)"

plus some other gunk.

the two things that can vary are the initial 1 or 2 characters of a line,
originally just / or \\ but I added in the ability to recognize any string with
the linestart attribute and set it to "P, which in xml is &quot;P.  The archive
suffix at my company is _v, but the original code had it as _arc, the default
which is retained for backwards compatiblity, and some people use -arc.  So the
filenameFormat is {0}_arc({1}) and MessageFormat uses that to parse the lines above.

So in otherwords, the default is:

P:\path\to\archive_arc(workfile\path)

and the slashes can be either forward or backward, it's irrelevant.

If your repository is on a drive other than P:, change lineStart.  If your
repository suffix is something other than _arc, change filenameFormat.

Clear as mud?

*Don't ask me why pvcs is this way.  I use it, but it's by far the clunkiest
version control system I've ever used.

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>