ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mathew, Alexander" <alexander.mat...@softbrands.com>
Subject RE: stcheckout fails when recursive
Date Mon, 11 Aug 2003 05:57:05 GMT
Thanks a lot Steve. Got it sorted out.

I have a fully licensed installation of StarGate SDK 5.2 with Starteam
windows client and cross-platform client. 
Initially, in the ANT build environment, I had included only the
starteam-sdk.jar but now have included the installation dll's as well. This
now works as desired.

Thanks once again.
Alex


-----Original Message-----
From: Steve Cohen [mailto:SCohen@sportvision.com] 
Sent: Saturday, August 09, 2003 12:20 AM
To: Ant Users List
Subject: RE: stcheckout fails when recursive


This looks like an instance of Bug 18007, a problem. that drove us crazy for
several months until we figured it out. Basically, this seems to occur when
ant is run on a machine where a licensed copy of StarTeam has not been
installed.  It is not enough to simply make starteam-sdk.jar available to
Ant, StarTeam must actually be installed, or you will get this.  

See http://ant.apache.org/manual/index.html under Ant Tasks->Optional
Tasks->StarTeam tasks:

"Important Note on Installation and Licensing:

On Windows machines, the mere presence of starteam-sdk.jar on the classpath
is not sufficient for getting these tasks to work properly. These tasks also
require a fully-installed and fully-licensed version of the StarGate
Runtime. This is part of a StarTeam client installation or may be installed
separately. The full client install is not required." 

For more details, see
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18007.  

-----Original Message-----
From: Mathew, Alexander [mailto:alexander.mathew@softbrands.com] 
Sent: Friday, August 08, 2003 1:01 PM
To: user@ant.apache.org
Subject: stcheckout fails when recursive


Recursive checkout from StarTeam gives error as follows. Can anyone figure
out? 
 
Thanks a lot!
Alexander
 
My test script
==============================================
 
 
<target name="main" description="Test star team checkout"> <stcheckout
URL="172.158.101.55:49200/Automation/Automation"
username="Administrator"
password=""
rootlocalfolder="C:\Test" rootstarteamfolder="\PowerBuilder\TaskPlanner\"
forced="true" 
/>
<echo message="Build completed successfully"/>
</target>
 
 
==============================================
C:\Automation\PowerBuilder\TaskPlanner>test
Apache Ant version 1.5.3 compiled on April 16 2003
Buildfile: test.xml
Detected Java version: 1.4 in: C:\jdk1.4.1\jre
Detected OS: Windows XP
parsing buildfile test.xml with URI =
file:C:/Automation/PowerBuilder/TaskPlanne
r/test.xml
Project base dir set to: C:\Automation\PowerBuilder\TaskPlanner
Build sequence for target `main' is [main]
Complete build sequence is [main]
main:
[stcheckout] Recursive Checkout from: Automation\PowerBuilder\TaskPlanner\
[stcheckout] Checking out to: C:\Test
[stcheckout] Items will be checked out with no change in lock status.
[stcheckout] Items will be checked out with the current timestamp.
[stcheckout] Items will be checked out regardless of repository status.
[stcheckout] Local items not found in the repository will be deleted.
[stcheckout] Directories will be created wherever they exist in the
repository , even if empty. [stcheckout] Checking out:
Automation\PowerBuilder\TaskPlanner\build\pbl\callbac
ks.pbl -->
C:\Automation\PowerBuilder\C:\Test\C:\Test\build\C:\Test\build\pbl\ca
llbacks.pbl
BUILD FAILED
file:C:/Automation/PowerBuilder/TaskPlanner/test.xml:28:
java.io.FileNotFoundExc
eption:
C:\Automation\PowerBuilder\C:\Test\C:\Test\build\C:\Test\build\pbl\callb
acks.pbl (The filename, directory name, or volume label syntax is
incorrect) at
org.apache.tools.ant.taskdefs.optional.starteam.TreeBasedTask.execute
(TreeBasedTask.java:560)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
at org.apache.tools.ant.Main.runBuild(Main.java:609)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)
Caused by: java.io.FileNotFoundException:
C:\Automation\PowerBuilder\C:\Test\C:\
Test\build\C:\Test\build\pbl\callbacks.pbl (The filename, directory name, or
vol ume label syntax is incorrect) at
org.apache.tools.ant.taskdefs.optional.starteam.StarTeamCheckout.visi
t(StarTeamCheckout.java:398)
at org.apache.tools.ant.taskdefs.optional.starteam.StarTeamCheckout.visi
t(StarTeamCheckout.java:382)
at org.apache.tools.ant.taskdefs.optional.starteam.StarTeamCheckout.visi
t(StarTeamCheckout.java:382)
at org.apache.tools.ant.taskdefs.optional.starteam.TreeBasedTask.execute
(TreeBasedTask.java:557)

... 8 more

 
 
 

Alexander Mathew 

 

 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message