Read through all the attachments to this email and you will find the answer stated many times. Bill
-----Original Message----- From: Jian Xu [mailto:[EMAIL PROTECTED] Sent: Thursday, July 06, 2006 5:19 PM To: [email protected] 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" <[EMAIL PROTECTED]> >Reply-To: "Ant Users List" <[email protected]> >To: "Ant Users List" <[email protected]> >Subject: Re: Migration problem, Windows to Linux >Date: Wed, 05 Jul 2006 14:51:56 +0100 > >Thanks for the tip I did encoding="ISO-8859-1" under my java compile >options and it works better now :) > >Den 7/5/2006, skrev "Jeffrey E Care" <[EMAIL PROTECTED]>: > > >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 > >[EMAIL PROTECTED] > >IBM WebSphere Application Server Development WAS Pyxis Lead Release > >Engineer > > > > > > > > > > > > > >"Fredrik Andersson" <[EMAIL PROTECTED]> > >07/05/2006 09:34 AM > >Please respond to > >"Ant Users List" <[email protected]> > > > > > >To > >"Ant Users List" <[email protected]> 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. java:10: > >warning: unmappable character for encoding UTF8 > > [javac] * Controller class for the F�rsenade portlet. > > [javac] ^ > > [javac] > >/root/smc_projekt/Application/src/java/nu/absmc/action/ForsenadeController. java: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" <[EMAIL PROTECTED]>: > > > >>On 05/07/06, Fredrik Andersson <[EMAIL PROTECTED]> 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.j ava:67: > >>> illegal character: \64 > >>> [javac] @Override > >>> [javac] ^ > >>> [javac] > >>> > >/root/smc_projekt/Application/src/java/nu/absmc/action/LanguageController.j ava:76: > >>> illegal character: \64 > >>> [javac] @Override > >>> [javac] ^ > >>> [javac] > >>> > >/root/smc_projekt/Application/src/java/nu/absmc/action/LanguageController.j ava: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: [EMAIL PROTECTED] For > >>> additional commands, e-mail: [EMAIL PROTECTED] > >>> > >>> > >>As I see (from the @Override and <Identifier> 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="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: [EMAIL PROTECTED] For > >>additional commands, e-mail: [EMAIL PROTECTED] > >> > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] For > >additional commands, e-mail: [EMAIL PROTECTED] > > > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] For additional >commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
