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 5702] New: - The <javac> task doesn't support the nested "include" element
Date Sat, 05 Jan 2002 18:09:14 GMT
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:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message