Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java Builder issue wrong class name in dependency tree #1766

Open
bdbaddog opened this issue Jan 2, 2018 · 0 comments
Open

Java Builder issue wrong class name in dependency tree #1766

bdbaddog opened this issue Jan 2, 2018 · 0 comments
Labels
bug Java Java tools and language support Version: 0.97.0d20070918

Comments

@bdbaddog
Copy link
Contributor

bdbaddog commented Jan 2, 2018

This issue was originally created at: 2007-11-01 21:28:49.
This issue was reported by: abondarenko.
abondarenko said at 2007-11-01 21:28:49

A test session:

C:\tmp\test>scons --debug=tree classes/C.class
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
javac -d classes -sourcepath sources sources\A.java sources\B.java sources\C.java
+-classes\A.class
  +-sources\A.java
  +-sources\B.java
  +-sources\C.java
  +-C:\Progra~1\Java\jdk1.6.0_01\bin\javac.EXE
scons: done building targets.

The output looks strange for me. When I ask to build classes/C.class, I expect
to see the same file in the root of dependency tree.

A test case:

sources/A.java

class A {}

sources/B.java

class B extends A {}

sources/C.java

class C extends B { /* Hello world code */ }

SConstruct:

import os
Environment(ENV = os.environ).Java(target="classes", source="sources")

gregnoel said at 2008-05-30 14:27:15

Bug party triage: The output shows the "primary" dependency that the executor
will use to rebuild all three classes. To show the full representation will
require the logic that batch builders will provide. Return to this issue when
batch builders (issue 1086) is completed.

gregnoel said at 2008-05-30 16:13:33

Oops, batch builders is 1.x, not 2.x.

gregnoel said at 2008-12-26 13:29:18

Adjust triage of issues.

stevenknight said at 2009-01-09 09:45:16

Batch build action support (issue 1086) has been addressed. Resetting target
milestone to -unspecified- so this can be discussed and possible re-prioritized
at the next bug party.

gregnoel said at 2009-01-23 01:01:18

Bug party triage. Primarily a cosmetic issue as the compilation is correct.

russel said at 2009-08-28 00:39:08

Add Russel to the CC list.

managan said at 2009-08-28 12:49:01

add java to keywords

stevenknight said at 2009-11-10 18:00:19

stevenknight => issues@scons

ajf58 said at 2014-07-07 15:04:05

Still an issue in 2.3.0

>$ scons -Q --tree=all classes/C.class
scons: `classes/C.class' is up to date.
+-classes/A.class
  +-sources/A.java
  +-/usr/bin/javac

gregnoel said this issue depends on #1086 at 2008-05-30 14:27:15.

@bdbaddog bdbaddog added this to the 3.x milestone Jan 2, 2018
@bdbaddog bdbaddog added the Java Java tools and language support label May 14, 2019
@mwichmann mwichmann removed this from the 3.x milestone Mar 26, 2021
@mwichmann mwichmann removed the P2 label Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Java Java tools and language support Version: 0.97.0d20070918
Projects
None yet
Development

No branches or pull requests

2 participants