Bug 2207 - bin/frysk contains build paths
Summary: bin/frysk contains build paths
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P1 normal
Target Milestone: ---
Assignee: Andrew Cagney
URL:
Keywords:
Depends on:
Blocks: 1632 1633 2235
  Show dependency treegraph
 
Reported: 2006-01-25 19:14 UTC by Andrew Cagney
Modified: 2006-01-31 16:00 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
paths)
Comment 1 Andrew Cagney 2006-01-25 19:23:04 UTC
Also from FryskGui.mainGui:


                String[] imagesDir = {Config.PKGDATADIR+"/images",
                                                           Config.ABS_SRCDIR +
"/../frysk-gui/frysk/gui/images"};

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
frysk.main.