Native2Ascii 任务不起作用

编程入门 行业动态 更新时间:2024-10-28 04:29:29
本文介绍了Native2Ascii 任务不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

我正在尝试使用 native2ascii ant 任务,但似乎没有做任何事情.这是我的蚂蚁任务:

I'm trying to use the native2ascii ant task but it seems that is not doing anything. Here's my ant task:

<target name="-pre-init">
        <native2ascii src="src/com/bluecubs/xinco/messages" dest="src/com/bluecubs/xinco/messages/test" 
        includes="**/_*.properties"/>
        <copy todir="src/com/bluecubs/xinco/messages">
            <fileset dir="src/com/bluecubs/xinco/messages/test"/>
        </copy>
        <delete dir="src/com/bluecubs/xinco/messages/test" />
</target>

我做了复制部分,看看是否是覆盖问题,但输出的文件完全一样.

I did the copy part to see if it was an overwriting issue but the files come out exactly the same.

这是我运行任务时得到的输出:

This is the output I get when running the task:

Converting 12 files from Z:\Netbeans\Xinco\2.01.xx\Xinco\src\com\bluecubs\xinco\messages to Z:\Netbeans\Xinco\2.01.xx\Xinco\src\com\bluecubs\xinco\messages\test
Copying 12 files to Z:\Netbeans\Xinco\2.01.xx\Xinco\src\com\bluecubs\xinco\messages
Deleting directory Z:\Netbeans\Xinco\2.01.xx\Xinco\src\com\bluecubs\xinco\messages\test

附加信息:操作系统:Windows 7(但答案应该适用于任何 OD)文件编码:Western (ISO-8859-1) 获得此 文章.

Additional information: OS: Windows 7 (but answer should work on any OD) File encoding: Western (ISO-8859-1) obtained with this article.

文件位置

有什么想法吗?

推荐答案

它最终成为一个视图问题.在原始编辑器(即写字板)中查看文件表明文件已被任务转换.从 NetBeans 查看它们显示它们是相同的.

It ended being a view issue. Looking the files in a raw editor (i.e. Wordpad) showed that the files were already converted by the task. Viewing them from NetBeans shows them the same.

这篇关于Native2Ascii 任务不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

更多推荐

[db:关键词]

本文发布于:2023-04-20 10:39:37,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/982166.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:不起作用   Native2Ascii

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!