ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From epel...@echoman.com (Edward Peloke)
Subject RE: ant star team tasks
Date Fri, 05 Mar 2004 14:01:37 GMT
Thanks Steve,

I actually got this issue fixed but now everytime I try to check out files,
I get this error...it creates the folders for the first file, then fails.  I
am able to successfully create new labels, just can't check stuff out which
is the basis of what I need to do.  Any Ideas?

Thanks,
Eddie

[stcheckout] StarTeam version: StarGate SDK 5.1.2, Build 264
[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]   Items will be checked out using the local machine's EOL
convention
[stcheckout]   Directories will be created wherever they exist in the
repository, even if empty.
[stcheckout] Creating folder: D:\sharecare300
[stcheckout] Creating folder: D:\sharecare300\Access
[stcheckout] Creating folder: D:\sharecare300\Access\RepositoryLookup_Com
[stcheckout] Checking out: ShareCare 3.0\Application
Code\Access\RepositoryLookup_Com\RepositoryLookup_Sel.cfm -->
d:\ShareCare300\D:\sharecare300\Access\RepositoryLookup_Com\RepositoryLookup
_Sel.cfm
[stcheckout] successful disconnect from StarTeam Server perseus

BUILD FAILED
C:\anttest\build.xml:14: java.lang.RuntimeException: You do not have the
access rights required to perform this operation.
        at
org.apache.tools.ant.taskdefs.optional.starteam.TreeBasedTask.execute(TreeBa
sedTask.java:688)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:301)
        at org.apache.tools.ant.Target.performTasks(Target.java:328)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1063)
        at org.apache.tools.ant.Main.runBuild(Main.java:632)
        at org.apache.tools.ant.Main.startAnt(Main.java:183)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)
Caused by: java.lang.RuntimeException: You do not have the access rights
required to perform this operation.
        at com.starbase.starteam.View.verifyAccessRights(View.java:943)
        at com.starbase.starteam.View.getViewID(View.java:402)
        at com.starbase.starteam.Server.getViewSession(Server.java:392)
        at
com.starbase.starteam.PopulateMethods$4.execute(PopulateMethods.java:151)
        at
com.starbase.starteam.PopulateMethods.populate(PopulateMethods.java:182)
        at com.starbase.starteam.Server.populateValues(Server.java:432)
        at com.starbase.starteam.Project.populate(Project.java:513)
        at com.starbase.starteam.Project.get(Project.java:147)
        at com.starbase.starteam.TypedResource.getInt(TypedResource.java:69)
        at
com.starbase.starteam.SimpleTypedResource.getInt(SimpleTypedResource.java:14
5)
        at com.starbase.starteam.Project.isExpandKeywords(Project.java:255)
        at com.starbase.starteam.File.usesKeywords(File.java:2341)
        at com.starbase.starteam.File.checkoutCore(File.java:1483)
        at com.starbase.starteam.File.checkout(File.java:1242)
        at
org.apache.tools.ant.taskdefs.optional.starteam.StarTeamCheckout.processFile
(StarTeamCheckout.java:558)
        at
org.apache.tools.ant.taskdefs.optional.starteam.StarTeamCheckout.visit(StarT
eamCheckout.java:427)
        at
org.apache.tools.ant.taskdefs.optional.starteam.StarTeamCheckout.visit(StarT
eamCheckout.java:420)
        at
org.apache.tools.ant.taskdefs.optional.starteam.StarTeamCheckout.visit(StarT
eamCheckout.java:420)
        at
org.apache.tools.ant.taskdefs.optional.starteam.TreeBasedTask.execute(TreeBa
sedTask.java:685)
        ... 10 more

-----Original Message-----
From: Steve Cohen [mailto:scohen@javactivity.org]
Sent: Thursday, March 04, 2004 9:05 PM
To: Ant Users List
Subject: Re: ant star team tasks


Hmm.
I wrote most of the StarTeam tasks, but most of them were written after my
previous employer had upgraded to 5.1.  I am pretty sure that most of the
enhancements that I made to the tasks that had to do with revision and build
labels happened after the upgrade to 5.1 which means they were never tested
against 4.2.

Borland has never been cooperative with the Ant project and won't even talk
to
you unless you are a paying customer.  And 4.2 is, I believe, pre-Borland.
So, probably, it's a bug/change in the starteam sdk that causes the trouble.
I don't think these problems occur in 5.x.

I'd like to help, but I'm no longer working for a company that uses StarTeam
and have no access to a StarTeam server so I can't.

Good luck!





On Thursday 04 March 2004 8:33 am, Edward Peloke wrote:
> Hello,
>
> I am trying to use the ant star team tasks with star team 4.2.  I am
trying
> to check out by label but it can't seem to find the label.  The problem
is,
> the labels I need to use are revision labels, not build labels, how do I
> check out by revision labels?
>
> Thanks,
> Eddie
>
>  WARNING:  The information contained in this message and any attachments
is
> intended only for the use of the individual or entity to which it is
> addressed.  This message may contain information that is privileged,
> confidential and exempt from disclosure under applicable law.  It may also
> contain trade secrets and other proprietary information for which you and
> your employer may be held liable for disclosing.  You are hereby notified
> that any unauthorized dissemination, distribution or copying of this
> communication is strictly prohibited.  If you have received this
> communication in error,  please notify HIPAA@echoman.com by E-Mail and
then
> destroy this communication in a manner appropriate for privileged
> information.
>
>
> ---------------------------------------------------------------------
> 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


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


Mime
View raw message