ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49356] javac task is ignoring source and target
Date Sun, 30 May 2010 07:03:20 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49356

J.M. (Martijn) Kruithof <jkf@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from J.M. (Martijn) Kruithof <jkf@apache.org> 2010-05-30 03:03:18 EDT
---
Using the following build file


<?xml version="1.0"?>
<project default="test" name="test">

    <target name ="test">
        <delete dir="$basedir}/classes"/>
        <mkdir dir="${basedir}/classes/5f/"/>
        <mkdir dir="${basedir}/classes/6f/"/>
        <mkdir dir="${basedir}/classes/5nf/"/>
        <mkdir dir="${basedir}/classes/6nf/"/>
        <javac debug="on" 
                fork="true"
                source="1.5"
                target="1.5"
                destdir="${basedir}/classes/5f/" 
                srcdir="${basedir}/src"
                includeantruntime="false"/>
        <javac debug="on" 
                fork="true"
                destdir="${basedir}/classes/6f/" 
                srcdir="${basedir}/src"
            includeantruntime="false"/>
        <javac debug="on" 
                fork="false"
                source="1.5"
                target="1.5"
                destdir="${basedir}/classes/5nf/" 
                srcdir="${basedir}/src"
            includeantruntime="false"/>
        <javac debug="on" 
                fork="false"
                destdir="${basedir}/classes/6nf/" 
                srcdir="${basedir}/src"
            includeantruntime="false"/>
    </target>
</project>


classes in compiled to version 5: 0000000: cafe babe 0000 0031 
classes in compiled to version 6: 0000000: cafe babe 0000 0032
forking or not does not influence the result.

Are you sure the destination dir did not contain pre-compiled classes or
classes? / classes compiled by another target?


Please verify the above build file in your environment, and check whether the
problem is reproducible.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message