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.
Document runtime.encoding in the java.source.ant.bridge.
Created attachment 89164 [details] diff file
Added (documented) the runtime.encoding property to JavaRunner. The property allows project types to override the default encoding obtained by the FileEncodingQuery. Use case: The application requires different encoding than the source of the project (handled by FileEncodingQuery).
[JG01] Use the new constant in ProjectRunnerImpl (and incr dep java.source.ant -> java.project). BTW why are the constants defined in JavaRunnerImplementation? To satisfy the goal of permitting API clients to use only **.api.** packages they should be in JavaRunner I think.
JG01: Fixed the JavaRunnerImpl uses the const rather than string. >BTW why are the constants defined in JavaRunnerImplementation? I don't understand this question. The constants are defined in the JavaRunner.
Fixed in jet-main #aea524a242b4
Integrated into 'main-golden', will be available in build *200910221401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/aea524a242b4 User: Tomas Zezula <tzezula@netbeans.org> Log: #173406:Document runtime.encoding in java.source.ant