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
Created attachment 120372 [details] diffs for fix
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