with Hardy's help, we found those files were originally using 'windoes-1251'
encoding.
don't know why it fails on my fedora but works on my mac.
anyway, i'm using iconv to convert them to UTF-8 again.
wrt m9, I did try to migrate to it, but there are lots of deprecated methods removed, and
I haven't found time to upgrade our plugins
-------------------------
Best Regards,
Strong Liu <stliu at hibernate.org>
http://about.me/stliu/bio
On Mar 19, 2012, at 10:38 PM, Steve Ebersole wrote:
Seems like we need to set the file encoding to use to
'UTF-8'. Why this changed for you (I assume it did not fail previously), I have
no idea. Did you change something on your system? Like move to m9 maybe?
On 03/19/2012 08:29 AM, Strong Liu wrote:
> any idea?
>
>
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/CollectionMetadataGenerator.java:97:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/CollectionMetadataGenerator.java:97:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/CollectionMetadataGenerator.java:97:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/EntityConfiguration.java:34:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/EntityConfiguration.java:34:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/EntityConfiguration.java:34:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/OneToOneNotOwningMapper.java:36:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/OneToOneNotOwningMapper.java:36:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/OneToOneNotOwningMapper.java:36:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/ToOneIdMapper.java:40:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/ToOneIdMapper.java:40:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/ToOneIdMapper.java:40:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/ToOneDelegateSessionImplementor.java:35:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/ToOneDelegateSessionImplementor.java:35:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/ToOneDelegateSessionImplementor.java:35:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/event/BaseEnversCollectionEventListener.java:50:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/event/BaseEnversCollectionEventListener.java:50:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/event/BaseEnversCollectionEventListener.java:50:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/event/BaseEnversEventListener.java:44:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/event/BaseEnversEventListener.java:44:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/event/BaseEnversEventListener.java:44:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/event/EnversPostCollectionRecreateEventListenerImpl.java:33:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/event/EnversPostCollectionRecreateEventListenerImpl.java:33:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/event/EnversPostCollectionRecreateEventListenerImpl.java:33:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/event/EnversPostDeleteEventListenerImpl.java:35:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/event/EnversPostDeleteEventListenerImpl.java:35:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/event/EnversPostDeleteEventListenerImpl.java:35:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/event/EnversPostInsertEventListenerImpl.java:35:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/event/EnversPostInsertEventListenerImpl.java:35:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/event/EnversPostInsertEventListenerImpl.java:35:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/event/EnversPostUpdateEventListenerImpl.java:35:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/event/EnversPostUpdateEventListenerImpl.java:35:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/event/EnversPostUpdateEventListenerImpl.java:35:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/event/EnversPreCollectionRemoveEventListenerImpl.java:33:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/event/EnversPreCollectionRemoveEventListenerImpl.java:33:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/event/EnversPreCollectionRemoveEventListenerImpl.java:33:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/event/EnversPreCollectionUpdateEventListenerImpl.java:33:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/event/EnversPreCollectionUpdateEventListenerImpl.java:33:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/event/EnversPreCollectionUpdateEventListenerImpl.java:33:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/query/AuditQueryCreator.java:38:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/query/AuditQueryCreator.java:38:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/query/AuditQueryCreator.java:38:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/query/impl/AbstractAuditQuery.java:50:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/query/impl/AbstractAuditQuery.java:50:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/query/impl/AbstractAuditQuery.java:50:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/query/impl/EntitiesAtRevisionQuery.java:40:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/query/impl/EntitiesAtRevisionQuery.java:40:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/query/impl/EntitiesAtRevisionQuery.java:40:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/query/impl/RevisionsOfEntityQuery.java:39:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/query/impl/RevisionsOfEntityQuery.java:39:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/query/impl/RevisionsOfEntityQuery.java:39:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/tools/Tools.java:47:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/tools/Tools.java:47:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
>
/home/stliu/projects/hibernate-orm/hibernate-envers/src/main/java/org/hibernate/envers/tools/Tools.java:47:
unmappable character for encoding ASCII
> * @author Hern???n Chanfreau
> ^
> 54 errors
>
> FAILURE: Build failed with an exception.
>
> * What went wrong:
> Execution failed for task ':hibernate-envers:generateJpaMetamodelClasses'.
> Cause: Compile failed; see the compiler error output for details.
>
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
>
> BUILD FAILED
>
> Total time: 11.524 secs
>
> -------------------------
> Best Regards,
>
> Strong Liu<stliu at hibernate.org>
>
http://about.me/stliu/bio
>
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/hibernate-dev
--
steve(a)hibernate.org
http://hibernate.org