Re: Install DOM TS

Hi Arnold,
               Thank you for your advice.According to your previous mail i
have removed both "Source" and "Target" from build.xml file.And i connected
my machine to direct internet connection.When Ant was executed it downloaded
all DOM Specifications.But build failed bcoz of Fatal error.I have attached
the build file.

kindly help me in this regard.

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 8:11 PM
Subject: Re: Install DOM TS


>
>
> On Jun 13, 2006, at 1:21 AM, Suman wrote:
>
> > 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.
> >
>
> The builds failed in different ways.
>
> When source="1.4" and target="1.1" was specified, your javac compiler
> complained that did not support compiling JDK 1.4 source files to JDK
> 1.1 class files.  The build.xml file has the target and source set to
> early JDK source and class files so that the generated .jar file can
> be run by the widest variety of JRE's.  In your situation, I would
> recommend removing both the source="1.2" and target="1.1" attributes.
>
> When you had removed the source="1.2" attribute, the first
> compilation succeeded and the build failed when it attempted to
> download the DOM Level 2 Core specification with an
> UnknownHostException for "www.w3.org".  That suggests that your
> machine is not connected to the internet, access was blocked by a
> firewall or when www.w3.org was unavailable at the time.   If it is
> not possible to connect that machine to the internet, you could
> manually download necessary DOM specifications and place them in the
> specs directory.  See the get-dom2-* targets around line 1253 in
> build.xml for the URL's that you need to download.
>

Received on Wednesday, 14 June 2006 05:04:11 UTC