ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brown, Michael" <Michael_Br...@jdedwards.com>
Subject RE: Exception when calling Starteam <STLabel>
Date Wed, 31 Jul 2002 21:32:02 GMT
Dave,

It sounds like an error from StarTeam.  I have done some similar coding with
ant 1.4.1 to retrieve source code from a view label and even labeled from
within ant.  Can you send the source or a snippet?  I will try to assist
where I can.

Mike B.

-----Original Message-----
From: Dave Draper [mailto:DaveD@geotrust.com]
Sent: Wednesday, July 31, 2002 3:07 PM
To: 'Ant Users List'
Subject: Exception when calling Starteam <STLabel>


We are migrating from VSS to Starteam and as a result I have been
reworking our build scripts.

I have rewritten the target that is used to apply a label. Each
time I call the target I get an exception and error from <stlabel>.

As far as I can tell everything is OK. My other calls in Starteam
work as expected. 

The error message and stack trace are as follows:

A view can only be modified from its current configuration.
        at
com.starbase.starteam.vts.comm.BinaryCommand.popException(BinaryCommand.java
:643)
        at com.starbase.starteam.vts.comm.Command.pop(Command.java:303)
        at
com.starbase.starteam.vts.comm.BinaryCommand.readInt(BinaryCommand.java:183)
        at
com.starbase.starteam.LabelRWImpl.readGutsForCreation(LabelRWImpl.java:35)
        at com.starbase.starteam.CmdCreateLabel.pop(CmdCreateLabel.java:32)
        at
com.starbase.starteam.vts.comm.CommandMacro.execute(CommandMacro.java:107)
        at
com.starbase.starteam.PutMethods$3.createNewLabel(PutMethods.java:148)
        at com.starbase.starteam.PutMethods$3.execute(PutMethods.java:103)
        at com.starbase.starteam.PutMethods.put(PutMethods.java:509)
        at com.starbase.starteam.PutMethods.put(PutMethods.java:503)
        at com.starbase.starteam.Server.putItems(Server.java:440)
        at com.starbase.starteam.Label.update(Label.java:548)
        at
org.apache.tools.ant.taskdefs.optional.starteam.StarTeamLabel.execute(StarTe
amLabel.java:145)
        at org.apache.tools.ant.Task.perform(Task.java:317)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:334)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
        at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)
        at org.apache.tools.ant.Task.perform(Task.java:317)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:334)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
        at org.apache.tools.ant.Main.runBuild(Main.java:610)
        at org.apache.tools.ant.Main.start(Main.java:196)
        at org.apache.tools.ant.Main.main(Main.java:235)

Total time: 3 seconds
A view can only be modified from its current configuration.
        at
com.starbase.starteam.vts.comm.BinaryCommand.popException(BinaryCommand.java
:643)
        at com.starbase.starteam.vts.comm.Command.pop(Command.java:303)
        at
com.starbase.starteam.vts.comm.BinaryCommand.readInt(BinaryCommand.java:183)
        at
com.starbase.starteam.LabelRWImpl.readGutsForCreation(LabelRWImpl.java:35)
        at com.starbase.starteam.CmdCreateLabel.pop(CmdCreateLabel.java:32)
        at
com.starbase.starteam.vts.comm.CommandMacro.execute(CommandMacro.java:107)
        at
com.starbase.starteam.PutMethods$3.createNewLabel(PutMethods.java:148)
        at com.starbase.starteam.PutMethods$3.execute(PutMethods.java:103)
        at com.starbase.starteam.PutMethods.put(PutMethods.java:509)
        at com.starbase.starteam.PutMethods.put(PutMethods.java:503)
        at com.starbase.starteam.Server.putItems(Server.java:440)
        at com.starbase.starteam.Label.update(Label.java:548)
        at
org.apache.tools.ant.taskdefs.optional.starteam.StarTeamLabel.execute(StarTe
amLabel.java:145)
        at org.apache.tools.ant.Task.perform(Task.java:317)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:334)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
        at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)
        at org.apache.tools.ant.Task.perform(Task.java:317)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:334)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
        at org.apache.tools.ant.Main.runBuild(Main.java:610)
        at org.apache.tools.ant.Main.start(Main.java:196)
        at org.apache.tools.ant.Main.main(Main.java:235)
A view can only be modified from its current configuration.


--

David Draper
Manager, Engineering Services
GeoTrust, Inc.

It never gets any easier; you only get faster - Greg Lemond



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

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


Mime
View raw message