Login | Register
My pages Projects Community openCollabNet
Click here to access Issue tracker direct from Eclipse or Visual Studio
and to obtain other CollabNet integrations.
Project highlights:

29 Sep 2014: Release 2.3.4 is now available at the download page.

24 Aug 2014: Release 2.3.3 is now available at the download page.

05 July 2014: Release 2.3.2 is now available at the download page.

02 Feb 2013: Release 2.3.0 is now available at the download page.

scons
Issue 1766

Query | Reports

Issue 1766

Issue #: 1766   Platform: All   Reporter: abondarenko (Andrey Bondarenko)
Component: scons   OS: All  
Subcomponent: scons   Version: 0.97.0d20070918   CC:
Remove selected CCs
Status: NEW   Priority: P2  
Resolution:   Issue type: DEFECT  
 Target milestone:3.x 
Assigned to: issues@scons
QA Contact: issues@scons
URL:
* Summary: Java Builder issue wrong class name in dependency tree
Status whiteboard:
Keywords: java
Attachments:
Issue 1766 depends on:1086 1086 Show dependency tree
Issue 1766 blocks:
Votes for issue 1766:    Vote for this issue

View issue activity   |   Format for printing   |   Format as XML

Description: Opened: Thu Nov 1 21:28:00 -0700 2007 Sort by: Oldest first | Newest first

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 word code */ }

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

------- Additional comments from Greg Noel Fri May 30 14:27:15 -0700 2008 -------

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.

------- Additional comments from Greg Noel Fri May 30 16:13:33 -0700 2008 -------

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

------- Additional comments from Greg Noel Fri Dec 26 14:29:18 -0700 2008 -------

Adjust triage of issues.

------- Additional comments from Steven Knight Fri Jan 9 10:45:16 -0700 2009 -------

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.

------- Additional comments from Greg Noel Fri Jan 23 02:01:18 -0700 2009 -------

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

------- Additional comments from Russel Winder Fri Aug 28 00:39:08 -0700 2009 -------

Add Russel to the CC list.

------- Additional comments from Rob Managan Fri Aug 28 12:49:01 -0700 2009 -------

add java to keywords

------- Additional comments from Steven Knight Tue Nov 10 19:00:19 -0700 2009 -------

stevenknight => issues@scons

------- Additional comments from Andrew Featherstone Mon Jul 7 15:04:05 -0700 2014 -------

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