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 173406

Summary: Document runtime.encoding in java.source.ant
Product: java Reporter: Tomas Zezula <tzezula>
Component: SourceAssignee: Tomas Zezula <tzezula>
Status: RESOLVED FIXED    
Severity: blocker CC: jglick, jlahoda
Priority: P2 Keywords: API, API_REVIEW_FAST
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:
Attachments: diff file

Description Tomas Zezula 2009-09-30 16:02:11 UTC
Document runtime.encoding in the java.source.ant.bridge.
Comment 1 Tomas Zezula 2009-10-09 08:49:16 UTC
Created attachment 89164 [details]
diff file
Comment 2 Tomas Zezula 2009-10-09 08:53:21 UTC
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).
Comment 3 Jesse Glick 2009-10-15 15:06:36 UTC
[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.
Comment 4 Tomas Zezula 2009-10-19 14:02:47 UTC
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.
Comment 5 Tomas Zezula 2009-10-19 14:15:38 UTC
Fixed in jet-main #aea524a242b4
Comment 6 Quality Engineering 2009-10-22 23:32:59 UTC
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