ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ballment, John" <John_Ballm...@pacificnational.com.au>
Subject RE: Bug 46326 - StarTeam: Use Cache Agent for Checkouts
Date Tue, 23 Jun 2009 01:12:08 GMT
Hi Paul,

 

I've attached the new code that includes the new interface
StarTeamLogOnProvider and three implementations classes
StarTeamDefaultLogOn, StarTeamAutoLogOn and StarTeamEncryptLogOn.  This
interface should allow developers to create their own log on mechanisms
and plug them into the ANT class path without having to add them to the
ANT source/distro.

 

I've attached the source within a zip file (the zip file has a password
of "starteam" otherwise my firewall will strip out all the code) and
I've attached the compile ant-starteam.jar (again within a zip file with
the password "starteam") for ANT 1.7.0.

 

Regards, 

______________________________________________  

Pacific National
John Ballment BIT(IS) 
Senior Systems Analyst 

john_ballment@pacificnational.com.au
<mailto:john_ballment@pacificnational.com.au> 
Phone: (02) 9893 2618 
Fax: (02) 9893 2698 
Mobile: 0418 740 871 
http://www.pacificnational.com.au/

Level 4, 2-12 Macquarie Street
Parramatta NSW 2150 Australia

________________________________

From: Ballment, John 
Sent: Tuesday, 16 June 2009 11:51
To: 'Paul Coste'
Subject: RE: Bug 46326 - StarTeam: Use Cache Agent for Checkouts

 

Hi Paul,

 

That cool.  Just to let you know, I've just gone back and read the email
from Joe Schulz and it states:

 

As for using my EncryptPassword utility, you are definitely more than
welcome to call it within the ANT tasks.  If you'd like, I can repackage
the required classes in any way that would facilitate the work you're
doing.  Just let me know if there is anything I can do to help.

 

If I read this correctly he's allowing us to call his package from ANT
and if any repackaging is required he will do it for us but he is not
making the code available for addition to ANT/apache code base.

 

In saying this I've created an extendable Interface that allows
different StarTeam log on methods to be plugged into classpath
dynamically.  I should have this ready in the next day or so.

 

Regards, 

______________________________________________  

Pacific National
John Ballment BIT(IS) 
Senior Systems Analyst 

john_ballment@pacificnational.com.au
<mailto:john_ballment@pacificnational.com.au> 
Phone: (02) 9893 2618 
Fax: (02) 9893 2698 
Mobile: 0418 740 871 
http://www.pacificnational.com.au/

Level 4, 2-12 Macquarie Street
Parramatta NSW 2150 Australia

________________________________

From: Paul Coste [mailto:paulyphonica@gmail.com] 
Sent: Tuesday, 16 June 2009 00:09
To: Ballment, John
Subject: Re: Bug 46326 - StarTeam: Use Cache Agent for Checkouts

 

Hi John,

Unfortunately the person who was testing it no longer works for us and
I've been so busy I haven't had a chance to pick this up again.  But it
is still on my radar.

Paul

On Mon, Jun 15, 2009 at 3:07 AM, Ballment, John <
John_Ballment@pacificnational.com.au> wrote:

Paul,

 

Sorry I haven't got back to you on this one, how are you going with the
enhancement overall?  Could you please an update to dev@ant.apache.org
with what you have tested successfully.  

 

What I'd like to see is Borland make the password encryption routine
used by BCO available within the SDK removing the need for a separate
package altogether.  I'll look at integrating the current mechanism as
soon as possible.

 

Regards, 

______________________________________________  

Pacific National
John Ballment BIT(IS) 
Senior Systems Analyst 

john_ballment@pacificnational.com.au
<mailto:john_ballment@pacificnational.com.au> 

Phone: (02) 9893 2618 
Fax: (02) 9893 2698 
Mobile: 0418 740 871 

http://www.pacificnational.com.au/

Level 4, 2-12 Macquarie Street
Parramatta NSW 2150 Australia

________________________________

From: Paul Coste [mailto:paulyphonica@gmail.com] 
Sent: Wednesday, 22 April 2009 23:14


To: Ballment, John
Subject: Re: Bug 46326 - StarTeam: Use Cache Agent for Checkouts

 

Hi John,

Okay.  While I don't necessary think it would be a huge issue to include
the code as-is (I've simply changed the EncryptPassword.cmd file to use
ant.jar, and changed the package name of the class), it might be biting
off more than we should chew to try and create a generic Ant task at
this point -- I would think it could potentially complicate the approval
process for getting this code out there.  It is a worthy idea though.
Do you think this would make it complicated to get the StarTeam tasks
updated if we had a generic interface for encryption?  We've actually
already created generic password encryption and decryption tasks for Ant
properties to encode in a file, which is what we have been using as a
workaround for StarTeam Ant task encryption, so I could take a look to
see if they are appropriate as a starting point for this.  The only
thing I found in the core tasks was GenKey but this didn't seem like it
would be appropriate at first glance.

One more question about your comment: do you see it being problematic to
have to launch a separate command to encrypt the password?  I can't
think of any other good way to do this.

Regards,
Paul


Ballment, John wrote: 

Hi Paul

Joe has given me permission to add th code to the ant source. I'm not
sure whether it would be a good idea as we'd need to create a task to
encypt the password to a file. Also from memory you still need the
starteam api to use the encrption routine therefore it couldn't be used
as a generic ant task. What may be better is to create a generic
interface class that could be used by any ant task and then add an
implementation based on Joe's code.

Regards

John
John Ballment
Senior Systems Analyst | Pacific National

P. 02 9893 2618
M. 0418 740 871
E. john_ballment@pacificnational.com.au

----- Original Message -----
From: Paul Coste <paulyphonica@gmail.com>
<mailto:paulyphonica@gmail.com> 
To: Ballment, John
Sent: Wed Apr 22 11:43:53 2009
Subject: Re: Bug 46326 - StarTeam: Use Cache Agent for Checkouts

Thanks John,

Perhaps I could get Borland representatives to vote on it themselves,
and perhaps we could post in newsgroups.  I'll work on starting a
campaign once we've got the final features settled.  First, however, I
will need to replace the EncryptPassword class with one that can be
included in the Ant starteam package and/or get Joe Schulz/Borland to
grant permission to use this code.  I've already done the changes on my
side and have passed this onto a developer to try it out.

Some more feedback -- there is one line of code which will not compile
in versions of StarTeam SDK prior to 10.1, which means 2006 (9.0) and
the first release of 2008 (10.0) are not supported.  There may need to
be some reflection API used here if we are going to try and use
CheckoutManager.  While version 8.0 is already de-supported, we still
have a little more time before 9.0 is de-supported, so it might be worth
looking into this.

Another thing I thought we might want to add is the (selectable) Atomic
Checkin... which is now supported by the SDK.  I haven't looked into
this but my assumption is that the current code would not result in an
atomic check-in.  In a way, it is too bad that optional tasks aren't
included in separate jars.  This might help individual task packages to
be released more easily.

Thanks again for all of your help.

Paul

Ballment, John wrote:

        Hi Paul
       
        To get this push through we need a number of individual to vote
for the fix plus test it. If you can get your guys to create accounts on
ant's bugzilla vote for the bugs inclusion and add their test results
probably to the ant dev mailing list.
       
        John
        John Ballment
        Senior Systems Analyst | Pacific National
       
        P. 02 9893 2618
        M. 0418 740 871
        E. john_ballment@pacificnational.com.au
       
        ----- Original Message -----
        From: paulyphonica@gmail.com <paulyphonica@gmail.com>
<mailto:paulyphonica@gmail.com>  <mailto:paulyphonica@gmail.com>
        To: Ballment, John
        Cc: John Ballment <jballmen@bigpond.net.au>
<mailto:jballmen@bigpond.net.au>  <mailto:jballmen@bigpond.net.au>
        Sent: Wed Apr 22 01:21:19 2009
        Subject: Re: Bug 46326 - StarTeam: Use Cache Agent for Checkouts
       
        Thanks, this worked great!
       
       
        On Tue, Apr 21, 2009 at 6:04 AM, Ballment, John 
<John_Ballment@pacificnational.com.au>
<mailto:John_Ballment@pacificnational.com.au>  <
mailto:John_Ballment@pacificnational.com.au>  wrote:
       
       
                Please find the files attached.  I've set a password of
"starteam" on the zip file so the code should get through our mail
server.
       
                Regards,
       
                ______________________________________________
       
                Pacific National
                John Ballment BIT(IS)
                Senior Systems Analyst
       
                john_ballment@pacificnational.com.au <
mailto:john_ballment@pacificnational.com.au>
                Phone: (02) 9893 2618
                Fax: (02) 9893 2698
                Mobile: 0418 740 871
                http://www.pacificnational.com.au/
       
                Level 4, 2-12 Macquarie Street
                Parramatta NSW 2150 Australia
       
               
       
        ________________________________
       
                        From: paulyphonica@gmail.com [
mailto:paulyphonica@gmail.com] On Behalf Of Paul Coste
              
                Sent: Tuesday, 21 April 2009 07:55
       
                To: Ballment, John
                Subject: Re: Bug 46326 - StarTeam: Use Cache Agent for
Checkouts
              
              
              
                Hi John,
              
                Hope all is well with you.  We have some developers here
who would like to test the code (specifically the support for
encryption) and I am not having any luck applying the attached Diff
files with GnuWin32.  Do you think you could send me the complete source
code for the StarTeam tasks when you get a minute?  This would be a big
help.
              
                Also, do you know how we might be able to get these
pushed for consideration in the next Ant build?
              
                Thanks and Best Regards,
                Paul Coste
              
              
                On Wed, Mar 4, 2009 at 10:20 PM, Ballment, John 
<John_Ballment@pacificnational.com.au>
<mailto:John_Ballment@pacificnational.com.au>  <
mailto:John_Ballment@pacificnational.com.au>  wrote:
              
       
                        Hi Paul,
                       
                        I've been working on an enhancement to Ant's
Starteam integration, in particular to use the MPX Cache agent for
checkouts.  Would you be interested in doing some testing of the new
version of the stcheckout ANT task?  I've done some internal testing and
it works for my test cases but I'd like to get some external testing
done before I publish it to apache.org.
                       
       
                        Regards,
       
                        ______________________________________________
       
                        Pacific National
                        John Ballment BIT(IS)
                        Senior Systems Analyst
       
                        john_ballment@pacificnational.com.au <
mailto:john_ballment@pacificnational.com.au>
                        Phone: (02) 9893 2618
                        Fax: (02) 9893 2698
                        Mobile: 0418 740 871
                        http://www.pacificnational.com.au/
       
                        Level 4, 2-12 Macquarie Street
                        Parramatta NSW 2150 Australia
       
                       
       
 
******************************************************************
                        This e-mail and any attachments may contain
confidential and
                        privileged information. If you are not the
intended recipient,
                        please notify the sender immediately by return
e-mail, delete this
                        e-mail and destroy any copies. Any dissemination
or use of this
                        information by a person other than the intended
recipient is
                        unauthorized and may be illegal.
                        Opinions, conclusions, views and other
information in this
                        message
                        that do not relate to the official business of
Pacific National
                        are the views of the individual sender and shall
be understood as
                        neither given nor endorsed by Pacific National.
 
******************************************************************
                      
                      
       
       
 
******************************************************************
                This e-mail and any attachments may contain confidential
and
                privileged information. If you are not the intended
recipient,
                please notify the sender immediately by return e-mail,
delete this
                e-mail and destroy any copies. Any dissemination or use
of this
                information by a person other than the intended
recipient is
                unauthorized and may be illegal.
                Opinions, conclusions, views and other information in
this
                message
                that do not relate to the official business of Pacific
National
                are the views of the individual sender and shall be
understood as
                neither given nor endorsed by Pacific National.
 
******************************************************************
              
              
       
       
       

 
****************************************************************** This
e-mail and any attachments may contain confidential and privileged
information. If you are not the intended recipient, please notify the
sender immediately by return e-mail, delete this e-mail and destroy any
copies. Any dissemination or use of this information by a person other
than the intended recipient is unauthorized and may be illegal.
Opinions, conclusions, views and other information in this message that
do not relate to the official business of Pacific National are the views
of the individual sender and shall be understood as neither given nor
endorsed by Pacific National.
******************************************************************

****************************************************************** This
e-mail and any attachments may contain confidential and privileged
information. If you are not the intended recipient, please notify the
sender immediately by return e-mail, delete this e-mail and destroy any
copies. Any dissemination or use of this information by a person other
than the intended recipient is unauthorized and may be illegal.
Opinions, conclusions, views and other information in this message that
do not relate to the official business of Pacific National are the views
of the individual sender and shall be understood as neither given nor
endorsed by Pacific National.
****************************************************************** 

******************************************************************
This e-mail and any attachments may contain confidential and
privileged information. If you are not the intended recipient,
please notify the sender immediately by return e-mail, delete this
e-mail and destroy any copies. Any dissemination or use of this
information by a person other than the intended recipient is
unauthorized and may be illegal.
Opinions, conclusions, views and other information in this 
message
that do not relate to the official business of Pacific National
are the views of the individual sender and shall be understood as
neither given nor endorsed by Pacific National.
******************************************************************

 



******************************************************************
This e-mail and any attachments may contain confidential and
privileged information. If you are not the intended recipient,
please notify the sender immediately by return e-mail, delete this
e-mail and destroy any copies. Any dissemination or use of this
information by a person other than the intended recipient is
unauthorized and may be illegal.
Opinions, conclusions, views and other information in this 
message
that do not relate to the official business of Pacific National
are the views of the individual sender and shall be understood as
neither given nor endorsed by Pacific National.
******************************************************************

Mime
View raw message