Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 17716 invoked from network); 5 Jul 2006 13:49:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Jul 2006 13:49:54 -0000 Received: (qmail 10973 invoked by uid 500); 5 Jul 2006 13:49:50 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 10738 invoked by uid 500); 5 Jul 2006 13:49:49 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 10727 invoked by uid 99); 5 Jul 2006 13:49:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jul 2006 06:49:49 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [193.15.228.1] (HELO r2m.se) (193.15.228.1) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jul 2006 06:49:48 -0700 Received: (qmail 21378 invoked by uid 1034); 5 Jul 2006 13:49:26 -0000 Received: from 193.15.228.2 by mailgw (envelope-from , uid 1002) with qmail-scanner-1.25 ( Clear:RC:1(193.15.228.2):. Processed in 1.091211 secs); 05 Jul 2006 13:49:26 -0000 Received: from www.r2m.se (193.15.228.2) by r2m.se with SMTP; 5 Jul 2006 13:49:25 -0000 Received: from 192.168.1.14 (auth. user andersson@mail.r2m.se) by www.r2m.se with HTTP; Wed, 05 Jul 2006 14:49:25 +0100 To: "Ant Users List" Subject: Re: Migration problem, Windows to Linux Date: Wed, 05 Jul 2006 14:49:25 +0100 X-Mailer: IlohaMail/0.8.14 (On: www.r2m.se) Message-ID: In-Reply-To: From: "Fredrik Andersson" Bounce-To: "Fredrik Andersson" Errors-To: "Fredrik Andersson" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Do you know the syntax? is it something like encoding=3D""? Den 7/5/2006, skrev "Jeffrey E Care" : >You should be able to set the encoding javac uses to read your files; that= =20 >would only require updating your build.xml. > >____________________________________________________________________________= ________________=20 > >Jeffrey E. (Jeff) Care=20 >carej@us.ibm.com=20 >IBM WebSphere Application Server Development=20 >WAS Pyxis Lead Release Engineer=20 > > > > > > >"Fredrik Andersson" =20 >07/05/2006 09:34 AM >Please respond to >"Ant Users List" > > >To >"Ant Users List" >cc > >Subject >Re: Migration problem, Windows to Linux > > > > > > >Hi > >It turned out that my JAVA_HOME variabel was not set. I pointed it to my >Java 5.0 installation and now it spews out a ton of these messages. > >[javac] >/root/smc_projekt/Application/src/java/nu/absmc/action/ForsenadeController.j= ava:10: >warning: unmappable character for encoding UTF8 > [javac] * Controller class for the F=EF=BF=BDrsenade portlet. > [javac] ^ > [javac] >/root/smc_projekt/Application/src/java/nu/absmc/action/ForsenadeController.j= ava:38: >warning: unmappable character for encoding UTF8 > > >Seems to be a problem with the swedish chars. Can I fix this in a simple >way or do I have to edit and save all file over and over? > >Den 7/5/2006, skrev "Petar Tahchiev" : > >>On 05/07/06, Fredrik Andersson 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=20 >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] >>>=20 >/root/smc_projekt/Application/src/java/nu/absmc/action/LanguageController.ja= va:67: >>> illegal character: \64 >>> [javac] @Override >>> [javac] ^ >>> [javac] >>>=20 >/root/smc_projekt/Application/src/java/nu/absmc/action/LanguageController.ja= va:76: >>> illegal character: \64 >>> [javac] @Override >>> [javac] ^ >>> [javac] >>>=20 >/root/smc_projekt/Application/src/java/nu/absmc/action/LanguageController.ja= va:81: >>> 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] >>>=20 >/root/smc_projekt/Application/src/java/nu/absmc/type/LanguageBean.java:91: >>> illegal character: \64 >>> [javac] @Override >>> [javac] ^ >>> [javac] >>>=20 >/root/smc_projekt/Application/src/java/nu/absmc/type/LanguageBean.java:103: >>> 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 =3D) >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >>> For additional commands, e-mail: user-help@ant.apache.org >>> >>> >>As I see (from the @Override and clauses) your source >>code is written in Java 1.5. And the compiler is complaining because >>he does not identify those clauses. First of all you should check your >>$JAVA_HOME to see what version of javac you are using. Also you could >>specify the >>source=3D"1.5" directive to the javac task. >> >>Please try these and repost to tell us if those had any effect. In >>addition to post here what $JAVA_HOME env variable you have. >> >>Hope that helps. >> >>-- >>Regards, Petar! >>Karlovo, Bulgaria. >> >>--------------------------------------------------------------------- >>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 > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org