ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius" <dbros...@qis.net>
Subject Re: convert ascii to ebcdic files using ant
Date Tue, 12 Apr 2005 02:02:23 GMT
You could always write a CharSetProvider for ebcdic if your jvm didn't 
support it natively. They are pretty simple to write so long
as you are clear to how the encoding actually works. In fact i'd be 
surprised if there wasn't a freely available one already available.

----- Original Message ----- 
From: "Matt Benson" <gudnabrsam@yahoo.com>
To: "Ant Users List" <user@ant.apache.org>; "Mark Lybarger" 
<mlybarger@gmail.com>
Sent: Monday, April 11, 2005 4:24 PM
Subject: Re: convert ascii to ebcdic files using ant


> It's an encoding.  You should be able to specify it
> with the copy task, assuming your JRE supports it.
>
> -Matt
>
> --- Mark Lybarger <mlybarger@gmail.com> wrote:
>> can i use an ant copy task and specify the encoding
>> there?
>>
>> I'm not finding the Cp1047 that Matt suggested? Is
>> this an ant task?
>>
>> On Apr 11, 2005 4:17 PM, Jeffrey E Care
>> <carej@us.ibm.com> wrote:
>> >
>> > If you're using an IBM JDK then it probably has
>> support for cp1047
>> > encodings.
>> >
>> > JEC
>> > --
>> > Jeffrey E. Care (carej@us.ibm.com)
>> > WebSphere Build SWAT Team Lead
>> > WebSphere Build Tooling Lead (Project Mantis)
>> > https://w3.opensource.ibm.com/projects/mantis
>> >
>> > "Dominique Devienne" <DDevienne@lgc.com> wrote on
>> 04/11/2005 04:03:49 PM:
>> >
>> > > > From: Mark Lybarger
>> [mailto:mlybarger@gmail.com]
>> > > >
>> > > > is there a way using ant to convert a folder
>> full of ascii text files
>> > > into
>> > > > ebcdic files? we're pulling cvs on a linux box
>> and want to be able to
>> > > > build
>> > > > the ear for deployment on zos. for some
>> reason, some of the files
>> > > _have_
>> > > > to
>> > > > be ebcdic encoded files. i think the issue is
>> that the ebcdic files
>> > > are
>> > > > being looked at only by the IBM Http Server,
>> and not by the WAS
>> > > server.
>> > > >
>> > > > anyway, suggestions would be welcome.
>> > >
>> > > <copy> now has an 'outputencoding' attribute.
>> But EBCDIC is not part of
>> > > the standard set of charsets supported by Java
>> (US-ASCII, ISO-8859-1,
>> > > and various UTF-8 and UTF-16) are. But it also
>> mentions more charsets
>> > > may be available. I don't know more, sorry. --DD
>> > >
>> > >
>>
> ---------------------------------------------------------------------
>> > > To unsubscribe, e-mail:
>> user-unsubscribe@ant.apache.org
>> > > For additional commands, e-mail:
>> user-help@ant.apache.org
>> > >
>> >
>> >
>>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Small Business - Try our new resources site!
> http://smallbusiness.yahoo.com/resources/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message