DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35044>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35044

           Summary: ccmcheckintask requires a file to work
           Product: Ant
           Version: 1.6.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optional SCM tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: [EMAIL PROTECTED]


>From my understanding, the ccmcheckintask is supposed to check in a task. To do
so, it requires a task id or "default". The point is: This task complains about
a missing file or fileset and throws an exception. 
Looking at the source code, the execute method used by this task found in the
class org.apache.tools.ant.taskdefs.optional.ccm.CCMCheck contains the bug: It
checks for a file or filset regardless of the ccm command given. A special
condition has to be added to avoid this check in case the command is
"COMMAND_CHECKIN". Even better would be changing the architecture of the classes
in this package to allow overriding the execute method instead of adding tons of
conditions.
I found the bug using Ant 1.6.2. I investigated the sources of that version as
well as the HEAD version of each source file. I would like to do these changes
by myself but I am afraid a little bit of using the cvs repository.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to