History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-847
Type: Bug Bug
Status: Resolved Resolved
Resolution: Won't Fix
Priority: Minor Minor
Assignee: Robin Shen
Reporter: Alexey Shumkin
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Workspace "Use workspace directory of parent configuration" does not work as expected

Created: 05/Mar/11 10:55 AM   Updated: 31/Aug/11 03:24 AM
Return to search
Component/s: None
Affects Version/s: 3.1.24
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: 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  « Hide
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.."

 All   Comments   Work Log   Change History      Sort Order:
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.