ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dhirendra Kulkarni" <dkulka...@ptc.com>
Subject Re: Installation problem
Date Tue, 02 Oct 2001 11:02:13 GMT
RE: Installation problemHere is my path veriables set in system environment variables

c:\jdk1.2.2\bin;C:\Oracle\bin;C:\Program Files\Oracle\jre\1.1.7\bin;%SystemRoot%\system32;%SystemRoot%;C:\Program
Files\Mts;C:\Oracle\orb\bin;C:\Rational\common;C:\ptc_uk\ant\jakarta-ant-1.4\bin;e:\ptc\WindchillDBTool_5.1\bin;e:\ptc\Windchill_5.1\bin;e:\ptc\infoengine\bin

Tx
DK
  ----- Original Message ----- 
  From: Suzi Griffiths 
  To: 'ant-user@jakarta.apache.org' 
  Sent: Tuesday, October 02, 2001 8:41 PM
  Subject: 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 ----- 
      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 <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 
        > 


Mime
View raw message