ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From abhinand.sreeniv...@webgain.com
Subject Error while building
Date Thu, 30 Aug 2001 23:50:57 GMT
hi all 

What does this error mean

-----------

BUILD FAILED

javax.xml.parsers.FactoryConfigurationError:
com.sun.xml.parser.SAXParserFactoryImpl
        at
javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:79)
        at
org.apache.tools.ant.ProjectHelper.getParserFactory(ProjectHelper.java:706)
        at org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:105)
        at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:85)
        at org.apache.tools.ant.Main.runBuild(Main.java:403)
        at org.apache.tools.ant.Main.main(Main.java:149)

Total time: 0 seconds
com.sun.xml.parser.SAXParserFactoryImpl

--------------


while building ? What is the actual process for building an ant file.

thanks
abhinand

-----Original Message-----
From: Peter Donald [mailto:donaldp@apache.org]
Sent: Thursday, August 30, 2001 4:33 PM
To: ant-user@jakarta.apache.org
Subject: Re: Why doesn't the path on a Jar file is puted when using
fileset on a jar Tag?


On Fri, 31 Aug 2001 09:20, Edgar "Sánchez" wrote:
>   Hi everyone, i think I got it... but the only thing,
> and hope the last one is to put the path of the file
> for the 4 files I put into my jar.  After generating
> the jar I checked it out, and see if those files were
> added..... the files were added with no path on it :-(

thats because you tell it not to add path ;)

Try something like

<target name="jar_ejb" depends="compile_ejb">
  <jar jarfile="D:/vicsa/HelloEJBAfil.jar"
        basedir="D:/vicsa/Construccion"
        includes="afiliacion/EJB/**/*.*">

 <!-- here comes the file set -->
    <fileset dir="D:/vicsa/Construccion/">
       <include name="arquitectura/EJB/FachadaGeneral.class"/>
       <include name="arquitectura/EJB/FachadaGeneralHome.class"/>
    </fileset>

    <fileset dir="D:/vicsa/Construccion/">
      <include name="arquitectura/util/RequestMappingValue.class"/>
    </fileset>
...


-- 
Cheers,

Pete

--------------------------------------------------
you've made a dangerous leap right over common 
sense, like some kind of metaphysical Evil Knievel
--------------------------------------------------

Mime
View raw message