I use "$JAVA_HOME/bin/native2ascii -encoding UTF8" command to convert the
file. But maven native2ascii convert the file have the same result with the
command "$JAVA_HOME/bin/navite2ascii" without the encoding specification. So
the problem is that maven will ignore the encoding tag, won't it?

Dan Tran wrote:
> 
> how different?
> 
> On Sat, Jul 5, 2008 at 2:02 AM, youhaodeyi <[EMAIL PROTECTED]> wrote:
>>
>> I use native2ascii plugin to convert my resource files. This is my
>> configuration in pom file:
>>                <plugin>
>>                                <groupId>org.codehaus.mojo</groupId>
>>                               
>> <artifactId>native2ascii-maven-plugin</artifactId>
>>                                <configuration>
>>                                       
>> <src>src/test/java/ui/demo/i18n</src>
>>                                        <dest>classes/ui/demo/i18n</dest>
>>                                </configuration>
>>                                <executions>
>>                                        <execution>
>>                                                <goals>
>>                                                       
>> <goal>native2ascii</goal>
>>                                                </goals>
>>                                                <!-- specific
>> configurations -->
>>                                                <configuration>
>>                                                       
>> <encoding>UTF8</encoding>
>>                                                </configuration>
>>                                        </execution>
>>                                </executions>
>>
>>                        </plugin>
>> One problem is that when I use mvn native2ascii:native2ascii to do the
>> job,
>> the result file is different with when I use $JAVA_HOME/bin/native2ascii
>> command? why?
>>
>> The other issue is that how can I let this goat to replace the existed
>> file?
>> --
>> View this message in context:
>> http://www.nabble.com/Two-questions-about-native2ascii-plugin-tp18290230p18290230.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Two-questions-about-native2ascii-plugin-tp18290230p18298111.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to