continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Roussel" <d...@diroussel.xsmail.com>
Subject Re: clearcase and continuum
Date Wed, 13 Sep 2006 15:00:04 GMT
Ah! Got it, it was obvious after all.

I edited the build definition in the continuum web interface and changed
the POM filename to myVob\myProject\src\pom.xml

Sorry to bother you.

Continuum looks great by the way! :)


On Wed, 13 Sep 2006 15:23:35 +0100, continuum@diroussel.xsmail.com said:
> Hi,
> 
> I've been trying to setup continuum to build my maven 2 project from
> clearcase.  It took me a while to work out how get it working and I'm
> not quite there yet.  The last hurdle is the error "Could not find Maven
> project descriptor" which I believe is because continuum in looking for
> a pom.xml file in the top level of my view and not finding one.
> My pom.xml is actually in \myVob\myProject\src\pom.xml how can I tell
> continuum to look there rather than at the top level?
> 
> Thanks
> 
> David
> 
> 
> Appendix - What I've done so far
> ================================
> 
> First I changed my top level pom (I have a multi-module build) to
> include the scm element...
> 
>   <scm>
>     <connection>scm:clearcase:./configspecs/DEV_AAA-stream-latest.txt</connection>
>     <developerConnection>scm:clearcase:./configspecs/DEV_AAA-stream-latest.txt</developerConnection>
>   </scm>
> 
> Then I added configspecs/DEV_AAA-stream-latest.txt to clearcase, we've
> got a UCM setup here (what a pain!) so the config spec is...
> 
> element * CHECKEDOUT
> element "[213719983a1411d9942400025cdbaa4c=\myVob]/myProject/..."
> .../DEV_AAA/LATEST
> element "[213719983a1411d9942400025cdbaa4c=\myVob]/myProject/..."
> INIT_UCM_myProject_myProject_IMPORT -mkbranch DEV_AAA
> element "[213719983a1411d9942400025cdbaa4c=\myVob]/myProject/..."
> /main/0 -mkbranch DEV_AAA
> 
> element * /main/0 -ucm -nocheckout
> 
> load \myVob\myProject
> 
> 
> Then, I unziped continuum to a new folder.  Opened application.xml and
> enabled the file protocol. Started continuum via the .bat file.  Went to
> the web interface, set it up, logged in and went to Add Maven 2 project. 
> Now before I added the top level pom.xml, I checked it out and commented
> out all the modules, but did not check it in.  This was to work around
> the default behaviour of adding a continuum build for each module (any
> way to disable this?).  Then I added the pom.xml using a file:// url.
> After it was added I edited the build via the web interface and removed
> --no-recurse option and added the -X option (-X adds extra debug info
> right?).
> 
> Then I click build now.  The view updates ok (as I've set my
> .scm/clearcase-settings.xml file correctly), but then the pom.xml can't
> be found....

Mime
View raw message