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