diff options
author | Steven Knight <knight@baldmt.com> | 2005-04-02 19:50:33 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2005-04-02 19:50:33 (GMT) |
commit | 13dcf8c4ebad065d6296e7a3da24b21a1666a974 (patch) | |
tree | 6149e7e01cdfa22db3b3086c4b525526ac84fec2 /src/engine/SCons/Tool/rmic.py | |
parent | c378212a5904028315760269a52272a3eb025dca (diff) | |
download | SCons-13dcf8c4ebad065d6296e7a3da24b21a1666a974.zip SCons-13dcf8c4ebad065d6296e7a3da24b21a1666a974.tar.gz SCons-13dcf8c4ebad065d6296e7a3da24b21a1666a974.tar.bz2 |
Remove widespread reliance on SCons.Node.FS.default_fs so we can initialize it once (later than we used to) and eliminate all the __setTopLevelDir() calls.
Diffstat (limited to 'src/engine/SCons/Tool/rmic.py')
-rw-r--r-- | src/engine/SCons/Tool/rmic.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/SCons/Tool/rmic.py b/src/engine/SCons/Tool/rmic.py index c5c4854..4b48e0b 100644 --- a/src/engine/SCons/Tool/rmic.py +++ b/src/engine/SCons/Tool/rmic.py @@ -58,7 +58,7 @@ def emit_rmic_classes(target, source, env): classdir = s.attributes.java_classdir except AttributeError: classdir = '.' - classdir = SCons.Node.FS.default_fs.Dir(classdir).rdir() + classdir = env.Dir(classdir).rdir() if str(classdir) == '.': c_ = None else: @@ -95,8 +95,8 @@ RMICAction = SCons.Action.Action('$RMICCOM', '$RMICCOMSTR') RMICBuilder = SCons.Builder.Builder(action = RMICAction, emitter = emit_rmic_classes, src_suffix = '$JAVACLASSSUFFIX', - target_factory = SCons.Node.FS.default_fs.Dir, - source_factory = SCons.Node.FS.default_fs.File) + target_factory = SCons.Node.FS.Dir, + source_factory = SCons.Node.FS.File) def generate(env): """Add Builders and construction variables for rmic to an Environment.""" |