You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by David Shepherd <da...@practiv.com> on 2000/11/03 02:46:45 UTC

jikes failing but javac ok

I'm having getting jikes to compile some files from ant that javac will
compile ok

I get the following message
    [javac] Compiling 537 source files to D:\home\classes
    [javac]
    [javac] Issued 1 system warning:
    [javac]
    [javac] *** Caution: The input file "jikes" does not have the ".java"
extension.

and the build fails.  I'm fairly sure that jikes is actually compiling all
the files successfully.
Using javac instead works fine but takes about 10 times as long.

Anyone else had this problem?

Revelant parts of build.xml follow.

	<property name="build.compiler" value="jikes"/>

	<property name="build.compiler.emacs" value="off"/>
	<property name="build.compiler.warnings" value="true"/>
	<property name="build.compiler.pedantic" value="false"/>
	<property name="build.compiler.depend" value="true"/>

	<target name="compileFpArch" >
		<mkdir dir="${classes}" />

		<javac srcdir="${fpArchSources}" destdir="${classes}" deprecation="off"
debug="on" >

		    <exclude name="**/css_ed/**"/>
	            <exclude name="**/bonds/**"/>
	            <exclude name="**/extrn/**"/>
		</javac>
	</target>

Thanks in advance
David Shepherd
Practiv (NZ)


Re: jikes failing but javac ok

Posted by Stefan Bodewig <bo...@bost.de>.
>>>>> "DS" == David Shepherd <da...@practiv.com> writes:

 DS> I'm having getting jikes to compile some files from ant that
 DS> javac will compile ok

A known bug in Ant 1.1 that has been fixed in 1.2. See
<http://znutar.cortexity.com:8888/BugRatViewer/ShowBug/31>.

Stefan

Re: jikes failing but javac ok

Posted by Nico Seessle <Ni...@epost.de>.
----- Original Message -----
From: "David Shepherd" <da...@practiv.com>
To: <an...@jakarta.apache.org>
Sent: Friday, November 03, 2000 2:46 AM
Subject: jikes failing but javac ok


> I'm having getting jikes to compile some files from ant that javac will
> compile ok
>
> I get the following message
>     [javac] Compiling 537 source files to D:\home\classes
>     [javac]
>     [javac] Issued 1 system warning:
>     [javac]
>     [javac] *** Caution: The input file "jikes" does not have the ".java"
> extension.
>
> and the build fails.  I'm fairly sure that jikes is actually compiling all
> the files successfully.
> Using javac instead works fine but takes about 10 times as long.
>

Which ant-version? What does ant say if you call it with the option -debug
(-verbose in ant 1.1, although you should update to 1.2 then and try again)

Nico