Bug 2207

Summary: bin/frysk contains build paths
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Andrew Cagney <cagney>
Severity: normal CC: ajocksch, pmuldoon
Priority: P1    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 1632, 1633, 2235    

Description Andrew Cagney 2006-01-25 19:14:13 UTC
In trying to eliminate BUILDDIR, and SRCDIR from frysk.Config (they are now
available in frysk.gui.Build), I'm finding:

../../frysk/frysk-gui/frysk/gui/srcwin/SourceWindowFactory.java:78: error: No
variable $-1ערABS_SRCDIRעש defined in type ערfrysk.Configעש.
   				Config.ABS_SRCDIR + "/../frysk-gui/frysk/gui/glade"};

../../frysk/frysk-gui/frysk/gui/common/Messages.java:52: error: No variable
$-1ערABS_SRCDIRעש defined in type ערfrysk.Configעש.
   	private static final String[] BUNDLE_PATHS = new String[]
{Config.PKGDATADIR, Config.ABS_SRCDIR + "/../frysk-gui/frysk/gui/common"};
the paths should be some-how passed down from bin/frysk or FryskGui.  If this
isn't done, and depending on the ordering, any of:

- FryskGui uses old/installed instead of new/build-tree files
- bin/frysk uses non-secure build files (it should never end up with build time
Comment 1 Andrew Cagney 2006-01-25 19:23:04 UTC
Also from FryskGui.mainGui:

                String[] imagesDir = {Config.PKGDATADIR+"/images",
                                                           Config.ABS_SRCDIR +

that should be passed in.
Comment 2 Adam Jocksch 2006-01-26 19:30:41 UTC
This has been fixed, all paths are now passed in from either FryskGui.main or