Hi,

I'm new here.  I've never made any contributions to the project, but I'm
a big fan of Ant and NAnt.

For my stuff at work, I've added some MKS related tasks and updated the
BaseTask to allow users to automatically disconnect after each MKS task.
This is useful for places where you don't want your NAnt machine holding
onto an MKS license after doing its work.

Anyway, I've attached the new/updated files.  They should be placed as
follows:
src/Tasks/Mks
  CheckinTask.cs
  CheckoutTask.cs
  BaseTask.cs

tests/Tasks/Mks (new directory)
  CheckinTaskTest.cs
  CheckoutTaskTest.cs

The changes are as follows:

1. Updated BaseTask (and therefore all sub-tasks) to accept the
"autodisconnect" paramter which has values of "true" or "false".  If set
to "true", then the connection will be dropped after executing the task.

2. Added task "mkscheckin".  Additional properties (besides those in the
base class) are: "description", "cpid", and "member".  "description" is
a textual description that is used to explain the new revision.  "cpid"
has to do with change packages, which I don't really understand, but MKS
seems to really care about them a lot so I included them.  "member" is
the full path to the item that is being checked in.

3. Added task "mkscheckout". Additional properties (besides those in the
base class) are: "revision", "lock", "member", "cpid".  "revision"
allows you to specify a specific revision to check out.  "lock"
indicates whether or not to lock the member on checkout.  "cpid" and
"member" are the same as mkscheckin.

The unit tests aren't spectacular, but they did help me with debugging.
I've tested the tasks on my machine and they work fine, but MKS can be a
tricky beast with strange behavior from one machine to the next.

If there is anything else I need to do help with inclusion into the
NAntContrib project, please let me know.

Thanks for such a great project!
Micah


=================================
Micah Z. Wedemeyer
Research Scientist I, ELSYS
Georgia Tech Research Institute
Atlanta, GA 30332
Phone 404.407.6754 <-- Note the new phone!
Fax 404.407.9754
=================================

Attachment: CheckoutTask.cs
Description: CheckoutTask.cs

Attachment: BaseTask.cs
Description: BaseTask.cs

Attachment: CheckinTask.cs
Description: CheckinTask.cs

Attachment: CheckoutTaskTest.cs
Description: CheckoutTaskTest.cs

Attachment: CheckinTaskTest.cs
Description: CheckinTaskTest.cs

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer

Reply via email to