Dear Sir,
I have changed my version to 1.6.0. But when I ran the sample, it
still gave me the error information as below. Thank you!

C:\MSc Project\GData\gdata\java>ant sample.calendar.run
Buildfile: build.xml

sample.calendar.dependencies:

template.require.service.jar:

sample.core.dependencies:

core.sample.core.util.build:
    [javac] Compiling 2 source files to C:\MSc Project\GData\gdata\java
\sample\u
til\classes
    [javac] C:\MSc Project\GData\gdata\java\sample\util
\SimpleCommandLineParser.
java:31: <identifier> expected
    [javac]   private Map<String,String> argMap;
    [javac]              ^
    [javac] C:\MSc Project\GData\gdata\java\sample\util
\SimpleCommandLineParser.
java:43: '(' or '[' expected
    [javac]     argMap = new HashMap<String,String>();
    [javac]                         ^
    [javac] C:\MSc Project\GData\gdata\java\sample\util
\SimpleCommandLineParser.
java:75: <identifier> expected
    [javac]   public String getValue(String ... keys) {
    [javac]                                  ^
    [javac] C:\MSc Project\GData\gdata\java\sample\util
\SimpleCommandLineParser.
java:99: <identifier> expected
    [javac] }
    [javac] ^
    [javac] 4 errors

BUILD FAILED
C:\MSc Project\GData\gdata\java\build\core.xml:346: Compile failed;
see the comp
iler error output for details.

Total time: 1 second
C:\MSc Project\GData\gdata\java>

On Jan 29, 11:18 pm, "Jeff Fisher (Google)" <[EMAIL PROTECTED]>
wrote:
> Hi Peng,
>
> What version of Java are you running? You can find this out by typing
> "java -version" at the command line.
>
> Cheers,
> -Jeff
>
> On Jan 28, 12:40 pm, Peng <[EMAIL PROTECTED]> wrote:
>
>
>
> > Sorry. My problem is just the compile failed. I've tested and the ant
> > is already the latest version. . Please ignore the information as
> > below:
>
> > C:\MSc Project\GData\gdata\java>ant version
> > Buildfile: build.xml
>
> > BUILD FAILED
> > Target "version" does not exist in the project "GData".- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Data API" 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-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to