I'm not sure when I made the change, but you can change the delimiter as
follows (it may only work against CVS HEAD)

scm:cvs:pserver:[EMAIL PROTECTED]:/home/cvspublic:maven:anoncvs

is equivalent to

scm|cvs|pserver|[EMAIL PROTECTED]|/home/cvspublic|maven|anoncvs

This will allow you to choose an appropriate delimiter for the given
content.

----- Original Message -----
From: "Ben Walding" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Saturday, March 22, 2003 9:16 AM
Subject: Re: subversion


> I don't believe subversion is supported (definitely not tested!).
>
> If you are looking to fix this, take a look at the changelog plugin tests.
> I recently added a test suite to ensure that we don't get regressions on
the
> connection string parsing.  You should be able to add additional
subversion
> connection strings and take a look at what is happening.
>
> If you submit a patch / submit some expected input / output scenarios, we
> can improve subversion support.
>
> Cheers,
>
> Ben
> ----- Original Message -----
> From: "Will Holcomb" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, March 22, 2003 8:18 AM
> Subject: subversion
>
>
> > I was just wondering if anyone else here was running maven b8 on a
project
> > in subversion. I put the suggested properties in my project.properties
> > from the changelog plugin, and it makes it past that point, but when it
> > gets to the actual process of putting everything together and I get:
> >
> > xdoc:generate-from-pom:
> >     [echo] Generating xdocs from POM ...
> >
> > BUILD FAILED
> > org.apache.commons.jelly.JellyTagException: null:320:9: <velocity:merge>
> > Invocation of method 'getCvsRoot' in  class
> > org.apache.maven.project.Repository threw exception class
> > java.lang.StringIndexOutOfBoundsException : String index out of
range: -3
> >   at
>
org.apache.commons.jelly.tags.velocity.MergeTag.mergeTemplate(MergeTag.java:
> 239)
> >   at
> org.apache.commons.jelly.tags.velocity.MergeTag.doTag(MergeTag.java:108)
> >   at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
> >   at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
> >   at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
> >   at
> org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:145)
> >   at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
> >   at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
> >
> > From looking at the code the problem is with:
> >
> > getConnection().substring( 0, connection.lastIndexOf( ":" ) ).substring(
> 7 );
> >
> > Which given the connection listed in the maven project.xml:
> >
> > scm:cvs:pserver:[EMAIL PROTECTED]:/home/cvspublic:maven:anoncvs
> >
> > Seems like reasonable, but given a subversion url like:
> >
> > http://honors.tntech.edu/svn/projects/play/
> >
> > Jumps off the end of the string... I don't really know enough about the
> > different ways the cvs and subversion resource to suggest a fix
though...
> >
> > Just commenting the connection out will take care of getting it to
build,
> > but it leaves some rather interesting comments in the anonymous cvs
> > section.
> >
> > Something that would be useful is to put an #if($conn) block around the
> > anonymous cvs section in:
> >
> >
maven/src/plugins-build/xdoc/src/plugin-resources/templates/cvs-usage.xml
> >
> > Will
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to