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 3837] New: - fileset and pathconvert issues under windows 2k.
Date Wed, 26 Sep 2001 14:20:00 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=3837>.
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=3837

fileset and pathconvert issues under windows 2k.

           Summary: fileset and pathconvert issues under windows 2k.
           Product: Ant
           Version: 1.4
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Core
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: rszabo@interprovider.net


Hello,

I am having a bit of a dilemna with regards to filesets and pathconvert tags.

The build.xml snippet below works a charm under redhat linux however it does not
work under windows 2k.

Leaving it where it is I get a message stating that if it is an optional tag to
ensure that the option.jar file is available and in my classpath. 

If I move the fileset block and make it a direct child of the project tag then 
that portion works under win2k.

The remaining pathconvert tags complains again about the option.jar file. Moving
it up with the fileset tag under the project tag results in an error 
message stating that the pathconvert tag was unexpected.


However it does not seem to matter where I place the pathconvert tag 

 <target name="prepare" depends="init">
    <mkdir dir="${entities.build.dir}"/>
    <mkdir dir="${entities.build.dir}/META-INF"/>
 
    <!-- generate interfaces and deployment descriptors -->
 
    <fileset dir="${src.dir}" id="entities.bean.src.filter">
      <include name="com/interprovider/entities/**/*Bean.java"/>
    </fileset>
    <pathconvert pathsep="," property="entities.bean.files"
refid="entities.bean.src.filter"/>
    <javadoc sourcefiles="${entities.bean.files}"
        sourcepath="${src.dir}"
           destdir="${src.dir}"
           doclet="EJBGen"
           docletpath="${ejbgen.dir}"
           additionalparam="-pfd2">
      <classpath>
        <pathelement path="${classpath}"/>
        <pathelement location="${weblogic.lib.jar}"/>
        <pathelement location="${lib.dir}/log4j.jar"/>
      </classpath>
    </javadoc>
   </target>

Mime
View raw message