ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Zabel" <...@ezabel.com>
Subject Re: "Unclosed comment" error with jdk1.4.1 while compiling
Date Thu, 05 Sep 2002 21:08:40 GMT
I am an avid IntelliJ IDEA fan, and am using Aradnia build 644, but for the
life of me, I can't figure out what keypresses you could be talking about to
fix this.. Please enlighten me : )

Ian.


----- Original Message -----
From: "Steve Loughran" <steve_l@iseran.com>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Thursday, September 05, 2002 4:13 PM
Subject: Re: "Unclosed comment" error with jdk1.4.1 while compiling


>
> ----- Original Message -----
> From: "Ian Zabel" <ian@ezabel.com>
> To: "Ant Users List" <ant-user@jakarta.apache.org>
> Sent: Thursday, September 05, 2002 10:04 AM
> Subject: Re: "Unclosed comment" error with jdk1.4.1 while compiling
>
>
> > I am reasonably sure that I can compiling with javac, not jikes. And I
> tried
> > compiling with different parameters, to no avail.
> >
> > Here's some output:
> > <project name="Build Script" default="compile" basedir=".">
> >     <target name="init">
> >         <echo message="Java Version: ${java.version}"/>
> >         <echo/>
> >         <property name="appname" value="Order-It"/>
> >         <property name="packages" value="com.cirqit.*" />
> >         .. some properties
> >     </target>
> >     <target name="compile" depends="init" description="Compiles all
> classes.
> > Run clean first if you switch jdks.">
> >         <javac srcdir="${src}" destdir="${build.classesdir}"/>
> >     </target>
> > </project>
> >
> > When running JDK1.4.1RC gives this:
> >
> > init:
> >      [echo] Java Version: 1.4.1-rc
> > compile:
> >     [javac] Compiling 295 source files to D:\OrderIt\build\classes
> >     [javac]
> >
>
D:\OrderIt\Order-It_6_currproject_src\com\cirqit\core\estimates\CqtEmailLog.
> > java:228: unclosed comment
> >     [javac] } // end class CqtEmailLog
> >     [javac]   ^
> >     [javac]
> >
>
D:\OrderIt\Order-It_6_currproject_src\com\cirqit\core\estimates\CqtEmailLogA
> > ddress.java:31: unclosed comment
> >     [javac] } // end class CqtEmailLogAddress
> >     [javac]   ^
> >     [javac]
> >
>
D:\OrderIt\Order-It_6_currproject_src\com\cirqit\core\estimates\CqtEstimateC
> > ustomField.java:57: unclosed comment
> >     [javac] //end CqtEstimateCustomField.java
> >     [javac] ^
> >     [javac]
> >
>
D:\OrderIt\Order-It_6_currproject_src\com\cirqit\core\estimates\CqtEstimateR
> > eference.java:65: unclosed comment
> >     [javac] // *** End Of CqtEstimateReference.java
> >     [javac] ^
> >     [javac]
> >
>
D:\OrderIt\Order-It_6_currproject_src\com\cirqit\core\estimates\CqtEstimateS
> > pecKey.java:152: unclosed comment
> >     [javac] // *** End Of CqtEstimateSpecKey.java
> >     [javac] ^
> >     [javac]
> >
>
D:\OrderIt\Order-It_6_currproject_src\com\cirqit\core\headers\CqtClientHdrs.
> > java:92: unclosed comment
> >     [javac] // *** End Of CqtClientHdrs.java
> >     [javac] ^
>
> I'd argue it's just a fussiness of the compiler, but the way it apparently
> works on the cmd line but not from ant surprises me. Nothing springs to
mind
> other than using something to clean up the source; I know in idea3.0 (in
> beta) I can do that for all the files in a project with two keypresses. Or
> do some sed search and replace to add a line ending to the comments.
>
> I think you may also be on the bleeding edge with Java1.4.1: has anyone
run
> the full ant test suite on this java version yet?
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message