<< Back to previous view

[QB-847] Workspace "Use workspace directory of parent configuration" does not work as expected
Created: 05/Mar/11  Updated: 31/Aug/11

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: 3.1.24
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Alexey Shumkin Assigned To: Robin Shen
Resolution: Won't Fix Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown
Environment: Operating System Linux 2.6.35.11-83.fc14.i686, i386
JVM OpenJDK Client VM 19.0-b09, Sun Microsystems Inc.
QuickBuild Version 3.1.24 - Thu Mar 03 11:04:54 MSK 2011


 Description   
I have root workspace setting as "/var/data/qb/workspace/${configuration.name}"
And I have two children configurations, name them "child-1" and "child-2" (and "child-2" is children of "child-1")
so, config tree is "root/child-1/child2"
I set theirs workspace settings as "inherited from parent"
Check workspaces (for children), they are:
/var/data/qb/workspace/child-1
/var/data/qb/workspace/child-2, respectively
It's ok.
But when I change workspace setting for child-2 to "Use workspace directory of parent configuration" I expect to get
/var/data/qb/workspace/child-1
and
/var/data/qb/workspace/child-1,
but they are not, they are still
/var/data/qb/workspace/child-1
/var/data/qb/workspace/child-2

The meaning of phrase "use parent workspace" is not "inherit parent's value and calculate it".
I guess for this purpose is "inherit from parent.."

 Comments   
Comment by Robin Shen [ 06/Mar/11 11:28 PM ]
Please use "/var/data/qb/workspace/${current.name}" for root configuration instead, as "configuration" always refer to the configuration being built, while "current" refers to the configuration hosting the property.
Generated at Thu May 16 12:38:42 UTC 2024 using JIRA 189.