Bug 171722

Summary: console: build.xml has hardcoded reference to root directory
Product: [Retired] 389 Reporter: Rich Megginson <rmeggins>
Component: Directory ConsoleAssignee: Rich Megginson <rmeggins>
Status: CLOSED CURRENTRELEASE QA Contact: Chandrasekar Kannan <ckannan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: benl, jgalipea, nkinder
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-06 19:45:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
diffs for fix none

Description Rich Megginson 2005-10-25 16:41:32 UTC
In gar and rpm build land, the console.root directory may not be "console" it
may be something like "fedora-console-7.1.1".  So, it's better to have
console.root be "." and reference imports and built like 
built.dir = ${console.root}/../built

Comment 1 Rich Megginson 2005-10-25 16:41:33 UTC
Created attachment 120372 [details]
diffs for fix

Comment 2 Rich Megginson 2005-10-25 17:29:30 UTC
Reviewed by: nkinder nhosoi (Thanks!)
Files: build.xml, build.properties
Branch: HEAD
Fix Description: Use "." instead of ".." as the console.root.  This 
allows us to use console.root/buildnum.pl instead of 
console.root/console/buildnum.pl.  The imports and built dirs are 
referenced by console.root/../built e.g.  The problem is that when 
building from a source tar ball in rpm or gar, it expects the source 
directory when unpacked to be the same name as the .tar.gz file e.g. 
fedora-console-7.1.1.tar.gz unpacks into fedora-console-7.1.1.  If 
"/console/" is hard coded, this won't work.
Platforms tested: RHEL4
Flag Day: no
Doc impact: no

Checking in build.properties;
/cvs/dirsec/console/build.properties,v  <--  build.properties
new revision: 1.5; previous revision: 1.4
done
Checking in build.xml;
/cvs/dirsec/console/build.xml,v  <--  build.xml
new revision: 1.7; previous revision: 1.6
done