Re: Ant problem - build.xml file does not exist

2001-07-13 Thread Chuck Amadi

I also have cygwin so i'll try that later once i have sorted ms-dos first
Cheers Chuck

Pham Thanh Quan wrote:

 Because Ant is intended for UNIX, You should download cygwin.com from
 jakarta.apache.org or elsewhere, install and run it instead of dos command
 prompt
 Quan

 - Original Message -
 From: kuma.cra [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, July 13, 2001 7:14 AM
 Subject: Re: Ant problem - build.xml file does not exist

  Hi Peter i hace cd to ant ie C:\cd ant
  C:\ant   Thus i excute ant prompt and no respose whats so ever only
  response is when i prompt C:\ant\bin\ant.bat thus get can't find build
  file.
 
  Any ideas Cheers Chuck
 
  Peter Alfors wrote:
  
   how are you executing ant.bat?
   In your dos prompt, move to the ant/bin directory, then execute it.
  
   Pete
  
   Chuck Amadi wrote:
  
Hi all i have just downloaded a exampl from netbeans of a sample
build.xml Thus i have installed in the ant's dir at the same level
as bin,doc,lib is this correct as when i run the ms- dos prompt
C:C:\ant\bin\ant.bat -find
I recieve a responce stating  build.xml does not exist.
Any Suggestions Chuck
   
--
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 [EMAIL PROTECTED]) 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 [EMAIL PROTECTED]) ac yna dilwch 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 [EMAIL PROTECTED]) 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 [EMAIL PROTECTED]) ac yna dilëwch bob copi.





Re: Ant problem - build.xml file does not exist

2001-07-13 Thread Chuck Amadi


Hi all im back , I have got a response from ms-dos prompt , albiet when
i enter C:\ant\bin\ant.bat -find
i recieve a searching for a build.xml ... could not locate a
build file but the fact of the matter is that i have downloaded a sample
and located it within the ant\bin dir .Nevertheless it still can't find
it.
My class path is as follows- the name of my dir is C:\ant
set ANT_HOME=C:\ant
set classpath=%ANT_HOME%\lib\ant.jar
set PATH=%PATH%;%ANT_HOME%\bin\ant.bat
set JAVA_HOME=C:\JDK1.3
Thus i have a build.xml sample with content at C:\ant\bin\build.xml

Pham Thanh Quan wrote:
Sorry! You can run it from Dos command prompt, but
you have to set some
following environment variables :
JAVA_HOME=your java home (e.g. C:\jdk1.3)
PATH=%PATH%;C:\jakarta-ant-1.3\bin
ANT_HOME=your ant home (e.g. C:\jakarta-ant-1.3)
After that, at the directory, which include the file build.xml, run
"ant"
Quan
- Original Message -
From: Pham Thanh Quan [EMAIL PROTECTED]>
To: [EMAIL PROTECTED]>; [EMAIL PROTECTED]>
Sent: Friday, July 13, 2001 9:41 AM
Subject: Re: Ant problem - build.xml file does not exist
> Because Ant is intended for UNIX, You should download "cygwin.com"
from
> jakarta.apache.org or elsewhere, install and run it instead of dos
command
> prompt
> Quan
>
> - Original Message -
> From: kuma.cra [EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]>
> Sent: Friday, July 13, 2001 7:14 AM
> Subject: Re: Ant problem - build.xml file does not exist
>
>
> > Hi Peter i hace cd to ant ie C:\>cd ant
> > C:\ant Thus i excute ant prompt and no respose whats
so ever only
> > response is when i prompt C:\>ant\bin\ant.bat thus get can't find
build
> > file.
> >
> > Any ideas Cheers Chuck
> >
> > Peter Alfors wrote:
> > >
> > > how are you executing ant.bat?
> > > In your dos prompt, move to the ant/bin directory, then execute
it.
> > >
> > > Pete
> > >
> > > Chuck Amadi wrote:
> > >
> > > > Hi all i have just downloaded a exampl from netbeans of a sample
> > > > build.xml Thus i have installed in the ant's dir at the same
level
> > > > as bin,doc,lib is this correct as when i run the ms- dos
prompt
> > > > C:>C:\ant\bin\ant.bat -find
> > > > I recieve a responce stating build.xml does not exist.
> > > > Any Suggestions Chuck
> > > >
> > > > --
> > > > 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 [EMAIL PROTECTED]) 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 [EMAIL PROTECTED]) ac yna dilwch 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 [EMAIL PROTECTED]) 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 [EMAIL PROTECTED]) ac yna dilwch bob copi.



Re: Ant problem - build.xml file does not exist

2001-07-12 Thread Calvin Yu



Ok, this means that your ant installation is 
correct, but the directory in which your dos-prompt is in doesn't have a 
build.xml file. 'cd' into a directory with a build.xml and (making sure 
ant.bat is in your path) run ant again.

Calvin

  - Original Message - 
  From: 
  Chuck Amadi 
  To: [EMAIL PROTECTED] 
  
  Sent: Thursday, July 12, 2001 9:04 
  AM
  Subject: Ant problem - build.xml file 
  does not exist
  Hi all i have just downloaded a exampl from netbeans of a 
  sample build.xml Thus i have installed in the ant's dir at the 
  same level as bin,doc,lib is this correct as when i run the 
  ms- dos prompt C:C:\ant\bin\ant.bat -find I recieve a 
  responce stating build.xml does not exist. Any Suggestions 
  Chuck 
  -- 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 
  [EMAIL PROTECTED]) 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 [EMAIL PROTECTED]) ac yna dilëwch bob copi.  



Re: Ant problem - build.xml file does not exist

2001-07-12 Thread kuma.cra

Cheers 4 the mail , I have downloaded a sample build.xml and i
transfered it to the ant dir albeit dos still don't pick it up .I have
tried the -find and the -buildfile option to no avail.

Thus any other ideas.

Thus my dir of ant is C:\ant
The Build file is in ant alongside doc,lib  bin so why can't dos prompt
locate it. very confusing.

Mail me with any suggestions Cheers 4 now.



Re: Ant problem - build.xml file does not exist

2001-07-12 Thread kuma.cra

Hi Peter i hace cd to ant ie C:\cd ant
C:\ant   Thus i excute ant prompt and no respose whats so ever only
response is when i prompt C:\ant\bin\ant.bat thus get can't find build
file.

Any ideas Cheers Chuck

Peter Alfors wrote:
 
 how are you executing ant.bat?
 In your dos prompt, move to the ant/bin directory, then execute it.
 
 Pete
 
 Chuck Amadi wrote:
 
  Hi all i have just downloaded a exampl from netbeans of a sample
  build.xml Thus i have installed in the ant's dir at the same level
  as bin,doc,lib is this correct as when i run the ms- dos prompt
  C:C:\ant\bin\ant.bat -find
  I recieve a responce stating  build.xml does not exist.
  Any Suggestions Chuck
 
  --
  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 [EMAIL PROTECTED]) 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 [EMAIL PROTECTED]) ac yna dilëwch bob copi.
 



Re: Ant problem - build.xml file does not exist

2001-07-12 Thread Pham Thanh Quan

Because Ant is intended for UNIX, You should download cygwin.com from
jakarta.apache.org or elsewhere, install and run it instead of dos command
prompt
Quan

- Original Message -
From: kuma.cra [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 13, 2001 7:14 AM
Subject: Re: Ant problem - build.xml file does not exist


 Hi Peter i hace cd to ant ie C:\cd ant
 C:\ant   Thus i excute ant prompt and no respose whats so ever only
 response is when i prompt C:\ant\bin\ant.bat thus get can't find build
 file.

 Any ideas Cheers Chuck

 Peter Alfors wrote:
 
  how are you executing ant.bat?
  In your dos prompt, move to the ant/bin directory, then execute it.
 
  Pete
 
  Chuck Amadi wrote:
 
   Hi all i have just downloaded a exampl from netbeans of a sample
   build.xml Thus i have installed in the ant's dir at the same level
   as bin,doc,lib is this correct as when i run the ms- dos prompt
   C:C:\ant\bin\ant.bat -find
   I recieve a responce stating  build.xml does not exist.
   Any Suggestions Chuck
  
   --
   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 [EMAIL PROTECTED]) 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 [EMAIL PROTECTED]) ac yna dilëwch bob copi.
  





Re: Ant problem - build.xml file does not exist

2001-07-12 Thread Pham Thanh Quan

Sorry! You can run it from Dos command prompt, but you have to set some
following environment variables :

JAVA_HOME=your java home (e.g. C:\jdk1.3)
PATH=%PATH%;C:\jakarta-ant-1.3\bin
ANT_HOME=your ant home (e.g. C:\jakarta-ant-1.3)

After that, at the directory, which include the file build.xml, run ant

Quan

- Original Message -
From: Pham Thanh Quan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, July 13, 2001 9:41 AM
Subject: Re: Ant problem - build.xml file does not exist


 Because Ant is intended for UNIX, You should download cygwin.com from
 jakarta.apache.org or elsewhere, install and run it instead of dos command
 prompt
 Quan

 - Original Message -
 From: kuma.cra [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, July 13, 2001 7:14 AM
 Subject: Re: Ant problem - build.xml file does not exist


  Hi Peter i hace cd to ant ie C:\cd ant
  C:\ant   Thus i excute ant prompt and no respose whats so ever only
  response is when i prompt C:\ant\bin\ant.bat thus get can't find build
  file.
 
  Any ideas Cheers Chuck
 
  Peter Alfors wrote:
  
   how are you executing ant.bat?
   In your dos prompt, move to the ant/bin directory, then execute it.
  
   Pete
  
   Chuck Amadi wrote:
  
Hi all i have just downloaded a exampl from netbeans of a sample
build.xml Thus i have installed in the ant's dir at the same level
as bin,doc,lib is this correct as when i run the ms- dos prompt
C:C:\ant\bin\ant.bat -find
I recieve a responce stating  build.xml does not exist.
Any Suggestions Chuck
   
--
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 [EMAIL PROTECTED]) 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 [EMAIL PROTECTED]) ac yna dilëwch bob copi.