ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bill/wilandra" <b...@wilandra.com>
Subject RE: Migration problem, Windows to Linux (how to unsubscribe)
Date Fri, 07 Jul 2006 00:56:11 GMT
Read through all the attachments to this email and you will find the answer
stated many times. Bill 

-----Original Message-----
From: Jian Xu [mailto:jxu80@hotmail.com] 
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" <andersson@r2m.se>
>Reply-To: "Ant Users List" <user@ant.apache.org>
>To: "Ant Users List" <user@ant.apache.org>
>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" <carej@us.ibm.com>:
>
> >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 
> >Engineer
> >
> >
> >
> >
> >
> >
> >"Fredrik Andersson" <andersson@r2m.se>
> >07/05/2006 09:34 AM
> >Please respond to
> >"Ant Users List" <user@ant.apache.org>
> >
> >
> >To
> >"Ant Users List" <user@ant.apache.org> 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" <paranoiabla@gmail.com>:
> >
> >>On 05/07/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.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: user-unsubscribe@ant.apache.org For 
> >>> additional commands, e-mail: user-help@ant.apache.org
> >>>
> >>>
> >>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: 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
>



---------------------------------------------------------------------
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