I found my problem. Thanks, Don
-----Original Message----- From: Donald Mitchell [mailto:[EMAIL PROTECTED]] Sent: Friday, January 25, 2002 4:19 PM To: 'Ant Users List' Subject: javac and filesets? Hi, I want to use a fileset or patternset to include and exclude files for the javac tag, but I don't know how to reference it. The javadoc page for javac has this comment: This task forms an implicit FileSet and supports all attributes of <fileset> (dir becomes srcdir) as well as the nested <include>, <exclude> and <patternset> elements. The error I get is: Class org.apache.tools.ant.types.PatternSet$NameEntry doesn't support the nested "patternet" element. My target looks like this: <target name="compile"> <javac srcdir="${src}" destdir="${build}" excludes="${src.test}" debug="${comp.debug}" failonerror="${comp.failonerror}" deprecation="${comp.deprecation}"> <classpath refid="compile.classpath"/> <patternet refid="lib.files"/> </javac> </target> I've tried changing the word "patternset" to "include", but that's not allowed. Any ideas on how I can do this? I want to use a fileset so I can reference these files in other tasks. Thanks! Don -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
