ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Balasubramanian S <>
Subject Ant Experts help me !!!!!!
Date Fri, 04 May 2001 05:27:55 GMT
Hi all
  Iam facing the problem .Iam having the directory structure like this
  Root dir
    - classes
       - sun
          - com 
    - jar
    - docs
    - src 
       - sun
          - com

  1)I have placed all the jar files in the jar dir .
  2)I have placed the java source files under src directory
    and it is under package 
  3)I have placed the class files under classes directory
    and it is under package 
  4)I have placed the build.xml and another xml under root directory
  5)One of my class will parse the xml and print the result

  I Hope u can understand the above mentioned details .When i run 
  the ant ,iam getting the some exception 

  Exception message :-
  ------------------ error in opening zip file
        at Method)
java, Compiled Code)
        at, Co
mpiled Code)
        at, Co
mpiled Code)
        at java.lang.ClassLoader.loadClass(, Compiled Code)
        at java.lang.ClassLoader.loadClassInternal(,
Compiled Co
        at gd.xml.XMLParser.readDocument(, Compiled Code)
        at gd.xml.XMLParser.parseXML(
        at gd.xml.tiny.TinyParser.parseXML(
        at gd.xml.tiny.TinyParser.parseXML(

  Build.xml Snippet code

 <target name="OracleTest" depends="copy">
 <java classname="">
 <pathelement location="${JARDIR}\parse.jar"/>
 <fileset dir="${JAR}">
 <include name="**/*.jar"/>

  I have included the root dir in my classpath .
  I dont why the particular xml file is not getting loaded .Could u give me
some suggestion / idea to me .Expecting reply me asap


View raw message