ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 5138] New: - starteam task fails to work
Date Tue, 27 Nov 2001 18:33:19 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5138>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5138

starteam task fails to work

           Summary: starteam task fails to work
           Product: Ant
           Version: 1.4.1
          Platform: PC
               URL: http://http://
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Optional Tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: stevec@ignitesports.com


The following tasks are defined in build.xml:

<target name="checkouttest">
   <antcall target="checkout">
      <param name="projectroot" value="/temp/golfserv/v2.0"/>
      <param name="ST.proj" value = "GolfServ" />
      <param name="ST.view" value = "Version 2.0" />
      <param name="ST.folder" value = "golfserv" />
			
   </antcall>
</target>
	
<target name="checkout">
   <mkdir dir="${projectroot}"/>
   <starteam servername="${ST.server}" 
             serverport="${ST.port}"
             projectname="${ST.proj}" 
             viewname="${ST.view}"
             foldername="${ST.folder}"
             username="${ST.username}"
             password="{ST.password}"
             targetfolder="${projectroot}"
             force="true"
             verbose="true"
   />
</target>

where 
GolfServ is a root-level project on the server
Version 2.0 is a view in this project
golfserv is the name of a folder at the root of this view.ST.server is a
property defined with the correct name of the server
ST.port is a property defined with the correct port number to access this server
ST.username is a property containing a valid username on the server
ST.password is a property containing ST.username's password

The following output is produced when this task is executed in verbose mode
(i.e. ant -verbose checkouttest):

checkouttest:
Project base dir set to: E:\_home\dev\buildmeister\dev
parsing buildfile E:\_home\dev\buildmeister\dev\build.xml with URI =
file:E:/_home/dev/buildmeister/dev/build.xml
Override ignored for user property basedir
Project base dir set to: E:\_home\dev\buildmeister\dev
Override ignored for root
Override ignored for pf
Loading E:\_home\dev\buildmeister\dev\Appw01.properties
Override ignored for java.path
Override ignored for bin.drive
Override ignored for bin.drive
Override ignored for java.path
Override ignored for debugging
Override ignored for ST.server
Override ignored for ST.port
Build sequence for target `checkout' is [checkout]
Complete build sequence is [checkout, clean, main, buildproj, all, checkouttest]

checkout:
Created dir: E:\temp\golfserv\v2.0
Found GolfServ\
Found GolfServ\Version 2.0\
Found GolfServ\Version 2.0\golfserv\

    null

BUILD SUCCESSFUL


This indicates to me that
1) ant successfully logs onto the starteam server
2) the project, view and folder names are all valid
3) something is throwing a null pointer exception which is being caught at line
359 of AntStarTeamCheckOut.java
4) the exception is then ignored except for printing null and returns a
"success" value to the caller.

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message