ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hauke.stam...@mobilcom.de
Subject Antwort: Re: compile error
Date Fri, 18 Jan 2002 05:50:01 GMT
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" <nico@apache.org>
17.01.2002 21:28
Bitte antworten an "Ant Users List"

 
        An:     "Ant Users List" <ant-user@jakarta.apache.org>
        Kopie: 
        Thema:  Re: compile error


----- Original Message -----
From: <hauke.stammer@mobilcom.de>
To: <ant-user@jakarta.apache.org>
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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message