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] - The <javac> task doesn't support the nested "include" element
Date Mon, 07 Jan 2002 10:10:47 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

conor@cortexebusiness.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME



------- Additional Comments From conor@cortexebusiness.com.au  2002-01-07 02:10 -------
I changed your second target to
<target name="ASimpleHelloObject" unless="ASimpleHelloObject" depends="init">
<echo file="ASimpleHelloObject.java">
  public class ASimpleHelloObject {}
</echo>
<echo message="Wrote ASimpleHelloObject.java" />
</target>

to give javac something to do. 

It all works for me
Buildfile: build.xml

init:

ASimpleHelloObject:
     [echo] Wrote ASimpleHelloObject.java

compile:
    [javac] Compiling 1 source file to /home/conor/dev/antdev/bugs/bug5702

run:

BUILD FAILED
/home/conor/dev/antdev/bugs/bug5702/build.xml:23: java.lang.NoSuchMethodException

The exception is expected, of course. I can only guess that your installation is
somehow broken, perhaps you have an old version of Ant in your path, perhaps one
that came with an old version of Tomcat - can't think of anything else.

--
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