|
|
JBuilder won't compile just one file. No matter what, it compiles more stuff than I want. How can I make JBuilder compile only the file I want compiled? |
| You can't.
JBuilder's build system uses a package model, not a file model. When you ask it to make or build a single file from the project pane, JBuilder will compile that file, but it will also inspect its dependency information and may well compile more files. These can include classes which extend or use the target class, both within the target package and outside. JBuilder does this to ensure that changes made within the target class will not break other classes which use the target. Sun's javac compiler does not make this check for you.
Because JBuilder uses a package model, it will notice every java file in a package and compile everything in that package.
| |
| There is an OpenTool called CompileFile which allows to do that by using javac or jikes. Before using CompileFile, just make sure, that you added the access paths to javac or jikes to your system path environment variable. In order to get CompileFile see: http://codecentral.borland.com/codecentral/ccweb.exe/listing?id=15463
Valentino Kyriakides
| |
| [Append to This Answer] | |
| 2001-Jun-12 11:54pm |
| ||||||||
|
Java Community
Java Tools |
Code Central JB OpenTools |
Community Recent Threads |
Borland Chat Chat FAQ |
||||||||||||||
|
Feature Matrices 3.0 | 3.5 | 4.0 5.0 | 6.0 | 7.0 |
Shop for JBuilder |
JBuilder Downloads and reg keys |
Report Piracy | ||||||||||||||
|
Online Manuals 4.0 | 5.0 | 6.0 7.0 |
Borland DevSupport's Bug/RFE Form Quality Central Client |
JB Patches & Updates |
JBuilder FAQs TIs | ||||||||||||||
|
JBuilder Newsgroups |
Tamaracka's News Archive |
Mr. Haki's JBuilder Machine |
JGuru's JBuilder FAQ |
||||||||||||||
|
Sun's Bug Parade |
|||||||||||||||||
|
|||||||||||||||||