[
http://jira.codehaus.org/browse/MEVENIDE-633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Milos Kleint updated MEVENIDE-633:
----------------------------------
Affects Version/s: NB_3.1
Fix Version/s: NB_3.2
Component/s: (was: mevenide-netbeans)
mevenide2-netbeans
where (which folder) are you creating the xhtml file?
I'm wondering if setting this property "project.build.sourceEncoding" with value UTF-8 fixes your problem?
I suppose the problem is in the fact that maven so far doesn't have a generic idea about projects encoding. so I'm trying to check the compiler plugin for sources/test sources (each can have different encodings)
and then resources plugin for resource roots.
any other source root is ignored I think (which reminds me we should check the source root of the website and assign encoding by content of site-plugin configuration)
however it's changing now on maven side
http://docs.codehaus.org/display/MAVENUSER/POM+Element+for+Source+File+Encoding, that's where the property is coming from.
The property is currently used in the IDE if no "plugin specific" encodings are found. however the currently released versions of plugins don't make use of it AFAIK.
> Default encoding for xhtml file in netbeans
> -------------------------------------------
>
> Key: MEVENIDE-633
> URL:
http://jira.codehaus.org/browse/MEVENIDE-633> Project: mevenide
> Issue Type: Bug
> Components: mevenide2-netbeans
> Affects Versions: NB_3.1
> Environment: windows xp, netbeans 6.1, maven plugin 3.1.1
> Reporter: Jiri Pejchal
> Assignee: Milos Kleint
> Fix For: NB_3.2
>
>
> When I set encoding in Netbeans for a web project to UTF-8 and do a right click on project name in
> Projects: New -> New xhtml file and the file has no declared encoding in meta tag,
> than UTF-8 is used for that file.
> However when I right click on a maven project and create an xhtml file without
> encoding declaration in the meta tag, the platform encoding is used (cp-1250 in my case).
> I have maven plugin 3.1.1 and Project properties (right click on a maven project with letters 'ma') ->
> Sources -> Encoding set to UTF-8.
> With encoding declaration in the meta tag everything is OK, but I need to include the xhtml
> file to another one in facelets.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email