Thanks for your reply Megha.
I have run the diagnostics option on ant and got the following
output :

*****************************************************************************************************************************************

C:\Documents and Settings\Administrator>ant -diagnostics
------- Ant diagnostics report -------
Apache Ant version 1.7.0 compiled on December 13 2006

-------------------------------------------
 Implementation Version
-------------------------------------------
core tasks     : 1.7.0
optional tasks : not available

-------------------------------------------
 ANT PROPERTIES
-------------------------------------------
ant.version: Apache Ant version 1.7.0 compiled on December 13 2006
ant.java.version: 1.4
ant.core.lib: E:\Kunal\Google Apps\apache-ant-1.7.0-bin\apache-
ant-1.7.0\lib\ant.jar
ant.home: E:\Kunal\Google Apps\apache-ant-1.7.0-bin\apache-ant-1.7.0

-------------------------------------------
 ANT_HOME/lib jar listing
-------------------------------------------
ant.home: E:\Kunal\Google Apps\apache-ant-1.7.0-bin\apache-ant-1.7.0
ant-antlr.jar (5769 bytes)
ant-apache-bcel.jar (8627 bytes)
ant-apache-bsf.jar (3980 bytes)
ant-apache-log4j.jar (3074 bytes)
ant-apache-oro.jar (39591 bytes)
ant-apache-regexp.jar (3737 bytes)
ant-apache-resolver.jar (4080 bytes)
ant-commons-logging.jar (3943 bytes)
ant-commons-net.jar (47163 bytes)
ant-jai.jar (21368 bytes)
ant-javamail.jar (7011 bytes)
ant-jdepend.jar (8152 bytes)
ant-jmf.jar (6609 bytes)
ant-jsch.jar (30122 bytes)
ant-junit.jar (92792 bytes)
ant-launcher.jar (11734 bytes)
ant-netrexx.jar (9895 bytes)
ant-nodeps.jar (430311 bytes)
ant-starteam.jar (35404 bytes)
ant-stylebook.jar (2334 bytes)
ant-swing.jar (6713 bytes)
ant-testutil.jar (14919 bytes)
ant-trax.jar (6897 bytes)
ant-weblogic.jar (14254 bytes)
ant.jar (1289806 bytes)
xercesImpl.jar (1212965 bytes)
xml-apis.jar (195119 bytes)

-------------------------------------------
 USER_HOME/.ant/lib jar listing
-------------------------------------------
user.home: C:\Documents and Settings\Administrator
No such directory.

-------------------------------------------
 Tasks availability
-------------------------------------------
image : Missing dependency javax.media.jai.PlanarImage
sshexec : Missing dependency com.jcraft.jsch.UserInfo
scp : Missing dependency com.jcraft.jsch.UserInfo
jdepend : Missing dependency jdepend.xmlui.JDepend
A task being missing/unavailable should only matter if you are trying
to use it

-------------------------------------------
 org.apache.env.Which diagnostics
-------------------------------------------
Not available.
Download it at http://xml.apache.org/commons/

-------------------------------------------
 XML Parser information
-------------------------------------------
XML Parser : org.apache.xerces.jaxp.SAXParserImpl
XML Parser Location: C:\j2sdk1.4.2_10\jre\lib\ext\xerces.jar
javax.xml.parsers.SAXParser.getXMLReader()Lorg/xml/sax/XMLReader;
C:\Documents and Settings\Administrator>


***************************************************************************************************************************************


Please let me know if things are ok?


On Dec 20 2007, 5:30 am, "Megha (Google)" <[EMAIL PROTECTED]>
wrote:
> HiKunal,
>
> The command is correct and the error that you are getting shows that
> Ant installation on your system is having some issues.
>
> Please try troubleshooting the Ant installation issues and run the
> sample build file again.
> As I mentioned earlier, you could try clearing the CLASSPATH .
> You can also try running Ant with -diagnostics option and check the
> configuration.
>
> Thanks,
> Megha
>
> On Dec 19, 1:17 am,Kunal<[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi Megha,
> > Thanks for ur reply.
> > I made a build.xml with the following text that you have mentioned.
> > Then i tried to run it, it gave me the following error.
>
> > E:\Kunal\Google Apps\gdata.java-1.15.0\gdata\java>dir
> >  Volume in drive E is New Volume
> >  Volume Serial Number is B053-950B
>
> >  Directory of E:\Kunal\Google Apps\gdata.java-1.15.0\gdata\java
>
> > 12/19/2007  02:48 PM    <DIR>          .
> > 12/19/2007  02:48 PM    <DIR>          ..
> > 11/26/2007  02:23 PM    <DIR>          build
> > 12/19/2007  02:49 PM               122 build.xml
> > 11/15/2007  12:09 PM             3,818 build1.xml
> > 11/26/2007  02:23 PM    <DIR>          classes
> > 11/26/2007  02:23 PM    <DIR>          doc
> > 11/26/2007  02:23 PM    <DIR>          genfiles
> > 11/26/2007  02:23 PM    <DIR>          lib
> > 11/26/2007  02:23 PM    <DIR>          manifest
> > 11/26/2007  02:23 PM    <DIR>          mashups
> > 11/26/2007  03:34 PM    <DIR>          mysample
> > 11/26/2007  02:23 PM    <DIR>          sample
> > 11/26/2007  02:23 PM    <DIR>          src
> >                2 File(s)          3,940 bytes
> >               12 Dir(s)  10,158,620,672 bytes free
>
> > E:\Kunal\Google Apps\gdata.java-1.15.0\gdata\java>ant build.xml
> > Buildfile: build.xml
>
> > BUILD FAILED
> > java.lang.AbstractMethodError:
> > javax.xml.parsers.SAXParser.getXMLReader()Lorg/xml/sax/XMLReader;
> >         at
> > org.apache.tools.ant.util.JAXPUtils.getNamespaceXMLReader(JAXPUtils.java:
> > 172)
> >         at
> > org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
> > 185)
> >         at
> > org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
> > 138)
> >         at
> > org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:
> > 96)
> >         at org.apache.tools.ant.Main.runBuild(Main.java:683)
> >         at org.apache.tools.ant.Main.startAnt(Main.java:199)
> >         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
> >         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:
> > 104)
>
> > Total time: 0 seconds
> > java.lang.AbstractMethodError:
> > javax.xml.parsers.SAXParser.getXMLReader()Lorg/xml/sax/XMLReader;
> >         at
> > org.apache.tools.ant.util.JAXPUtils.getNamespaceXMLReader(JAXPUtils.java:
> > 172)
> >         at
> > org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
> > 185)
> >         at
> > org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
> > 138)
> >         at
> > org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:
> > 96)
> >         at org.apache.tools.ant.Main.runBuild(Main.java:683)
> >         at org.apache.tools.ant.Main.startAnt(Main.java:199)
> >         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
> >         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:
> > 104)
> > javax.xml.parsers.SAXParser.getXMLReader()Lorg/xml/sax/XMLReader;
> > E:\Kunal\Google Apps\gdata.java-1.15.0\gdata\java>
>
> > Let me know if I am running the ant command properly.
>
> > On Dec 18, 4:39 am, "Megha (Google)" <[EMAIL PROTECTED]> wrote:
>
> > > Hi,
>
> > > Can you try running the following small build.xml file with Ant
> > > version 1.7:
>
> > > <project name="test" default="hello">
> > >  <target name="hello">
> > >    <echo>Hello, world</echo>
> > >  </target>
> > > </project>
>
> > > If it gives error, there is some issue with the ant configuration on
> > > your system.
> > > Also, I would suggest clearing the CLASSPATH variable and making sure
> > > that your JAVA_HOME is set correctly.
>
> > > Thanks,
> > > Megha
>
> > > On Dec 12, 11:04 pm,Kunal<[EMAIL PROTECTED]> wrote:
>
> > > > Hey i checked my versions....I am using the versions that are
> > > > required.
> > > > I have pasted the output of versions below.
>
> > > > C:\Documents and Settings\Administrator>java -version
> > > > java version "1.6.0_03"
> > > > Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
> > > > Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing)
>
> > > > C:\Documents and Settings\Administrator>ant -version
> > > > Apache Ant version 1.7.0 compiled on December 13 2006
> > > > C:\Documents and Settings\Administrator>
>
> > > > On Nov 29, 1:57 pm, "Alex (Google)" <[EMAIL PROTECTED]> wrote:
>
> > > > > Hi,
>
> > > > > Can you take a look at this article and see if there's any differences
> > > > > in your environment?
>
> > > > >http://code.google.com/support/bin/answer.py?answer=78455
>
> > > > > Which versions of the Java and ant are you using?
>
> > > > > -alex
>
> > > > > On Nov 27, 12:20 am,Kunal<[EMAIL PROTECTED]> wrote:
>
> > > > > > Hi,
> > > > > >  I have downloaded the sample programs (Java versions) from the
> > > > > > website. I have aslo resolved the dependencies.Still I get an error
> > > > > > saying BUILD FAILED. Let me know whats the problem.
> > > > > > I am pasting the exact error message below.
>
> > > > > > E:\Kunal\Google Apps\gdata.java-1.15.0\gdata\java>ant
> > > > > > sample.calendar.run
> > > > > > Buildfile: build.xml
>
> > > > > > BUILD FAILED
> > > > > > java.lang.AbstractMethodError:
> > > > > > javax.xml.parsers.SAXParser.getXMLReader()Lorg/xml/sax/XMLReader;
> > > > > >         at
> > > > > > org.apache.tools.ant.util.JAXPUtils.getNamespaceXMLReader(JAXPUtils.java:
> > > > > > 172)
> > > > > >         at
> > > > > > org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
> > > > > > 185)
> > > > > >         at
> > > > > > org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
> > > > > > 138)
> > > > > >         at
> > > > > > org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:
> > > > > > 96)
> > > > > >         at org.apache.tools.ant.Main.runBuild(Main.java:683)
> > > > > >         at org.apache.tools.ant.Main.startAnt(Main.java:199)
> > > > > >         at 
> > > > > > org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
> > > > > >         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:
> > > > > > 104)
>
> > > > > > Total time: 0 seconds
> > > > > > java.lang.AbstractMethodError:
> > > > > > javax.xml.parsers.SAXParser.getXMLReader()Lorg/xml/sax/XMLReader;
> > > > > >         at
> > > > > > org.apache.tools.ant.util.JAXPUtils.getNamespaceXMLReader(JAXPUtils.java:
> > > > > > 172)
> > > > > >         at
> > > > > > org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
> > > > > > 185)
> > > > > >         at
> > > > > > org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
> > > > > > 138)
> > > > > >         at
> > > > > > org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:
> > > > > > 96)
> > > > > >         at org.apache.tools.ant.Main.runBuild(Main.java:683)
> > > > > >         at org.apache.tools.ant.Main.startAnt(Main.java:199)
> > > > > >         at 
> > > > > > org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
> > > > > >         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:
> > > > > > 104)
> > > > > > javax.xml.parsers.SAXParser.getXMLReader()Lorg/xml/sax/XMLReader;
> > > > > > E:\Kunal\Google Apps\gdata.java-1.15.0\gdata\java>- Hide quoted 
> > > > > > text -
>
> > > > > - Show quoted text -- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Apps APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-apps-apis?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to