ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <ddevie...@gmail.com>
Subject Re: Migration problem, Windows to Linux
Date Wed, 05 Jul 2006 13:10:35 GMT
This is probably an encoding issue. Your @ or capital-O caracters may
not be the ASCII kind, but some variant. Verify this by running od -c
on one of the file, and if you don't get an @ or O were you expect,
that's the likely issue. --DD

On 7/5/06, Fredrik Andersson <andersson@r2m.se> wrote:
> Hi all
>
> I'm currently trying to migrate a J2EE project from a Windows platform
> to a Linux platform.
>
> I have cofigured the build.xml file accordingly to my setup on the linux
> platform. I have the same java setup on the linux server but when I try
> to compile I get the following messages from ant.
>
> [javac] Compiling 81 source files to
> /root/smc_projekt/ant/war/WEB-INF/classes
>    [javac] error: IO exception sun.io.MalformedInputException
>    [javac]
> /root/smc_projekt/Application/src/java/nu/absmc/action/LanguageController.java:67:
> illegal character: \64
>    [javac]     @Override
>    [javac]         ^
>    [javac]
> /root/smc_projekt/Application/src/java/nu/absmc/action/LanguageController.java:76:
> illegal character: \64
>    [javac]     @Override
>    [javac]         ^
>    [javac]
> /root/smc_projekt/Application/src/java/nu/absmc/action/LanguageController.java:81:
> <identifier> expected
>    [javac]
>    [javac] ^
>    [javac] error: IO exception sun.io.MalformedInputException
>    [javac] error: IO exception sun.io.MalformedInputException
>    [javac] error: IO exception sun.io.MalformedInputException
>    [javac] error: IO exception sun.io.MalformedInputException
>    [javac]
> /root/smc_projekt/Application/src/java/nu/absmc/type/LanguageBean.java:91:
> illegal character: \64
>    [javac]     @Override
>    [javac]         ^
>    [javac]
> /root/smc_projekt/Application/src/java/nu/absmc/type/LanguageBean.java:103:
> <identifier> expected
>    [javac] ^
>    [javac] 10 errors
>
>
> Now these are files that compiles perfectly on windows. What can be the
> source of the problem? I'm clueless.
>
> Thanks in advance =)
>
> ---------------------------------------------------------------------
> 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