maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sarmahdi <>
Subject RE: maven: scm: clearcase URL help
Date Wed, 22 Feb 2012 16:14:22 GMT


I changed my viewName to : the remotepath, changed my configspec to "load
/Comp_Local_finApp_vob" (without quotes ofcourse), my vobName:

kept the stream name as it was the same.

I also changed my configspec to the remote path to my UCM generated
config_spec file
as in :


I also added "Username_Local_finApp_Dev.vws" in the viewName at the end to
give it a .vws directory to point to
so for viewName I tried:
tried them both alternatively and Both didnt work

for my configSpec part
1)load /Comp_Local_finApp_vob
(made sure it exists on the remote path and I can browse to this directory
as well)
tried them both alternatively and Both didnt work

But all of them gave me the same exception of

SO... i looked into the exception more clearly: 

here it is my research on the maven scm provider code :

the exception to me comes like this :

Caused by: java.lang.StringIndexOutOfBoundsException: String index out of
range: -4
	at java.lang.String.substring(
	at java.lang.String.substring(

I went into the 

and it is trying to substring with int 4

scmUrl = scmUrl.substring( 4 ); // which should give it substring after

now this line is the one giving me the exception at substring(4). and with 
"String index out of range: -4 "
it seems that it is an empty string (they didnt check for an empty string or
null string).

NOW! :( it seems the issue is some where else and not with any of the
parameters that I am giving (at least they are not the issue here for now)

I have no idea how to solve this.

Maven was going very easy with me uptill now, i think it is showing me some
pain now....

I will appreciate any comment or suggestions. (as I badly need some)
Thanks for the help and bearing with me. (esp with my lack of knowledge in
maven as well as clearcase)



View this message in context:
Sent from the Maven - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message