Wim Deblauwe a écrit :
What should I try to implement first?
I think update command should be the first. I don't know if clearcase have this mechanism
or if it's only a checkout, but our update command run too a changelog for obtain all
update info. You can look at cvs or svn providers for sample.
I see that checkout and changelog is implemented. Should I try:
- adding a new file (add method, but which one?)
protected ScmResult executeAddCommand( ScmProviderRepository repo, ScmFileSet
fileSet, String message, boolean binary )
throws ScmException
- tag ( also 2 methods) -> I suppose this is a label in clearcase
yes, it's a label
- checkin (also 2 methods, and they even have different case!)
protected abstract CheckInScmResult executeCheckInCommand( ScmProviderRepository
repository, ScmFileSet fileSet, String message, String tag )
throws ScmException;
I'm not sure you need to override default implementation of other method. But in case of
clearcase, perhaps yes, because I suppose you need to obtain some parameter on connection
type or other.
You need to implement too the remove command.
If you implement all this methods, clearcase will be supported too in maven2 release
component too.
Emanuel
regards,
Wim
2005/11/11, Wim Deblauwe <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>:
Hey,
found the pom.xml, it was right where it should be :)
At work, we are using base UCM with dynamic views (not snapshot
views). I'm currently at home, so I can't test anything yet. But I
will first try to get to know the code. I does not seem to hard at
first glance.
I know that luntbuild has support for ClearCase. Have you guys ever
looked into that code
(http://fisheye.cenqua.com/viewrep/luntbuild/luntbuild/src/com/luntsys/luntbuild/vcs/BaseClearcaseAdaptor.java
<http://fisheye.cenqua.com/viewrep/luntbuild/luntbuild/src/com/luntsys/luntbuild/vcs/BaseClearcaseAdaptor.java>)?
regards,
Wim
2005/11/11, Emmanuel Venisse <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>:
Wim Deblauwe a écrit :
Hi,
I just checkout everything from the scm plugin (using
IntelliJ, I'll see
if I need tortoiseSVN). Before I change anything, I want to
try to build
the things I will change, normally
maven-scm-provider-clearcase. How do
I build? I suppose I need Maven 2 to build, but I can't seem
to find a
pom.xml.
mvn clean install in maven-scm-providers/maven-provider-clearcase
pom.xml is in this directory, look at
http://svn.apache.org/viewcvs.cgi/maven/scm/trunk/maven-scm-providers/maven-scm-provider-clearcase/
What is your clearcase connection type?
Emmanuel