continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Venisse <emman...@venisse.net>
Subject Re: How to set scm value in pom for Clearcase?
Date Tue, 20 Jun 2006 14:22:32 GMT


Michael Waluk a écrit :
> Thanks for your help, it was the albd_server.  I had to reinstall Clearcase
> to get it right.
> 
> I have a top-level project that contains two modules.  I'm having 2 
> problems
> still.  I hope it is not too much to ask here...
> 
> 1. When I added my m2 top-level project it automatically add the 2 modules
> as projects.  That is fine, but since I use the same view for them all it
> pulls 3 copies of the view and tries to build them individually.  I really
> only want the top one built - which will build the dependent modules first
> as usual.  How can that be done?  Is it as simple as deleting the 2 module
> projects from continuum?  Or should I not use the URL to add the pom and
> browse to the top-level project when adding it to continuum?

If you want only one project (the top one), you can remove other children projects

> 
> 2. When Continuum builds the project I get the error below.  It's likely 
> due
> to the view starting with an empty parent directory.  This parent directory
> holds my top-level project's directory and some other projects my 
> company is
> working on.  Does Continuum require the top-level in the view to contain 
> the
> project that I want built?  Or is there some way to specify where it is
> within the view?  Or maybe I have to find a clearcase-specific way to get
> the view to start at that point (or create a new Clearcase project that 
> only
> contains my Maven project)?

You must have a pom in the root directory.

> 
> org.apache.maven.continuum.execution.ContinuumBuildExecutorException: Could
> not find Maven project descriptor.
> at
> org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.updateProjectFromCheckOut

> 
> (MavenTwoBuildExecutor.java:108)
> 
> I really appreciate any help you can give.  I'll try a new email if this is
> too hard to notice.
> 
> - Michael
> 
> 
> On 6/16/06, Emmanuel Venisse <emmanuel@venisse.net> wrote:
>>
>> I don't know Clearcase, but it seems it can't contact the server :
>>
>> albd_contact call failed: RPC: Unable to receive; errno = [WINSOCK]
>> Connection reset by peer
>>
>> cleartool: Error: Unable to contact albd_server on host 'xpw-mwaluk1'
>>
>> cleartool: Error: Cannot bind an admin_server handle on "xpw-mwaluk1":
>> ClearCase object not found.
>>
>>
>> Emmanuel
>>
>> Michael Waluk a écrit :
>> > Hi,
>> > I'm trying to use Continuum 1.0.3 with Clearcase.  In my pom.xml I have
>> > specified the location of my config spec like this:
>> >
>> >
>> <scm><connection>scm:clearcase:\\Xpw-rebuild101\rebuild_delta_6.1_int.vws\config_spec</connection></scm>

>>
>> >
>> >
>> > This looks like the example at
>> > http://maven.apache.org/scm/clearcase.html and
>> > it is the dynamic config spec on the VOB server.   I've also tried
>> creating
>> > a .  But when Continuum tries to build it looks like it is trying to
>> > connect
>> > to the very same machine I am running it on.  Is that an indication 
>> that
>> it
>> > doesn't like the value I gave it in the pom.xml?  Should it start with
>> > file:///Xpw-rebuild101 or something like that in URL format (it's
>> > windows if
>> > that matters)?
>> >
>> > I see in the console that it is trying this:
>> > cleartool mkview -snapshot -tag Michael.Waluk-xpw-mwaluk1-maven-13-vws
>> > \\xpw-mwaluk1\viewstore\Michael.Waluk-xpw-mwaluk1-maven-13.vws<
>> file://xpw-mwaluk1/viewstore/Michael.Waluk-xpw-mwaluk1-maven-13.vws
>> >C:\java_sw\continuum-
>> >
>> > 1.0.3\apps\continuum\working-di
>> > rectory\13
>> >
>> > I tried giving another location as the view-name like this too:
>> > <scm><connection>scm:clearcase:*rebuild_delta_6.1_int.vws:*
>> >
>> \\Xpw-rebuild101\rebuild_delta_6.1_int.vws\config_spec</connection></scm>
>> > but it had no effect.
>> >
>> > I have also tried placing a clearcase-settings.xml file in my home
>> > directory's .scm directory.  It contains this:
>> >
>> > <clearcase-settings>
>> >    <viewstore>\\xpw-rebuild101\viewstore</viewstore>
>> > </clearcase-settings>
>> >
>> > I figured this might force Continuum to work there, but it didn't 
>> make a
>> > difference.  I get the error below no matter what I put in the pom it
>> > seems.  I would love to use Continuum with Clearcase (we use UCM VOBs)
>> but
>> > maybe it isn't fully implemented for Clearcase yet?  Any help will be
>> > greatly appreciated.
>> >
>> > Thanks!
>> > - Michael
>> >
>> >
>> >
>> **************************************************************************** 
>>
>> >
>> >
>> > Build Error:
>> >
>> >
>> **************************************************************************** 
>>
>> >
>> >
>> > Provider message: The cleartool command failed.
>> >
>> > Command output:
>> >
>> >
>> ------------------------------------------------------------------------------- 
>>
>> >
>> >
>> > albd_contact call failed: RPC: Unable to receive; errno = [WINSOCK]
>> > Connection reset by peer
>> >
>> > cleartool: Error: Unable to contact albd_server on host 'xpw-mwaluk1'
>> >
>> > cleartool: Error: Cannot bind an admin_server handle on "xpw-mwaluk1":
>> > ClearCase object not found.
>> >
>> > cleartool: Error: Unable to create view "*
>> > \\xpw-mwaluk1\viewstore\Michael.Waluk-xpw-mwaluk1-maven-1.vws*<
>> file://xpw-mwaluk1/viewstore/Michael.Waluk-xpw-mwaluk1-maven-1.vws>
>> >
>> > ".
>> >
>> >
>> ------------------------------------------------------------------------------- 
>>
>> >
>> >
>>
>>
> 


Mime
View raw message