This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 44923 - compile-single compiles nothing when more than 1 file selected
Summary: compile-single compiles nothing when more than 1 file selected
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks: 41537
  Show dependency tree
 
Reported: 2004-06-16 08:43 UTC by Jiri Skrivanek
Modified: 2006-03-24 10:27 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2004-06-16 08:43:43 UTC
When you select more than 1 file and call
"Build|Compile 2 Files" main menu item for
example, it runs compile-single target but no file
is compiled. To reproduce:

- create Java Application project
- create 2 main classes
- select these 2 files
- call "Build|Compile 2 Files" from main menu
- compile-single target is started but none of
these 2 files is compiled.

Tested in buuld 20040616-0305, JDK1.4.2_04, WindowsXP.
Comment 1 Jesse Glick 2004-08-02 21:56:31 UTC
j2seproject's build-impl.xml#-do-compile-single is incorrect.

  <include name="${javac.includes}"/>

should rather be

  <patternset includes="${javac.includes}"/>
Comment 2 Jesse Glick 2004-08-04 01:24:40 UTC
Also fixing for web projects.

committed   * Up-To-Date  1.26       
java/j2seproject/src/org/netbeans/modules/java/j2seproject/resources/build-impl.xsl
committed   * Up-To-Date  1.29       
web/project/src/org/netbeans/modules/web/project/resources/build-impl.xsl
Comment 3 Jiri Skrivanek 2004-08-04 08:17:03 UTC
Verified in build 20040804-0152.