Native2Ascii 任务不起作用 [英] Native2Ascii task not working

查看:24
本文介绍了Native2Ascii 任务不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆