That would have been my guess, too, but using some other make file and
letting it run with several iterations works just fine.
That's why I'm looking for something I maybe doing wrong with Ant.
"Ma, Jian" <[EMAIL PROTECTED]>
18.01.2002 06:53
Bitte antworten an "Ant Users List"
An: "'Ant Users List'" <[EMAIL PROTECTED]>
Kopie:
Thema: RE: Antwort: Re: compile error
why don't you try to compile the class it complains about using command
line:
javac yourClass.java
If it still complains, it means that class has some problem. Most likely
it
implements an interface without providing implementation for all the
declared methods or it extends from a super class but doesn't override
some
abstract method declared in the super class.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 17, 2002 9:50 PM
To: Ant Users List
Subject: Antwort: Re: compile error
sure!
I'm using Java 1.2.2.0.6, Ant 1.41.
The target producing the problem is:
<target name="build_compile" depends="create_dir">
<echo message="${java.vm.version}"/>
<echo message="${java.vm.name}"/>
<echo message="${java.version}"/>
<javac
srcdir="${srcDir}"
destdir="${destDir}"
classpathref="classpath"
deprecation="off"
debug="off"
depend="on"
verbose="off"
failonerror="on"
optimize="off"
fork="YES"
memoryInitialSize="64m"
memoryMaximumSize="1024m"/>
</target>
the classpath ref is:
<path id="classpath">
<pathelement path="${cPatchPath3}"/>
<pathelement path="${cPatchPath2}"/>
<pathelement path="${cPatchPath1}"/>
<pathelement path="${cPath}"/>
</path>
the properties are:
<property name="cHome" value="../"/>
<property name="cPath" value="${cHome}MCBS_Home"/>
<property name="cPatchPath1" value="${cHome}Release/${cPatch1}"/>
<property name="cPatchPath2" value="${cHome}Release/${cPatch2}"/>
<property name="cPatchPath3" value="${cHome}Release/${cPatch3}"/>
any guess?
Thanks sofar!
Hauke
"Nico Seessle" <[EMAIL PROTECTED]>
17.01.2002 21:28
Bitte antworten an "Ant Users List"
An: "Ant Users List" <[EMAIL PROTECTED]>
Kopie:
Thema: Re: compile error
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 17, 2002 4:01 PM
Subject: compile error
> While I'm trying to compile round about 2000 java files for a big
project,
>
> the compiling fails with the following messages:
>
> "whatever".class is an abstract class. It can't be instantiated.
>
> That would be fine... if the mentioned would be of an abstract type.
But,
> as you can guess, it isn't!
> Is the something I may be missing?
I don't know. In general it's not a problem to build projects which
contain
abstract classes without any "tricks" and the error message seems to be a
compiler message, not an Ant error.
Can you tell us more about your environment? OS, Java version, Ant
version,
maybe the part of the buildfile that causes this problem?
Nico
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>