I pass the stream in as a parameter: perforceStream
If i use ${perforceStream} then i get the following:
ERROR: Unable to setup workspace: com.perforce.p4java.exception.RequestException: Error in client specification.
Error detected at line 18.
Stream '${perforceStream}' must begin with '//'.
A quick workaround would be '//${streamDepot}/${codeline}' or '//${streamPath}
The '//' is a sanity check; to use a ${var} param I would need to test the expanded var. However, depending on how you set the ${var} it may not be valid on the page check.
daniel@beckweb.net (JIRA)
unread,
Oct 6, 2014, 12:31:18 PM10/6/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
Michael Rose: My apologies; I'm just doing basic checks on incoming issues and don't know all the plugins – it read like a feature request given the error message, and many users have a habit to report minor feature requests/improvements as critical bugs
No problem Daniel Beck and full disclosure I filed a couple ticket last week that ended up not being "defects" or "features" (if you get my drift).
Paul Allen: The workaround looks fine to me. Are $streamDepot, $codeline, $streamPath example variables or real keywords? And if they are real keywords are there any others (e.g. $clientName)?
pallen@perforce.com (JIRA)
unread,
Oct 7, 2014, 5:31:19 AM10/7/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
The only 'special' variables are: ${label}, ${change}, ${status}, ${pass}, ${fail}. They are reserved for the Review/Shelve feature (avoid using them as 'axis' names in a multi config project).
pallen@perforce.com (JIRA)
unread,
Oct 13, 2014, 5:56:20 AM10/13/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
As outlined the sanity check can't necessarily expand the ${var}.
The alternative would be to remove the check altogether. If common use changes from explicit paths to expanded vars then I may change the sanity check.