You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Chuck Amadi <ch...@breconbeacons.org> on 2001/07/11 15:33:35 UTC

Re:ant's Classpath just(ANT'S need some guidance!!)

The ant.jar is in the lib dir with the others.I was aware that the
classpath for ant must contain ant.jar and the other jar's needed for my
JAXP-compliant XML parser albeit i thought that %PATH% would include all
jar's. Thus what is the correct syntax.

set TOMCAT_HOME=C:\jakarta-tomcat-3.2.2
set ANT_HOME=C:\jakarta-ant-1.2
set JAVA_HOME=C:\JDK1.3
set PATH=%PATH%;%ANT_HOME%\bin ----- Believed that this was inclusive
for all jar's

set classpath=C:\jakarta-ant\bin\ant.jar (is this correct)
Cheers Chuck

Peter Alfors wrote:

>    Part 1.1.1    Type: Plain Text (text/plain)
>              Encoding: 8bit
>
>                           Name: peter.alfors.vcf
>    peter.alfors.vcf       Type: VCard (text/x-vcard)
>                       Encoding: 7bit
>                    Description: Card for Peter Alfors

--
The views expressed by the sender of this message don't
necessarily represent those of Brecon Beacons National Park
Authority. This message is intended for the addressee(s) only
and is sent in confidence; if you receive it in error, please can you
let us know (at it@breconbeacons.org) and then destroy all copies.
Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn
adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog.
Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion
yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn
mewn camgymeriad, a fyddech gystal â rhoi gwybod i
ni (yn it@breconbeacons.org) ac yna dilëwch bob copi.


Re: Re:ant's Classpath just(ANT'S need some guidance!!)

Posted by suhas <su...@techmas.hcltech.com>.
Chuck 
Please check bin directory will never have any jars in it 
so classpath is not correct 

  ----- Original Message ----- 
  From: Chuck Amadi 
  To: struts-user@jakarta.apache.org 
  Sent: Wednesday, July 11, 2001 2:33 PM
  Subject: Re:ant's Classpath just(ANT'S need some guidance!!)


  The ant.jar is in the lib dir with the others.I was aware that the classpath for ant must contain ant.jar and the other jar's needed for my JAXP-compliant XML parser albeit i thought that %PATH% would include all jar's. Thus what is the correct syntax. 
  set TOMCAT_HOME=C:\jakarta-tomcat-3.2.2 
  set ANT_HOME=C:\jakarta-ant-1.2 
  set JAVA_HOME=C:\JDK1.3 
  set PATH=%PATH%;%ANT_HOME%\bin ----- Believed that this was inclusive for all jar's 

  set classpath=C:\jakarta-ant\bin\ant.jar (is this correct) 
  Cheers Chuck 

  Peter Alfors wrote: 

       Part 1.1.1    Type: Plain Text (text/plain) 
                 Encoding: 8bit 
                              Name: peter.alfors.vcf 
       peter.alfors.vcf       Type: VCard (text/x-vcard) 
                          Encoding: 7bit 
                       Description: Card for Peter Alfors

  -- 
  The views expressed by the sender of this message don't 
  necessarily represent those of Brecon Beacons National Park 
  Authority. This message is intended for the addressee(s) only 
  and is sent in confidence; if you receive it in error, please can you 
  let us know (at it@breconbeacons.org) and then destroy all copies. 
  Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn 
  adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. 
  Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion 
  yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn 
  mewn camgymeriad, a fyddech gystal â rhoi gwybod i 
  ni (yn it@breconbeacons.org) ac yna dilëwch bob copi. 
    


Re: ant's Classpath just(ANT'S need some guidance!!)

Posted by Chuck Amadi <ch...@breconbeacons.org>.
Hi, all i have got the correct path  as below-
Nevertheless i recieved a BuildFile: build.xml does not exist  -
buildfile.
Thus i believe that all i need to do is build ant.

set ANT_HOME=C:\jakarta-ant-1.3
set classpath=%ANT_HOME%\lib\ant.jar
set PATH=%PATH%;%ANT_HOME%\bin\ant.bat
set JAVA_HOME=C:\JDK1.3
 Cheers 4 your help




Chuck Amadi wrote:

> I have tried that already no joy . Thus must i do away with  set
> TOMCAT_HOME as
> i assumed that i needed this for the container.
> set JAVA_HOME=C:\JDK1.3
> set  set classpath=%ANT_HOME%\lib\ant.jar
> Again this didn't work .
> Thus i try again at home as after i solve this it's time 4 linux
> Cheers all.
>
> Peter Alfors wrote:
>
> >    Part 1.1    Type: Plain Text (text/plain)
> >            Encoding: 8bit
>
> --
> The views expressed by the sender of this message don't
> necessarily represent those of Brecon Beacons National Park
> Authority. This message is intended for the addressee(s) only
> and is sent in confidence; if you receive it in error, please can you
> let us know (at it@breconbeacons.org) and then destroy all copies.
> Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn
> adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog.
> Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion
> yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn
> mewn camgymeriad, a fyddech gystal â rhoi gwybod i
> ni (yn it@breconbeacons.org) ac yna dilëwch bob copi.

--
The views expressed by the sender of this message don't
necessarily represent those of Brecon Beacons National Park
Authority. This message is intended for the addressee(s) only
and is sent in confidence; if you receive it in error, please can you
let us know (at it@breconbeacons.org) and then destroy all copies.
Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn
adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog.
Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion
yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn
mewn camgymeriad, a fyddech gystal â rhoi gwybod i
ni (yn it@breconbeacons.org) ac yna dilëwch bob copi.



Re: ant's Classpath just(ANT'S need some guidance!!)

Posted by Chuck Amadi <ch...@breconbeacons.org>.
I have tried that already no joy . Thus must i do away with  set
TOMCAT_HOME as
i assumed that i needed this for the container.
set JAVA_HOME=C:\JDK1.3
set  set classpath=%ANT_HOME%\lib\ant.jar
Again this didn't work .
Thus i try again at home as after i solve this it's time 4 linux
Cheers all.

Peter Alfors wrote:

>    Part 1.1    Type: Plain Text (text/plain)
>            Encoding: 8bit

--
The views expressed by the sender of this message don't
necessarily represent those of Brecon Beacons National Park
Authority. This message is intended for the addressee(s) only
and is sent in confidence; if you receive it in error, please can you
let us know (at it@breconbeacons.org) and then destroy all copies.
Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn
adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog.
Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion
yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn
mewn camgymeriad, a fyddech gystal â rhoi gwybod i
ni (yn it@breconbeacons.org) ac yna dilëwch bob copi.



Re: ant's Classpath just(ANT'S need some guidance!!)

Posted by Peter Alfors <pe...@irista.com>.
Java expects all necessary classes/jars/etc to be in the CLASSPATH
environment variable.

try:

    set classpath=%ANT_HOME%\lib\ant.jar;

then try to run ant.

HTH,
    Pete

Chuck Amadi wrote:

> The ant.jar is in the lib dir with the others.I was aware that the
> classpath for ant must contain ant.jar and the other jar's needed for
> my JAXP-compliant XML parser albeit i thought that %PATH% would
> include all jar's. Thus what is the correct syntax.
>
> set TOMCAT_HOME=C:\jakarta-tomcat-3.2.2
> set ANT_HOME=C:\jakarta-ant-1.2
> set JAVA_HOME=C:\JDK1.3
> set PATH=%PATH%;%ANT_HOME%\bin ----- Believed that this was inclusive
> for all jar's
>
> set classpath=C:\jakarta-ant\bin\ant.jar (is this correct)
> Cheers Chuck
>
> Peter Alfors wrote:
>
>>    Part 1.1.1    Type: Plain Text (text/plain)
>>              Encoding: 8bit
>>
>>                           Name: peter.alfors.vcf
>>    peter.alfors.vcf       Type: VCard (text/x-vcard)
>>                       Encoding: 7bit
>>                    Description: Card for Peter Alfors
>
> --
> The views expressed by the sender of this message don't
> necessarily represent those of Brecon Beacons National Park
> Authority. This message is intended for the addressee(s) only
> and is sent in confidence; if you receive it in error, please can you
> let us know (at it@breconbeacons.org) and then destroy all copies.
> Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn
> adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog.
> Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion
> yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn
> mewn camgymeriad, a fyddech gystal â rhoi gwybod i
> ni (yn it@breconbeacons.org) ac yna dilëwch bob copi.
>