Hello. I am having an issue with Maven SCM checking in multiple files
during release:prepare phase. It seems to issue the right command but
only the first file is checked in. If I run this command from the
command line it works just fine. The next step that fails is when it
tried to re-checkout the file to increment version and re-add snapshot. 

I have already stepped through this in the debugger but can't seem to
find the issue. Please find the output to console below:

[DEBUG] executing checkin command...
[DEBUG] Executing:
/view/jhirn_ETS_FIRMSOFT6.0/cc/ETS_FIRMSOFT_SOURCE/FIRMSOFT>>cleartool
ci -c "[maven-release-plugin] prepare release firmsoft_project-6.0.0.17"
/view/jhirn_ETS_FIRMSOFT6.0/cc/ETS_FIRMSOFT_SOURCE/FIRMSOFT/pom.xml
/view/jhirn_ETS_FIRMSOFT6.0/cc/ETS_FIRMSOFT_SOURCE/FIRMSOFT/firmsoft-jar
/pom.xml
/view/jhirn_ETS_FIRMSOFT6.0/cc/ETS_FIRMSOFT_SOURCE/FIRMSOFT/firmsoft-war
/pom.xml
[DEBUG] Checked in
"/view/jhirn_ETS_FIRMSOFT6.0/cc/ETS_FIRMSOFT_SOURCE/FIRMSOFT/pom.xml"
version "/main/jhirn_ETS_FIRMSOFT6.0/81".
[DEBUG]   Attached activities

I have also had other issues with cleartool, specifically with checkout
where the ClearCaseEditCommand.executeEditCommand() fails. This happens
at line 58 in when the CommandLineUtils.executeCommandLine() call
returns 141 as an exit code even though the file was checked out
successfully. By stepping through slowly in the debugger and giving
cleartool more time to finish I have gotten around this problem. I have
since used a wrapper script to spoof the return value. I do not have
this problem on windows, only linux so I assume it's cleartool on linux
but it could be plexus. 

What Linux version of cleartool is everyone else using? I am using
7.0.0.0 (Fri Apr 21 08:25:19 EDT 2006).

Thanks for anyone who can help me. This is keeping my organization from
moving forward with Maven and has been a throne in the project for
months now. We may end up having to write our own SCM provider. 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to