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: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]