You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2002/01/05 19:09:14 UTC

DO NOT REPLY [Bug 5702] New: - The task doesn't support the nested "include" element

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5702>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5702

The <javac> task doesn't support the nested "include" element

           Summary: The <javac> task doesn't support the nested "include"
                    element
           Product: Ant
           Version: 1.4.1
          Platform: PC
        OS/Version: Windows 9x
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: sirzade@lycos.com


error msg.......>>>
E:\EJBDene>E:\EJBDene\build.xml:16: The <javac> task doesn't support the nested
"include" element

build file ...>>>
<!-- Simple Ant build script to test an Ant installation -->
<project name="TestInstall" default="run" basedir=".">

<target name="init">
	<available file="ASimpleHelloObject.java" 
property="ASimpleHelloObject"/>
</target>

<target name="ASimpleHelloObject" unless="ASimpleHelloObject" depends="init">
	<echo file="ASimpleHelloObject.java">
	</echo>
	<echo message="Wrote ASimpleHelloObject.java" />
</target>

<target name="compile" depends="ASimpleHelloObject">
	<javac destdir="." srcdir="." debug="on" classpath=".">
	<include name="ASimpleHelloObject.java"/>
	</javac>
</target>

<target name="run" depends="compile">
	<java classname="ASimpleHelloObject" classpath="." />
	<echo message="Ant appears to be successfully installed" />
</target>

</project>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>