You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2006/06/28 23:55:14 UTC

DO NOT REPLY [Bug 39926] New: - StarTeam tasks do not identify themselves as a particular application

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=39926>.
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=39926

           Summary: StarTeam tasks do not identify themselves as a
                    particular application
           Product: Ant
           Version: 1.7Alpha (nightly)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optional SCM tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: jesse.greenwald@gmail.com


Currently, the StarTeam tasks do not identify themselves as a particular
application when connecting to the StarTeam server.  This can make it more
difficult to track down troublesome clients as they are not identified in the
server logs.

The fix is to call com.starbase.starteam.ClientApplication.setName(String) with
some meaningful value which uniquely identifies the client application.

-- 
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 39926] - StarTeam tasks do not identify themselves as a particular application

Posted by bu...@apache.org.
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=39926>.
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=39926





------- Additional Comments From jesse.greenwald@gmail.com  2006-06-28 21:56 -------
Created an attachment (id=18544)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=18544&action=view)
A proposed solution.

Here is a proposed solution which uses "ant-starteam" by default.  This value
can be overriden by specifing an "applicationname" attribute.

-- 
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 39926] - StarTeam tasks do not identify themselves as a particular application

Posted by bu...@apache.org.
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=39926>.
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=39926


antoine@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|1.7.0Beta2                  |1.7.0Beta3




-- 
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 39926] - StarTeam tasks do not identify themselves as a particular application

Posted by bu...@apache.org.
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=39926>.
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=39926





------- Additional Comments From BBurgess@tiaa-cref.org  2006-06-29 15:57 -------
The main problem with this change is that the ClientApplication class was added
in StarTeam SDK 6.0 - currently the Ant tasks support StarTeam SDK 4.2 and above
(as does CruiseControl and even then the code using classes added in 4.2 is
clearly marked so that a 4.0 user can remove and compile).

Can't you track the clients in the server log by hostname which is captured?

-- 
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 39926] - StarTeam tasks do not identify themselves as a particular application

Posted by bu...@apache.org.
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=39926>.
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=39926





------- Additional Comments From jesse.greenwald@gmail.com  2006-06-30 14:53 -------
I think it should build.  No symbols would need to be used that aren't present
in the 4.0 SDK.  The 'ClientApplication' class would be loaded via reflection
with Class.forName().  The method would be fetched from the class using
getMethod().  The method would then be invoked by calling invoke() on the Method
object.

In the event that the class is not found, a ClassNotFound exception would be
thrown.  In the event that the method is not found, a NoSuchMethod exception
would be thrown.  If these exceptions are properly caught, the feature the build
could continue whether or not ClientApplication.setName() is available.

-- 
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 39926] - StarTeam tasks do not identify themselves as a particular application

Posted by bu...@apache.org.
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=39926>.
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=39926


antoine@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|1.7.0RC1                    |1.7.0




-- 
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 39926] - StarTeam tasks do not identify themselves as a particular application

Posted by bu...@apache.org.
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=39926>.
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=39926


antoine@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|1.7.0Beta3                  |1.7.0RC1




-- 
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 39926] - StarTeam tasks do not identify themselves as a particular application

Posted by bu...@apache.org.
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=39926>.
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=39926





------- Additional Comments From jesse.greenwald@gmail.com  2006-06-30 13:51 -------
The hostname is not enough to definitively identify to client that was used for
the checkout.  One user may be using multiple tools to connect to the
repository: the GUI client, the command line client, the Eclipse client, the Ant
client, or some other custom tool.  It is important for us to be able to quickly
identify the tool being used in order to fix the problem.

I am curious why the dependency is being held at the 4.0 StarTeam SDK.  Is the
6.0 SDK unable to connect to older servers or is it not possible for 4.0 users
to get the 6.0 SDK?  Or is there some other reason?

Regardless, another possible solution would be to use reflection to access the
class and method.  If the new SDK is available, the method would be called.  If
not, the call would be skipped over.  The code would still compile when
compiling against the older SDK.

Thanks,
Jesse

-- 
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 39926] - StarTeam tasks do not identify themselves as a particular application

Posted by bu...@apache.org.
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=39926>.
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=39926





------- Additional Comments From BBurgess@tiaa-cref.org  2006-06-30 15:23 -------
Yeah, that would work.  Seems a little complex, but it would be a necesary evil
to keep support for SDK versions prior to 6.0 - should we though?

I for one am all for dropping support of SDK versions prior to 6.0, as Borland
already has (see
http://support.borland.com/entry.jspa?externalID=139&categoryID=47).  In fact,
evern 6.0 is no longer supporterd after October 31, 2006.

There would need to be some sort of polling of the StarTeam/Ant community for
this type of decission I assume.

-- 
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 39926] - StarTeam tasks do not identify themselves as a particular application

Posted by bu...@apache.org.
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=39926>.
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=39926





------- Additional Comments From jesse.greenwald@gmail.com  2006-06-30 15:48 -------
Well, I don't really mind if support for pre-6.0 SDKs are dropped or not as long
as there is some fix for this bug ;).

I'm not involved in the licensing issues with our StarTeam server, so I don't
know how people are expected to respond to new releases of it.  Are companies
allowed free upgrades to new versions of StarTeam, or is that not included in
their support contract?  Do companies generally stay up to date with new
releases of StarTeam even if they can upgrade for free?  Knowing the answers to
these questions may help in deciding whether or not to drop support for older
versions.

As for polling the community, I wouldn't really know how to handle that either -
this is my first attempted contribution to the project ;).  Perhaps sending a
post to the ant-user mailing list and seeing if anyone responds would be a good
first step.

(In reply to comment #6)
> Yeah, that would work.  Seems a little complex, but it would be a necesary evil
> to keep support for SDK versions prior to 6.0 - should we though?
> 
> I for one am all for dropping support of SDK versions prior to 6.0, as Borland
> already has (see
> http://support.borland.com/entry.jspa?externalID=139&categoryID=47).  In fact,
> evern 6.0 is no longer supporterd after October 31, 2006.
> 
> There would need to be some sort of polling of the StarTeam/Ant community for
> this type of decission I assume.



-- 
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 39926] - StarTeam tasks do not identify themselves as a particular application

Posted by bu...@apache.org.
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=39926>.
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=39926


antoine@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|1.7.0Beta1                  |1.7.0Beta2




-- 
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 39926] - StarTeam tasks do not identify themselves as a particular application

Posted by bu...@apache.org.
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=39926>.
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=39926





------- Additional Comments From BBurgess@tiaa-cref.org  2006-06-30 13:59 -------
You are correct in your thoughts;  the SDK must match the server version or you
get a nasty exception (there is sometimes a little leeway like when using a 6.0
SDK with a 5.2 server, but even then calls to newer objects will fail).  A
reflection based solution would allow pre-comppiled code to run on older SDKs,
but will not build with older SDKs.

-- 
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 39926] - StarTeam tasks do not identify themselves as a particular application

Posted by bu...@apache.org.
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=39926>.
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=39926


antoine@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|1.7Alpha (nightly)          |1.7.0Beta1




-- 
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org