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 -
--~--~---------~--~----~------------~-------~--~----~
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