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 97862 - Provide FileEncodingQueryImplementation.
Summary: Provide FileEncodingQueryImplementation.
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: App Client (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks: 97848
  Show dependency tree
 
Reported: 2007-03-14 16:30 UTC by Petr Jiricka
Modified: 2007-07-07 18:40 UTC (History)
1 user (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 Petr Jiricka 2007-03-14 16:30:00 UTC
The project type should provide FileEncodingQueryImplementation in its loookup.
The javac task should use encoding argument.
Comment 1 J Bachorik 2007-05-30 09:31:04 UTC
done necessary changes

Checking in AppClientProject.java;
/cvs/j2ee/clientproject/src/org/netbeans/modules/j2ee/clientproject/AppClientProject.java,v
 <--  AppClientProject.java
new revision: 1.9; previous revision: 1.8
done
RCS file:
/cvs/j2ee/clientproject/src/org/netbeans/modules/j2ee/clientproject/queries/AppClientProjectEncodingQueryImpl.java,v
done
Checking in queries/AppClientProjectEncodingQueryImpl.java;
/cvs/j2ee/clientproject/src/org/netbeans/modules/j2ee/clientproject/queries/AppClientProjectEncodingQueryImpl.java,v
 <--  AppClientProjectEncodingQueryImpl.java
initial revision: 1.1
done
Checking in ui/customizer/AppClientProjectProperties.java;
/cvs/j2ee/clientproject/src/org/netbeans/modules/j2ee/clientproject/ui/customizer/AppClientProjectProperties.java,v
 <--  AppClientProjectProperties.java
new revision: 1.7; previous revision: 1.6
done
Checking in ui/customizer/CustomizerSources.java;
/cvs/j2ee/clientproject/src/org/netbeans/modules/j2ee/clientproject/ui/customizer/CustomizerSources.java,v
 <--  CustomizerSources.java
new revision: 1.4; previous revision: 1.3
done
Checking in ui/customizer/CustomizerSources.form;
/cvs/j2ee/clientproject/src/org/netbeans/modules/j2ee/clientproject/ui/customizer/CustomizerSources.form,v
 <--  CustomizerSources.form
new revision: 1.4; previous revision: 1.3
done
Checking in ui/customizer/Bundle.properties;
/cvs/j2ee/clientproject/src/org/netbeans/modules/j2ee/clientproject/ui/customizer/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.5; previous revision: 1.4
done
Checking in resources/build-impl.xsl;
/cvs/j2ee/clientproject/src/org/netbeans/modules/j2ee/clientproject/resources/build-impl.xsl,v
 <--  build-impl.xsl
new revision: 1.14; previous revision: 1.13
done
Checking in api/AppClientProjectGenerator.java;
/cvs/j2ee/clientproject/src/org/netbeans/modules/j2ee/clientproject/api/AppClientProjectGenerator.java,v
 <--  AppClientProjectGenerator.java
new revision: 1.10; previous revision: 1.9
done
Comment 2 Ken Frank 2007-05-30 16:40:31 UTC
What functionality/scenarios can be used to verify this for this area ?

ken.frank@sun.com
Comment 3 Ken Frank 2007-06-19 00:16:40 UTC
see details in reopening information of 97861 - the details are the same.

ken.frank@sun.com
Comment 4 J Bachorik 2007-06-25 15:48:49 UTC
The project updates the default encoding (FEQ.setDefaultEncoding())
when the encoding is changed in the project's customizer.

Checking in AppClientProjectProperties.java;
/cvs/j2ee/clientproject/src/org/netbeans/modules/j2ee/clientproject/ui/customizer/AppClientProjectProperties.java,v  <--
 AppClientProjectProperties.java
new revision: 1.11; previous revision: 1.10
Comment 5 J Bachorik 2007-06-28 07:51:32 UTC
the fix does all the reporter required in the initial description. closing the issue. if you have concerns about how the
FEQ is used, plz, file additional bugs/RFEs
Comment 6 Ken Frank 2007-07-07 18:40:47 UTC
verified - app client project uses global encoding prop

and changing that prop of app client, the next project uses that encoding

ken.frank@sun.com