continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Venisse <emman...@venisse.net>
Subject Re: continuum with clearcase
Date Thu, 02 Mar 2006 17:26:30 GMT
1- your scm urls are wrong, they must start with 'scm:' and not 'scm|'

2- I'm not sure you need to create a view by module, but i don't know because i've never use

clearcase. Check your scm urls in sub-modules by running 'mvn help:effective-pom'.

Emmanuel

raghurajan.x.gurunathan@jpmchase.com a écrit :
> Thanks for your reply,
> 
> Yes my working directory for sub modules are empty
> 
> I just have my scm url only at my parent module like here in my directory 
> structure i have it in Modules,Module A & Module B pom.xml
> 
> so when i added this has maven2 project  and pointed the pom url to 
> Modules-pom.url,  which looks like
> 
>   <scm>
>  <connection>scm|clearcase|${scm.my.view}|${scm.my.viewPath}</connection>
>   </scm>
> 
> ;;;;;;;;;;;;;;;;;;;
> 
> <modules>
>         <module>ModuleA</module>
>         <module>ModuleB</module>
> </modules>
> 
> 
> My vob are loaded fine for Modules-pom.xml, then as i have Module A&B as 
> child here then it tries to load Module A & B now, where i have entry like
> 
> <scm>
>  <connection>scm|clearcase|${scm.my.view}|${scm.my.viewPath}</connection>
>   </scm>
> 
> so it tries to load the same view again and errors out with view already 
> exists, but created all modules with empty working directory. only the top 
> one has all soucecodes in it, and i was able to do build for this one(ie. 
> Modules) with no problem but when it tried to build Module A / B then its 
> failed with the error, it could not check out files coz view is already 
> exists
> 
> then i changed my Modules A & B pom as
> <scm>
>     <connection>scm|clearcase</connection>
>   </scm>
> 
> This time while creating project it didn't complain, but it just created 
> empty directory for Modules A & B  then when i tried to build only either 
> A / B then it throws error
> Exception:
> Cannot checkout sources.
> The scm url must be on the form 'scm:' where  can be either ':' or '|'.
> 
> is there workaround for this problem??
> 
> or is it something like i need to create a seperate view for my modules A 
> & B to work with them??
> 
> Thanks,
> Raghu 
> 
> 
> 
> 
> 
> Emmanuel Venisse <emmanuel@venisse.net>
> 03/02/2006 07:37 AM
> Please respond to continuum-users
> 
>  
>         To:     continuum-users@maven.apache.org
>         cc: 
>         Subject:        Re: continuum with clearcase
> 
> 
> 
> 
> raghurajan.x.gurunathan@jpmchase.com a écrit :
> 
>>Hi All
>>
>>How multi module maven2 project works with continuum(either 1.0.2/1.0.3 
>>Snapshot) and clearcase
>>
>>i have my project in clearcase has
>>
>>Modules
>>    + Module A
>>         +SubModuleA
>>                -pom.xml
>>          +SubModuleB
>>                -pom.xml
>>      -pom.xml
>>     + Module B
>>          +SubModuleA
>>                -pom.xml
>>           +SubModuleB
>>                 -pom.xml
>>       - pom.xml
>>- pom.xml
>>
>>Currently i'm using continuum 1.0.3 snapshot,
>>
>>Then when i added MyProject has maven2 project its loaded all my modules 
> 
> 
>>and submodules as seperate project, then i also removed -N option -  so 
>>far happy.
> 
> 
> cool.
> 
> 
>>But when i wanted to build only one module (like either Module A or 
>>SubModule of A or SubModule of B like that) its not building for me coz 
> 
> it 
> 
>>doesn't find any source for them, when i see the working copy for these 
>>only my top project that is Modules has all the source codes, but not 
> 
> all 
> 
>>other modules.
> 
> 
> so your working directories for submodules are totally empty, right?
> 
> Do you have declare a <scm> in all your modules or only in parent? With 
> your directory structure, 
> you can declare it only in parent.
> 
> You can check the scm url of your modules by running this:
> mvn help:effective-pom
> 
> Are your modules scmUrls correct?
> 
> Emmanuel
> 
>>So is there something i'm missing here? 
>>
>>
>>
>>Thanks,
>>Raghu 
>>
> 
> 
> 
> 
> 


Mime
View raw message