Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 7117 invoked from network); 7 Jul 2006 00:54:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Jul 2006 00:54:27 -0000 Received: (qmail 44977 invoked by uid 500); 7 Jul 2006 00:54:22 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 44517 invoked by uid 500); 7 Jul 2006 00:54:21 -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 44505 invoked by uid 99); 7 Jul 2006 00:54:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jul 2006 17:54:20 -0700 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=MAILTO_TO_SPAM_ADDR X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [216.148.227.154] (HELO rwcrmhc14.comcast.net) (216.148.227.154) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jul 2006 17:54:20 -0700 Received: from wcx1000 (c-71-198-217-54.hsd1.ca.comcast.net[71.198.217.54]) by comcast.net (rwcrmhc14) with SMTP id <20060707005358m14009kakme>; Fri, 7 Jul 2006 00:53:58 +0000 From: "bill/wilandra" To: "'Ant Users List'" Subject: RE: Migration problem, Windows to Linux (how to unsubscribe) Date: Thu, 6 Jul 2006 17:56:11 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcahW0ZKPpk7eCMoSbSNoJDjP2gRiQABMXXA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 In-Reply-To: X-Virus-Checked: Checked by ClamAV on apache.org Message-Id: <20060707005420.6D22010FB025@asf.osuosl.org> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Read through all the attachments to this email and you will find the = answer stated many times. Bill=20 -----Original Message----- From: Jian Xu [mailto:jxu80@hotmail.com]=20 Sent: Thursday, July 06, 2006 5:19 PM To: user@ant.apache.org Subject: Re: Migration problem, Windows to Linux (how to unsubscribe) Hi, Can somebody tell me how to get me off the mailing list? I tried = everything and still receiving all these emails. Your help is much appreciated. Thanks Jian >From: "Fredrik Andersson" >Reply-To: "Ant Users List" >To: "Ant Users List" >Subject: Re: Migration problem, Windows to Linux >Date: Wed, 05 Jul 2006 14:51:56 +0100 > >Thanks for the tip I did encoding=3D"ISO-8859-1" under my java compile=20 >options and it works better now :) > >Den 7/5/2006, skrev "Jeffrey E Care" : > > >You should be able to set the encoding javac uses to read your files; >that > >would only require updating your build.xml. > > > >_____________________________________________________________________ > >_______________________ > > > >Jeffrey E. (Jeff) Care > >carej@us.ibm.com > >IBM WebSphere Application Server Development WAS Pyxis Lead Release=20 > >Engineer > > > > > > > > > > > > > >"Fredrik Andersson" > >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/ForsenadeControll= er. java: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/ForsenadeControll= er. java:38: > >warning: unmappable character for encoding UTF8 > > > > > >Seems to be a problem with the swedish chars. Can I fix this in a=20 > >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=20 > >>> 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=20 > >>> I >try > >>> to compile I get the following messages from ant. > >>> > >>> [javac] Compiling 81 source files to=20 > >>> /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/LanguageControlle= r.j ava:67: > >>> illegal character: \64 > >>> [javac] @Override > >>> [javac] ^ > >>> [javac] > >>> > >/root/smc_projekt/Application/src/java/nu/absmc/action/LanguageControlle= r.j ava:76: > >>> illegal character: \64 > >>> [javac] @Override > >>> [javac] ^ > >>> [javac] > >>> > >/root/smc_projekt/Application/src/java/nu/absmc/action/LanguageControlle= r.j ava: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] > >>> > >/root/smc_projekt/Application/src/java/nu/absmc/type/LanguageBean.java:9= 1: > >>> illegal character: \64 > >>> [javac] @Override > >>> [javac] ^ > >>> [javac] > >>> > >/root/smc_projekt/Application/src/java/nu/absmc/type/LanguageBean.java:1= 03: > >>> expected > >>> [javac] ^ > >>> [javac] 10 errors > >>> > >>> > >>> Now these are files that compiles perfectly on windows. What can=20 > >>> be >the > >>> source of the problem? I'm clueless. > >>> > >>> Thanks in advance =3D) > >>> > >>> ------------------------------------------------------------------ > >>> --- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For=20 > >>> additional commands, e-mail: user-help@ant.apache.org > >>> > >>> > >>As I see (from the @Override and clauses) your source=20 > >>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=20 > >>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=20 > >>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=20 > >>additional commands, e-mail: user-help@ant.apache.org > >> > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For=20 > >additional commands, e-mail: user-help@ant.apache.org > > > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional=20 >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