ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31417] New: - Ant does not find the java.beans package
Date Sat, 25 Sep 2004 03:12:05 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31417>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31417

Ant does not find the java.beans package

           Summary: Ant does not find the java.beans package
           Product: Ant
           Version: 1.6.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: mselhammar@yahoo.se


A sample code which included an import of java.beans.XMLEncoder, compiled
outside Ant, but in my comile task it failed. Other imports from the JDK worked
fine, and the environments for the compile should be identical. 

The task looks like:
        <target name="compile" depends="clean">
                <javac srcdir="${srcdir}"
                        destdir="${classesdir}"
                        debug="true"
                        optimize="false"
                        verbose="yes"
                        deprecation="false">
                </javac>
                <javadoc packagenames="se.*"
                         sourcepath="${srcdir}"
                         access="protected"
                         excludepackagenames="se.selhammar.babelx.*"
                         destdir="${javadocdir}">
                </javadoc>
        </target>
 
And the printout:
compile:
    [javac] Compiling 37 source files to /home/magnus/projects/babel/classes
    [javac]
/home/magnus/projects/babel/src/se/selhammar/babel/Internationalizable.java:5:
error: Class or interface `java.beans.Statement' not found in import.    [javac]
   import java.beans.Statement;
    [javac]           ^
    [javac] 1 error

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message