Looks like the java command-line ends up being wrong in some way. Could
you edit ant.bat to include an echo after the ":runAnt" (should be line
110, if you have 1.4 beta) then run the command again. That way, you can
see what the actual command-line is (and pass that info on to the list).
Diane
--- [EMAIL PROTECTED] wrote:
> hi diane
>
> it just get this message
>
>
> Usage: java [-options] class [args...]
> (to execute a class)
> or java -jar [-options] jarfile [args...]
> (to execute a jar file)
>
> where options include:
> -hotspot to select the "hotspot" VM
> -server to select the "server" VM
> -classic to select the "classic" VM
> If present, the option to select the VM must be first.
> The default VM is -hotspot.
>
> -cp -classpath <directories and zip/jar files separated by ;>
> set search path for application classes and resources
> -D<name>=<value>
> set a system property
> -verbose[:class|gc|jni]
> enable verbose output
> -version print product version and exit
> -showversion print product version and continue
> -? -help print this help message
> -X print help on non-standard options
>
> thanks
> abhinand
>
> -----Original Message-----
> From: Diane Holt [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 30, 2001 5:28 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Error while building
>
>
> Yeah, but you said you can't run it -- so what happens it tries to run?
> Do
> you get some kind of error or what?
>
> Diane
>
> --- [EMAIL PROTECTED] wrote:
> > ditto
> >
> > and as such i am running on windows 2000 so it picks up ant.bat if i
> > type
> > ant.
> >
> > regards,
> > abhinand
> >
> > -----Original Message-----
> > From: Diane Holt [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, August 30, 2001 5:19 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: Error while building
> >
> >
> > What happens when you try running ant.bat?
> >
> > Diane
> >
> > --- [EMAIL PROTECTED] wrote:
> > > hi guys,
> > >
> > > thanks a ton for the quick reply.
> > > but the issue is i cannot run the .bat file ant to kick start ant as
> > > such
> > >
> > > but i am able to run the simple.xml that is packaged along with the
> > > source
> > > of ant with the java command as such
> > >
> > > java -Dant.home=c:\jakarta-ant-1.3 org.apache.tools.ant.Main
> > -buildfile
> > > simple.xml
> > >
> > > where am i going wrong ?
> > >
> > > help appreciated before hand
> > >
> > > thanks
> > > abhinand
> > >
> > > -----Original Message-----
> > > From: Ylan Segal [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, August 30, 2001 6:00 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: Error while building
> > >
> > >
> > > As far as I know it means that there was en error parsing the xml
> > file.
> > > Check that it is a valid xml file.
> > >
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED]
> > > > [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, August 30, 2001 5:51 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: Error while building
> > > > Importance: High
> > > >
> > > >
> > > > 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:[EMAIL PROTECTED]]
> > > > Sent: Thursday, August 30, 2001 4:33 PM
> > > > To: [EMAIL PROTECTED]
> > > > 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
> > > > --------------------------------------------------
> > > >
> > > >
> >
> >
> > =====
> > ([EMAIL PROTECTED])
> >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Get email alerts & NEW webcam video instant messaging with Yahoo!
> > Messenger
> > http://im.yahoo.com
>
>
> =====
> ([EMAIL PROTECTED])
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with Yahoo!
> Messenger
> http://im.yahoo.com
=====
([EMAIL PROTECTED])
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com