Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 45505 invoked by uid 500); 2 Oct 2001 15:19:10 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 45461 invoked from network); 2 Oct 2001 15:19:09 -0000 Message-ID: From: Suzi Griffiths To: "'ant-user@jakarta.apache.org'" Subject: RE: Installation problem Date: Tue, 2 Oct 2001 16:11:58 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C14B54.948CDC40" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C14B54.948CDC40 Content-Type: text/plain; charset="iso-8859-1" Send me a copy of your PATH to have a look at ! Regards Suzi -----Original Message----- From: Dhirendra Kulkarni [mailto:dkulkarni@ptc.com] Sent: 02 October 2001 11:43 To: ant-user@jakarta.apache.org Subject: Re: Installation problem Hello all, iam waiting for some more solutions for my problem, still iam not been able to get through installation of Ant 1.4 version. Thanks DK ----- Original Message ----- From: Dhirendra Kulkarni To: ant-user@jakarta.apache.org Sent: Tuesday, October 02, 2001 9:55 AM Subject: Re: Installation problem I checked the path variable and i have included bin directory. ----- Original Message ----- From: Suzi Griffiths To: 'ant-user@jakarta.apache.org' Sent: Tuesday, October 02, 2001 2:11 PM Subject: RE: Installation problem Seems there is something overwriting your classpath, check PATH, hope this helps. -----Original Message----- From: Dhirendra Kulkarni [ mailto:dkulkarni@ptc.com ] Sent: 02 October 2001 05:07 To: ant-user@jakarta.apache.org Cc: victorh@nuix.com.au Subject: Installation problem Hi Victor, Thanks for responding. Actually i have removed all my earlier calsspath setting for version 1.3 from system environment variables and also i have restarted the machine. But still i am getting these earlier version of crimson and jaxp.jar files in classpath. Actually they are not in classpath in enviromment variable. But my earlier version directory i have not removed. Also in 1.3 version there is no crimson.jar in lib directory. So what is the remedy. Thanks DK From: Victor Hadianto To: Sent: Tuesday, October 02, 2001 5:26 AM Subject: Re: Installation problem > That's because you have another version of jaxp.jar and crimson.jar earlier > in the classpath. Reset your classpath before running the installation. > > /victor > > > On Mon, 1 Oct 2001 20:45, you wrote: > > Hi all > > > > I have downloaded and installed jakarta-ant-1.4-bin.zip and > > jakarta-ant-1.4-src.zip. I have also added following variables > > > > ant_home, java_home, bin directory of ant home to path and ant.jar, > > jaxp.jar of ant_home/lib to classpath and tools.jar of jdk also to > > classpath. > > > > I have also added junit.jar and installation directory of Junit to > > classpath > > > > After setting these variables as per Ant's manusl (Building Ant) > > section iam giving this command build > > -Ddist.dir= dist > > > > iam getting following error, > > > > ... Bootstrapping Ant Distribution > > JAVA_HOME=C:\jdk1.2.2 > > JAVA=C:\jdk1.2.2\bin\java > > JAVAC=C:\jdk1.2.2\bin\javac > > CLASSPATH=C:\jdk1.2.2\lib\tools.jar;lib\crimson.jar;lib\jaxp.jar;;classes;s > >rc\main;.;c:\jdk1.2.2\lib\tools.jar;c:\jdk1.2.2\lib\dt.jar;E:\ptc\Windchill _ > >5.1\codebase;C:\Oracle\orb\classes\yoj.jar;C:\Ora > > cle\orb\classes\share.zip;C:\ptc_uk\ant\jakarta-ant-1.4\lib\ant.jar;C:\ptc_ > >uk\ant\jakarta-ant-1.4\lib\jaxp.jar;c:\ptc_uk\Junit\junit3.7\junit.jar;c:\p t > >c_uk\Junit\junit3.7 > > > > ... Compiling Ant Classes > > Note: 4 files use or override a deprecated API. Recompile with > > "-deprecation" for details. 1 warning > > > > ... Copying Required Files > > src\main\org\apache\tools\ant\taskdefs\defaults.properties > > 1 file(s) copied. > > src\main\org\apache\tools\ant\types\defaults.properties > > 1 file(s) copied. > > > > ... Building Ant Distribution > > 259 File(s) copied > > Buildfile: build.xml > > A nonfatal internal JIT (3.10.107(x)) error 'Relocation error: NULL > > relocation target' has occurred in : > > 'org/apache/crimson/parser/Parser2.maybeComment (Z)Z': Interpreting method. > > Please report this error in detail to > > http://java.sun.com/cgi-bin/bugreport.cgi > > > > > > bootstrap: > > > > prepare: > > > > check_for_optional_packages: > > > > build: > > Compiling 94 source files to C:\ptc_uk\ant\jakarta-ant-1.4\build\classes > > C:\ptc_uk\ant\jakarta-ant-1.4\src\main\org\apache\tools\ant\taskdefs\option > >al\junit\JUnitTestRunner.java:206: Method > > addListener(org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner) > > not found in class junit.framework.TestResult. > > res.addListener(this); > > ^ > > C:\ptc_uk\ant\jakarta-ant-1.4\src\main\org\apache\tools\ant\taskdefs\option > >al\junit\JUnitTestRunner.java:208: Method > > addListener(junit.framework.TestListener) not found in class > > junit.framework.TestRe sult. > > res.addListener((TestListener)formatters.elementAt(i)); > > ^ > > C:\ptc_uk\ant\jakarta-ant-1.4\src\main\org\apache\tools\ant\taskdefs\option > >al\junit\JUnitTestRunner.java:240: Method runCount() not found in class > > junit.framework.TestResult. junitTest.setCounts(res.runCount(), > > res.failureCount(), ^ > > C:\ptc_uk\ant\jakarta-ant-1.4\src\main\org\apache\tools\ant\taskdefs\option > >al\junit\JUnitTestRunner.java:240: Method failureCount() not found in class > > junit.framework.TestResult. junitTest.setCounts(res.runCount(), > > res.failureCount(), ^ > > C:\ptc_uk\ant\jakarta-ant-1.4\src\main\org\apache\tools\ant\taskdefs\option > >al\junit\JUnitTestRunner.java:241: Method errorCount() not found in class > > junit.framework.TestResult. res.errorCount()); > > ^ > > C:\ptc_uk\ant\jakarta-ant-1.4\src\main\org\apache\tools\ant\taskdefs\option > >al\junit\JUnitTestRunner.java:247: Method errorCount() not found in class > > junit.framework.TestResult. if (retCode != SUCCESS || res.errorCount() != > > 0) { > > ^ > > C:\ptc_uk\ant\jakarta-ant-1.4\src\main\org\apache\tools\ant\taskdefs\option > >al\junit\JUnitTestRunner.java:249: Method failureCount() not found in class > > junit.framework.TestResult. } else if (res.failureCount() != 0) { > > ^ > > Note: 6 files use or override a deprecated API. Recompile with > > "-deprecation" for details. 7 errors, 1 warning > > > > BUILD FAILED > > > > C:\ptc_uk\ant\jakarta-ant-1.4\build.xml:207: Compile failed, messages > > should have been provided. > > > > Total time: 48 seconds > > > > ... Cleaning Up Build Directories > > > > ... Done Bootstrapping Ant Distribution > > Bootstrap FAILED > > > > So please help me, where iam going wrong. > > > > Thanks > > > > DK > > ---------------------------------------- > Content-Type: text/html; charset="iso-8859-1"; name="Attachment: 1" > Content-Transfer-Encoding: quoted-printable > Content-Description: > ---------------------------------------- > > -- > Victor Hadianto > Nuix Pty. Ltd. (02) 9283 9010 > ------_=_NextPart_001_01C14B54.948CDC40 Content-Type: text/html; charset="iso-8859-1" RE: Installation problem
Send me a copy of your PATH to have a look at !
 
Regards
 
Suzi
-----Original Message-----
From: Dhirendra Kulkarni [mailto:dkulkarni@ptc.com]
Sent: 02 October 2001 11:43
To: ant-user@jakarta.apache.org
Subject: Re: Installation problem

Hello all, iam waiting for some more solutions for my problem, still iam not been able to get through installation of Ant 1.4 version.
 
Thanks
DK
----- Original Message -----
Sent: Tuesday, October 02, 2001 9:55 AM
Subject: Re: Installation problem

I checked the path variable and i have included bin directory.
----- Original Message -----
Sent: Tuesday, October 02, 2001 2:11 PM
Subject: RE: Installation problem

Seems there is something overwriting your classpath, check PATH,  hope this helps.

-----Original Message-----
From: Dhirendra Kulkarni [mailto:dkulkarni@ptc.com]
Sent: 02 October 2001 05:07
To: ant-user@jakarta.apache.org
Cc: victorh@nuix.com.au
Subject: Installation problem


Hi Victor,

    Thanks for responding. Actually i have removed all my earlier calsspath
setting for version 1.3 from system environment variables and also i have
restarted the machine. But still i am getting these earlier version of
crimson and jaxp.jar files in classpath. Actually they are not in classpath
in enviromment variable. But my earlier version directory i have not
removed. Also in 1.3 version there is no crimson.jar in lib directory.

So what is the remedy.

Thanks
DK


From: Victor Hadianto <victorh@nuix.com.au>
To: <ant-user@jakarta.apache.org>
Sent: Tuesday, October 02, 2001 5:26 AM
Subject: Re: Installation problem

> That's because you have another version of jaxp.jar and crimson.jar
earlier
> in the classpath. Reset your classpath before running the installation.
>
> /victor
>
>
> On Mon,  1 Oct 2001 20:45, you wrote:
> > Hi all
> >
> >      I have downloaded and installed jakarta-ant-1.4-bin.zip and
> > jakarta-ant-1.4-src.zip. I have also added following variables
> >
> >      ant_home, java_home, bin directory of ant home to path and ant.jar,
> > jaxp.jar of ant_home/lib to classpath and tools.jar of jdk   also to
> > classpath.
> >
> >     I have also added junit.jar and installation directory of Junit to
> > classpath
> >
> >     After setting these variables as per Ant's manusl (Building Ant)
> > section iam giving this command build
> > -Ddist.dir=<directory_to_contain_Ant_distribution> dist
> >
> >    iam getting following error,
> >
> >   ... Bootstrapping Ant Distribution
> > JAVA_HOME=C:\jdk1.2.2
> > JAVA=C:\jdk1.2.2\bin\java
> > JAVAC=C:\jdk1.2.2\bin\javac
> >
CLASSPATH=C:\jdk1.2.2\lib\tools.jar;lib\crimson.jar;lib\jaxp.jar;;classes;s
>
>rc\main;.;c:\jdk1.2.2\lib\tools.jar;c:\jdk1.2.2\lib\dt.jar;E:\ptc\Windchill
_
> >5.1\codebase;C:\Oracle\orb\classes\yoj.jar;C:\Ora
> >
cle\orb\classes\share.zip;C:\ptc_uk\ant\jakarta-ant-1.4\lib\ant.jar;C:\ptc_
>
>uk\ant\jakarta-ant-1.4\lib\jaxp.jar;c:\ptc_uk\Junit\junit3.7\junit.jar;c:\p
t
> >c_uk\Junit\junit3.7
> >
> > ... Compiling Ant Classes
> > Note: 4 files use or override a deprecated API.  Recompile with
> > "-deprecation" for details. 1 warning
> >
> > ... Copying Required Files
> > src\main\org\apache\tools\ant\taskdefs\defaults.properties
> >         1 file(s) copied.
> > src\main\org\apache\tools\ant\types\defaults.properties
> >         1 file(s) copied.
> >
> > ... Building Ant Distribution
> > 259 File(s) copied
> > Buildfile: build.xml
> > A nonfatal internal JIT (3.10.107(x)) error 'Relocation error: NULL
> > relocation target' has occurred in :
> > 'org/apache/crimson/parser/Parser2.maybeComment (Z)Z': Interpreting
method.
> > Please report this error in detail to
> > http://java.sun.com/cgi-bin/bugreport.cgi
> >
> >
> > bootstrap:
> >
> > prepare:
> >
> > check_for_optional_packages:
> >
> > build:
> > Compiling 94 source files to C:\ptc_uk\ant\jakarta-ant-1.4\build\classes
> >
C:\ptc_uk\ant\jakarta-ant-1.4\src\main\org\apache\tools\ant\taskdefs\option
> >al\junit\JUnitTestRunner.java:206: Method
> >
addListener(org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner)
> > not found in class junit.framework.TestResult.
> >         res.addListener(this);
> >                        ^
> >
C:\ptc_uk\ant\jakarta-ant-1.4\src\main\org\apache\tools\ant\taskdefs\option
> >al\junit\JUnitTestRunner.java:208: Method
> > addListener(junit.framework.TestListener) not found in class
> > junit.framework.TestRe sult.
> >             res.addListener((TestListener)formatters.elementAt(i));
> >                            ^
> >
C:\ptc_uk\ant\jakarta-ant-1.4\src\main\org\apache\tools\ant\taskdefs\option
> >al\junit\JUnitTestRunner.java:240: Method runCount() not found in class
> > junit.framework.TestResult. junitTest.setCounts(res.runCount(),
> > res.failureCount(), ^
> >
C:\ptc_uk\ant\jakarta-ant-1.4\src\main\org\apache\tools\ant\taskdefs\option
> >al\junit\JUnitTestRunner.java:240: Method failureCount() not found in
class
> > junit.framework.TestResult. junitTest.setCounts(res.runCount(),
> > res.failureCount(), ^
> >
C:\ptc_uk\ant\jakarta-ant-1.4\src\main\org\apache\tools\ant\taskdefs\option
> >al\junit\JUnitTestRunner.java:241: Method errorCount() not found in class
> > junit.framework.TestResult. res.errorCount());
> >                                                   ^
> >
C:\ptc_uk\ant\jakarta-ant-1.4\src\main\org\apache\tools\ant\taskdefs\option
> >al\junit\JUnitTestRunner.java:247: Method errorCount() not found in class
> > junit.framework.TestResult. if (retCode != SUCCESS || res.errorCount()
!=
> > 0) {
> >                                                 ^
> >
C:\ptc_uk\ant\jakarta-ant-1.4\src\main\org\apache\tools\ant\taskdefs\option
> >al\junit\JUnitTestRunner.java:249: Method failureCount() not found in
class
> > junit.framework.TestResult. } else if (res.failureCount() != 0) {
> >                                    ^
> > Note: 6 files use or override a deprecated API.  Recompile with
> > "-deprecation" for details. 7 errors, 1 warning
> >
> > BUILD FAILED
> >
> > C:\ptc_uk\ant\jakarta-ant-1.4\build.xml:207: Compile failed, messages
> > should have been provided.
> >
> > Total time: 48 seconds
> >
> > ... Cleaning Up Build Directories
> >
> > ... Done Bootstrapping Ant Distribution
> > Bootstrap FAILED
> >
> > So please help me, where iam going wrong.
> >
> > Thanks
> >
> > DK
>
> ----------------------------------------
> Content-Type: text/html; charset="iso-8859-1"; name="Attachment: 1"
> Content-Transfer-Encoding: quoted-printable
> Content-Description:
> ----------------------------------------
>
> --
> Victor Hadianto
> Nuix Pty. Ltd.      (02) 9283 9010
>

------_=_NextPart_001_01C14B54.948CDC40--