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 12820] New: - inheritRefs is broken
Date Thu, 19 Sep 2002 15:37:37 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=12820>.
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=12820

inheritRefs is broken

           Summary: inheritRefs is broken
           Product: Ant
           Version: 1.5
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: daniel.armbrust@mayo.edu


I can not get inheritRefs to work properly.

Code fragments:

	<target name="init">
		<path id="allJars">
			<fileset dir="/foo2" id="bJars">
				<include name="....."/>
			</fileset>
			<fileset dir="/foo" id="aJars">
				<include name="....."/>
			</fileset>
			<fileset dir="/" id="cJars">
				<include name="....."/>
			</fileset>
		</path>
	</target>

	<target name="genWsdlTarget">
		<java classname="${wsdl.java2wsdl}" fork="true">
			<classpath>
				<fileset refid="axisJars"/>
			</classpath>
		</java>
	</target>


	<target name="genWsdl" description="Generate wsdl from compiled java"
depends="init">
		<antcall inheritrefs="true" target="genWsdlTarget">
			<param name="wsdlTarget" value="...."/>
		</antcall>
	</target>



BUILD FAILED
file:build.xml:166: No directory specified for fileset.

Line 166 corresponds to the <java> tag.  

I posted this to the user list, and immediately 2 other people reported the same
problem with the ant task.  Was this feature added in a broken state?

I also tried using a <reference> attribute, and naming the specific reference
that I wanted to pass, and that fails with the same result.

ant -version
Apache Ant version 1.5 compiled on July 12 2002

If the feature isn't broken, then the documentation most certainly is, because
it won't do at all what it is described to do.

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