summaryrefslogtreecommitdiffstats
path: root/test/Java/source-files.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2018-10-15 18:56:39 (GMT)
committerGitHub <noreply@github.com>2018-10-15 18:56:39 (GMT)
commite422f8fa002b9cbe6fb5785c301cfc63d8843a99 (patch)
treea987fed537a6a8ac1bb6cc4fc09def0dc8830e47 /test/Java/source-files.py
parent55c4cebac66372da7a27c7b1e00d435dc2abe27c (diff)
parentcd1971093ec238e57770e72998caa3055e7af449 (diff)
downloadSCons-e422f8fa002b9cbe6fb5785c301cfc63d8843a99.zip
SCons-e422f8fa002b9cbe6fb5785c301cfc63d8843a99.tar.gz
SCons-e422f8fa002b9cbe6fb5785c301cfc63d8843a99.tar.bz2
Merge pull request #3206 from bdbaddog/fix_java_tests_path_with_spaces
Revamp Java tools to search in reasonable paths.
Diffstat (limited to 'test/Java/source-files.py')
-rw-r--r--test/Java/source-files.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/Java/source-files.py b/test/Java/source-files.py
index bf263cf..ab395a0 100644
--- a/test/Java/source-files.py
+++ b/test/Java/source-files.py
@@ -35,12 +35,8 @@ _python_ = TestSCons._python_
test = TestSCons.TestSCons()
-where_javac, java_version = test.java_where_javac()
-
-
test.write('SConstruct', """
-env = Environment(tools = ['javac', 'javah'],
- JAVAC = r'%(where_javac)s')
+env = Environment(tools = ['javac', 'javah'])
env.Java(target = 'class1', source = 'com/Example1.java')
env.Java(target = 'class2', source = ['com/Example2.java', 'com/Example3.java'])
""" % locals())