Re: Install DOM TS

Hi Arnold,
                Thank you for your advice.J2SDK1.4.1-07 is installed in my
machine.I have edited the build.xml file.

1)I have changed Source="1.2" to Source="1.4" in build.xml file.Log file was
attached(build 14.log)

2)Source="1.2" is removed from build.xml.Log file was attached(build.log)

In both the above conditions build is failed.

The Ant Command i have used is $ant -l build.log -v dom2-core-jar.

DOM Test Suite is downloaded from CVS.Apache Ant 1.6 was installed.


Thanks & Regards,
----------------------------------------------
Suman
Connected Planet Validation
Philips Consumer Electronics

Philips Software Centre Pvt. Ltd.
#1, Murphy Road, Ulsoor, Bangalore-560008,
Tel: +91 80 25579000, Extn :- 3900
Mobile: +91 9945501837
------------------------------------------------------------



----- Original Message ----- 
From: "Curt Arnold" <carnold@houston.rr.com>
To: "Suman" <sumank@blr.pin.philips.com>
Cc: "DOM mailing list" <www-dom@w3.org>
Sent: 2006 Jun 13 10:31 AM
Subject: Re: Install DOM TS


>
> The problem is that your javac compiler apparently does not recognize
> the
>
> -source 1.2
>
> switch that specifies that the file should interpreted per the Java
> language definition as of JDK 1.2 which is generated due to the
> source="1.2" attributes on the javac elements in the build file.  Not
> sure what Java compiler you have on the path.  I thought that every
> Sun javac supported -source=1.2, but I don't have time to check and
> don't have a JDK 1.4.1 installed.  Maybe a slightly different Java
> source language version (1.3 or 1.4) would work with your compiler.
>
> I did not parameterize the Java language version, so you may need to
> manually edit the build.xml file.  Try the following steps:
>
> 1) Run "javac -version" to determine implementer and version of Java
> compiler
> 2) Run "javac -source 1.3 java/org/w3c/domts/DOMErrorImpl.java" to
> see you get a warning about unrecognized version (if version is
> recognized, you should get a cannot find symbol error).  If that
> fails, try 1.4.
> 3) If you found a value that works, modify source="1.2" in build.xml
> to source="1.3" or source="1.4".
> 4) If your javac is from non-Sun JDK or an old JDK (1.1 or 1.2), try
> installing a newer Sun JDK.
> 4) If none work, remove source="1.2" attributes from build.xml.
>
>

Received on Tuesday, 13 June 2006 06:22:08 UTC