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 52030] New: Javac Task looses source files when forked and special characters exists in the class name
Date Fri, 14 Oct 2011 14:00:47 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52030

             Bug #: 52030
           Summary: Javac Task looses source files when forked and special
                    characters exists in the class name
           Product: Ant
           Version: 1.8.2
          Platform: Macintosh
            Status: NEW
          Severity: major
          Priority: P2
         Component: Core tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: divan.mostert@c24.biz
    Classification: Unclassified


The following code works for classes with ascii only characters:

<javac source="1.5" target="1.5" sourcepath="" srcdir="${src.dir}"
destdir="${classes.dir}" deprecation="on" debug="on" classpathref="classpath"
fork="true" memoryMaximumSize="@maxMemorySize@" encoding="UTF-8">
            <include name="${app.directory}/**/*.java"/>
        </javac>

However, it fails when compiling clsses with special characters in the class
names:

[iosession]   Task javac started
[iosession]    
/C24/PUB/io-stds/trunk/standards/GSIT/build/test/deployment/build-biz.c24.io.minos.xml:73:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
[iosession]     Compiling 131 source files to
/C24/PUB/io-stds/trunk/standards/GSIT/build/test/deployment/build/classes
[iosession]     javac: file not found:
/C24/PUB/io-stds/trunk/standards/GSIT/build/test/deployment/src/java/biz/c24/io/minos/AléaChiffréClass.java
[iosession]     Usage: javac <options> <source files>
[iosession]     use -help for a list of possible options
[iosession] Target compile finished

It's as if encoding setting is ignored.

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