You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by EJ Ciramella <ec...@archivas.com> on 2005/08/24 20:40:35 UTC
problems using loadfile
I'm trying to mimic "cat sometar.tar > scriptfile.sh" using
loadfile. This works properly on our slackware box, but when run on
a FedoraCore 4 box, I get:
Unable to load file: sun.io.MalformedInputException
Setting the encoding to ISO-8859-1 ruins the gzip format of the tar
file.
Any suggestions? I'm trying to avoid execing cat > scriptfile.sh
like the plague.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: problems using loadfile
Posted by EJ Ciramella <ec...@archivas.com>.
Now I'm trying to use concat - but is there a way to contact a text
file AND a binary file?
I'm trying to generate a shr file (some shell scripting at the top
and then the tar at the bottom).
On Aug 24, 2005, at 2:40 PM, EJ Ciramella wrote:
> I'm trying to mimic "cat sometar.tar > scriptfile.sh" using
> loadfile. This works properly on our slackware box, but when run
> on a FedoraCore 4 box, I get:
>
> Unable to load file: sun.io.MalformedInputException
>
> Setting the encoding to ISO-8859-1 ruins the gzip format of the tar
> file.
>
> Any suggestions? I'm trying to avoid execing cat > scriptfile.sh
> like the plague.
>
> ---------------------------------------------------------------------
> 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