osdir.com
mailing list archive

Subject: Re: Install DOM TS - msg#00004

List: web.dom.general

Date: Prev Next Index Thread: Prev Next Index
Hi,
I have attached the build.log file.Is it neccessary to set CLASSPATH
for executing ANT command?

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@xxxxxxxxxxxxxx>
To: "Suman" <sumank@xxxxxxxxxxxxxxxxxxx>
Sent: 2006 Jun 12 8:38 PM
Subject: Re: Install DOM TS


>
> On Jun 12, 2006, at 6:49 AM, Suman wrote:
>
> >
> > Hi All,
> > I want to Install DOM Validator in my local machine.I have
> > followed the steps given in the page http://www.w3.org/DOM/Test/
> > Documents/DOMTSBuild.html .
> > But the Command $ant dom2-core-jar is failed.This command is giving
> > message that Build failed.
> > I am using Red Hat linux machine.DOM TS was downloaded from CVS
> > repository. I am using JDK 1.5_07.Ant is also installed.But $ant
> > dom2-core-jar command giving Build Failed error(i think it May be
> > the the problem in setting CLASSPATH).
> > Can any one suggest exact steps in installing the DOM validator.I
> > would appreciate if any one reply to me at your earliest possible
> > as my assignment due date is getting closer.
> >
> > 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
> > ------------------------------------------------------------
>
> It would be very helpful if you could provide the log file from your
> build attempt. You can use
>
> ant -l build.log
>
> to capture the normal Ant output to a log file, or use
>
> ant -l build.log -v
>
> for a verbose log file.
>
> Apache Gump (http://gump.apache.org) which builds several hundred
> projects nightly has not had any recent problems with the DOM test
> suite. So it is more likely that it is a (possibly simple) problem
> with your machine set up which may be due to insufficient
> instructions on the DOMTSBuild page. You can download the JAR files
> produced by Gump from http://vmgump.apache.org/gump/public-jars/domts/
> jars/.
>
> If you are just interested in the products, I provide unofficial
> builds of the DOM test suite at http://homepage.mac.com/WebObjects/
> FileSharing.woa/wa/default?
> user=curt.arnold&templatefn=FileSharing1.html&xmlfn=TKDocument.
> 1.xml&sitefn=RootSite.xml&aff=consumer&cty=US&lang=en

Attachment: build.log
Description: Binary data

Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Install DOM TS

  Hi All,         I want to Install DOM Validator in my local machine.I have followed the steps given in the page http://www.w3.org/DOM/Test/Documents/DOMTSBuild.html  . But the Command $ant dom2-core-jar is failed.This command is giving message that Build failed. I am using Red Hat linux machine.DOM TS was downloaded from CVS repository. I am using JDK 1.5_07.Ant is also installed.But $ant dom2-core-jar command giving Build Failed error(i think it May be the the problem in setting CLASSPATH). Can any one suggest exact steps in installing the DOM validator.I would appreciate if any one reply to me at your earliest possible as my assignment due date is getting closer.   Thanks & Regards----------------------------------------------SumanConnected Planet ValidationPhilips Consumer Electronics   Philips Software Centre Pvt. Ltd.#1, Murphy Road, Ulsoor, Bangalore-560008,Tel: +91 80 25579000, Extn :- 3900Mobile: +91 9945501837------------------------------------------------------------    

Next Message by Date: click to view message preview

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.

Previous Message by Thread: click to view message preview

Install DOM TS

  Hi All,         I want to Install DOM Validator in my local machine.I have followed the steps given in the page http://www.w3.org/DOM/Test/Documents/DOMTSBuild.html  . But the Command $ant dom2-core-jar is failed.This command is giving message that Build failed. I am using Red Hat linux machine.DOM TS was downloaded from CVS repository. I am using JDK 1.5_07.Ant is also installed.But $ant dom2-core-jar command giving Build Failed error(i think it May be the the problem in setting CLASSPATH). Can any one suggest exact steps in installing the DOM validator.I would appreciate if any one reply to me at your earliest possible as my assignment due date is getting closer.   Thanks & Regards----------------------------------------------SumanConnected Planet ValidationPhilips Consumer Electronics   Philips Software Centre Pvt. Ltd.#1, Murphy Road, Ulsoor, Bangalore-560008,Tel: +91 80 25579000, Extn :- 3900Mobile: +91 9945501837------------------------------------------------------------    

Next Message by Thread: click to view message preview

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.
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by