1.      converting the Application resource file in struts by native2ascii
tool,

In this process all polish special characters are converted to Unicode.

 After i enter and save your properties in UTF-8 format, 

 I  then use native2ascii to covert that into ASCII.

 the converted ASCII file will be the resource file read by Java Struts
Framework.

2.      Running ANT for compiling the source and generating war file for
deployment and packing foe sending to customer.

 

 

  _____  

From: Niranjan Deshpande [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 13, 2008 5:11 PM
To: [EMAIL PROTECTED]
Subject: Re: native2ascii in build.xml

 

please elaborate the two steps properly.

On 6/13/08, Raghuveer <[EMAIL PROTECTED]> wrote: 

I am working on multilingual JSP Struts application.

I need to convert the polish characters in my "messages.properties" file to
Unicode by native2ascci from command prompt before running ant.

 

Instead of this 2 step process I have planned to make it in single step.

 

Please advice?

 

 

  _____  

From: Niranjan Deshpande [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 13, 2008 3:54 PM
To: Ant Users List; [EMAIL PROTECTED]
Subject: Re: native2ascii in build.xml

 

I think ant has a seprate task in ant

 

<native2ascii encoding="" src="" dest="" includes=""/>

hth

 

 

On 6/13/08, Raghuveer <[EMAIL PROTECTED]> wrote: 

How to implement in my ant buil.xml



native2ascii -encoding utf-8 d:\t\utf\1.txt d:\t\utf\\2.txt




-- 
Regards,
Niranjan Deshpande

"Shut yourself from the world and create the reality you want" 




-- 
Regards,
Niranjan Deshpande

"Shut yourself from the world and create the reality you want" 

Reply via email to