Skip to content

Bug with Java() and BuildDir() #1245

Closed
Closed

Description

@bdbaddog

This issue was originally created at: 2005-09-23 08:58:02.
This issue was reported by: armenb.
armenb said at 2005-09-23 08:58:02

Hi,

I've found a bug in Scons with respect to producing
Java code:

If you use the BuildDir() function (or specify a
build_dir option in a calling SConscript - SConscript()
ends up calling BuildDir()), scons doesn't copy the
source files into the build directory specified.
Essentially, this means that the files are not
accessible to the Java() emitter (in
lib/scons-0.96.91/Scons/Tool/javac.py), so it has
nothing to compile. If I manually copy source files
into the build directory, Java() compiles the files fine.

This error seems to be separate of Java() being silent
on builds (an error I reported earlier on
[email protected]).

  • Armen

issues@scons said at 2005-09-23 08:58:02

Converted from SourceForge tracker item 1301432

stevenknight said at 2007-08-07 22:18:03

This should be fixed in next release with the addition of Leanid Nazdrynau's
multi-step Java builders. If you still notice problems, it would indicate some
combination of settings that we haven't tested for, so please open up new issues
with appropriate test cases. Thanks,

stevenknight said this issue blocks #1664 at 2007-08-07 22:18:03.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions