You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by miranda raul <mi...@ucd.ie> on 2010/05/29 04:41:28 UTC

ANT for dummies

Hi,
First of all, I have to say that I am a not versed in computers. I need to install and run a program called NESTEDMICA that requires ANT. The problem is... How in heaven can I install ANT?  Just to get you an idea where my difficulties started, I couldn't set the environmental variables JAVA_HOME and ANT_HOME as required in the "Installing ANT" section of the manual. Hopefully, someone is able and willing to sit for a good while and write a detailed procedure to get this done.
Thank you very much for your help.
Raul


__________________________________
Raul Miranda, PhD
Postdoctoral Research
Ardmore House
School of Biomolecular and Biomedical Science.
University College Dublin
Belfield, Dublin 4
Ireland
Tel: +35317161625
Email: miranda.raul@ucd.ie







Re: ANT for dummies

Posted by Raul Miranda <mi...@ucd.ie>.
OK, that's great. In that case, it's time to build NestedMICA.
I suppose the distribution files of NestedMICA contain a build.xml file that 
Ant may use.
Thanks a million for your help, time and patience. Greatly appreciated.
Raul




----- Original Message ----- 
From: "Bruce Atherton" <br...@callenish.com>
To: <us...@ant.apache.org>
Sent: Monday, May 31, 2010 1:27 AM
Subject: Re: ANT for dummies


> If you read that section again, you'll see that these are the steps for 
> someone building Ant from source code. You are not doing that, so you can 
> ignore it.
>
> On 30/05/2010 2:31 PM, Raul Miranda wrote:
>> Dear Bruce and Glenn,
>>
>>
>>
>> Thank you very much for your answers. I want to install the 1.8.1 version 
>> of Ant in Mac OS X version 10.4.11.  Running  java -version in a terminal 
>> gives
>>
>>
>>
>> "java version 1.5.0_19"
>>
>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_19-b02-306)
>>
>> Java HotSpot(TM) Client VM (build 1.5.0_19-138, mixed mode, sharing)
>>
>>
>>
>> I managed to set the environment variables and got Ant installed. I 
>> executed the command ant -f fetch.xml -Ddest=system to get the library 
>> dependencies. This finished with a message
>>
>>
>>
>> all:
>>
>>
>>
>> BUILD SUCCESSFUL
>>
>> Total time: 2minutes 32 seconds
>>
>>
>>
>> After this, the Ant manual says to change into the installation directory 
>> set the JAVA_HOME environment variable to the directory where JDK is 
>> installed and execute the command
>>
>> sh build.sh -Ddist.dir=<directory_to_contain_Ant_distribution> dist
>>
>> I have Ant in /Applications/ant so I typed
>>
>> sh build.sh -Ddist.dir=/Applications/ant dist
>>
>> The result is:
>>
>> build.sh: build.sh: No such file or directory.
>>
>> I guess this may seem to be a trivial thing for most of you but it is 
>> taking the toll on me. I  a great believe I would appreciate your advice 
>> to have Ant built.
>>
>>
>>
>> Thanks a lot
>>
>>
>>
>> Raul
>>
>>
>>
>> ----- Original Message ----- From: "Bruce Atherton" <br...@callenish.com>
>> To: <us...@ant.apache.org>
>> Sent: Sunday, May 30, 2010 8:28 PM
>> Subject: Re: ANT for dummies
>>
>>
>>> As the manual says, the details of the short story are available in the 
>>> rest of the document. In particular, most of the list items in the short 
>>> story have a link that leads you to details about that step. If you want 
>>> to know what dest=system represents (many don't and describing it would 
>>> just be noise for them), then follow the link on that list item[1].
>>>
>>> The fetch.xml has been around a while and has been mentioned in some 
>>> portions of the Ant documentation, but it has only very recently been 
>>> brought into the installing Ant section of the manual. Previously, the 
>>> manual suggested that users manually download each of the library 
>>> dependencies for tasks that they are interested in. Hopefully the change 
>>> will make it easier for users to use more of the tasks available.
>>>
>>> The fetch.xml is in the ANT_HOME directory which should be the current 
>>> directory. That detail should probably be added to the manual.
>>>
>>> [1] http://ant.apache.org/manual/install.html#optionalTasks
>>>
>>> On 30/05/2010 5:18 AM, glenn opdycke-hansen wrote:
>>>> To install Ant, follow the instructions at
>>>> http://ant.apache.org/manual/install.html#installing
>>>> Bruce had more information on this above.
>>>> I did notice that there is an extra step:
>>>>
>>>> 5. Optionally, run ant -f fetch.xml -Ddest=system to get the library
>>>>
>>>>> dependencies of most of the Ant optional tasks. If you don't do this, 
>>>>> many
>>>>> of the optional Ant tasks will not be available. See Optional 
>>>>> Tasks<#optionalTasks>  for
>>>>> details and other options for the -Ddest parameter.
>>>>>
>>>> What is "system"? Is it replaced with the ant home?  Or is it a 
>>>> literal?
>>>> Is this step new with 1.8?
>>>> Where is the fetch.xml script?
>>>> Does current directory need to be set?
>>>> <http://ant.apache.org/manual/install.html#installing>
>>>> --glenn
>>>>
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>> For additional commands, e-mail: user-help@ant.apache.org
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: ANT for dummies

Posted by Bruce Atherton <br...@callenish.com>.
If you look at the thread below, you'll see my comment about building 
from source was in response to Raul's attempt to use "sh build.sh". 
Using fetch.xml is recommended for all users that want access to the 
full set of tasks delivered with Ant (saving the ones that require 
commercial software).

On 30/05/2010 8:15 PM, glenn opdycke-hansen wrote:
> Thank you for the additional information.  I read the section "The Short
> Story" which had the item 5 that I quoted above.  I see that this section
> did not refer to building Ant from source.  Perhaps item 5 should not be
> included there.
>
> --glenn
>
>
> On Sun, May 30, 2010 at 19:27, Bruce Atherton<br...@callenish.com>  wrote:
>
>    
>> If you read that section again, you'll see that these are the steps for
>> someone building Ant from source code. You are not doing that, so you can
>> ignore it.
>>
>>
>> On 30/05/2010 2:31 PM, Raul Miranda wrote:
>>
>>      
>>> Dear Bruce and Glenn,
>>>
>>>
>>>
>>> Thank you very much for your answers. I want to install the 1.8.1 version
>>> of Ant in Mac OS X version 10.4.11.  Running  java -version in a terminal
>>> gives
>>>
>>>
>>>
>>> "java version 1.5.0_19"
>>>
>>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_19-b02-306)
>>>
>>> Java HotSpot(TM) Client VM (build 1.5.0_19-138, mixed mode, sharing)
>>>
>>>
>>>
>>> I managed to set the environment variables and got Ant installed. I
>>> executed the command ant -f fetch.xml -Ddest=system to get the library
>>> dependencies. This finished with a message
>>>
>>>
>>>
>>> all:
>>>
>>>
>>>
>>> BUILD SUCCESSFUL
>>>
>>> Total time: 2minutes 32 seconds
>>>
>>>
>>>
>>> After this, the Ant manual says to change into the installation directory
>>> set the JAVA_HOME environment variable to the directory where JDK is
>>> installed and execute the command
>>>
>>> sh build.sh -Ddist.dir=<directory_to_contain_Ant_distribution>  dist
>>>
>>> I have Ant in /Applications/ant so I typed
>>>
>>> sh build.sh -Ddist.dir=/Applications/ant dist
>>>
>>> The result is:
>>>
>>> build.sh: build.sh: No such file or directory.
>>>
>>> I guess this may seem to be a trivial thing for most of you but it is
>>> taking the toll on me. I  a great believe I would appreciate your advice to
>>> have Ant built.
>>>
>>>
>>>
>>> Thanks a lot
>>>
>>>
>>>
>>> Raul
>>>
>>>
>>>
>>> ----- Original Message ----- From: "Bruce Atherton"<br...@callenish.com>
>>> To:<us...@ant.apache.org>
>>> Sent: Sunday, May 30, 2010 8:28 PM
>>> Subject: Re: ANT for dummies
>>>
>>>
>>>   As the manual says, the details of the short story are available in the
>>>        
>>>> rest of the document. In particular, most of the list items in the short
>>>> story have a link that leads you to details about that step. If you want to
>>>> know what dest=system represents (many don't and describing it would just be
>>>> noise for them), then follow the link on that list item[1].
>>>>
>>>> The fetch.xml has been around a while and has been mentioned in some
>>>> portions of the Ant documentation, but it has only very recently been
>>>> brought into the installing Ant section of the manual. Previously, the
>>>> manual suggested that users manually download each of the library
>>>> dependencies for tasks that they are interested in. Hopefully the change
>>>> will make it easier for users to use more of the tasks available.
>>>>
>>>> The fetch.xml is in the ANT_HOME directory which should be the current
>>>> directory. That detail should probably be added to the manual.
>>>>
>>>> [1] http://ant.apache.org/manual/install.html#optionalTasks
>>>>
>>>> On 30/05/2010 5:18 AM, glenn opdycke-hansen wrote:
>>>>
>>>>          
>>>>> To install Ant, follow the instructions at
>>>>> http://ant.apache.org/manual/install.html#installing
>>>>> Bruce had more information on this above.
>>>>> I did notice that there is an extra step:
>>>>>
>>>>> 5. Optionally, run ant -f fetch.xml -Ddest=system to get the library
>>>>>
>>>>>   dependencies of most of the Ant optional tasks. If you don't do this,
>>>>>            
>>>>>> many
>>>>>> of the optional Ant tasks will not be available. See Optional
>>>>>> Tasks<#optionalTasks>   for
>>>>>> details and other options for the -Ddest parameter.
>>>>>>
>>>>>>   What is "system"? Is it replaced with the ant home?  Or is it a
>>>>>>              
>>>>> literal?
>>>>> Is this step new with 1.8?
>>>>> Where is the fetch.xml script?
>>>>> Does current directory need to be set?
>>>>> <http://ant.apache.org/manual/install.html#installing>
>>>>> --glenn
>>>>>
>>>>>
>>>>>
>>>>>            
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>>> For additional commands, e-mail: user-help@ant.apache.org
>>>>
>>>>
>>>>
>>>>          
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>> For additional commands, e-mail: user-help@ant.apache.org
>>>
>>>
>>>        
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>>
>>      
>    


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: ANT for dummies

Posted by glenn opdycke-hansen <gl...@gmail.com>.
Thank you for the additional information.  I read the section "The Short
Story" which had the item 5 that I quoted above.  I see that this section
did not refer to building Ant from source.  Perhaps item 5 should not be
included there.

--glenn


On Sun, May 30, 2010 at 19:27, Bruce Atherton <br...@callenish.com> wrote:

> If you read that section again, you'll see that these are the steps for
> someone building Ant from source code. You are not doing that, so you can
> ignore it.
>
>
> On 30/05/2010 2:31 PM, Raul Miranda wrote:
>
>> Dear Bruce and Glenn,
>>
>>
>>
>> Thank you very much for your answers. I want to install the 1.8.1 version
>> of Ant in Mac OS X version 10.4.11.  Running  java -version in a terminal
>> gives
>>
>>
>>
>> "java version 1.5.0_19"
>>
>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_19-b02-306)
>>
>> Java HotSpot(TM) Client VM (build 1.5.0_19-138, mixed mode, sharing)
>>
>>
>>
>> I managed to set the environment variables and got Ant installed. I
>> executed the command ant -f fetch.xml -Ddest=system to get the library
>> dependencies. This finished with a message
>>
>>
>>
>> all:
>>
>>
>>
>> BUILD SUCCESSFUL
>>
>> Total time: 2minutes 32 seconds
>>
>>
>>
>> After this, the Ant manual says to change into the installation directory
>> set the JAVA_HOME environment variable to the directory where JDK is
>> installed and execute the command
>>
>> sh build.sh -Ddist.dir=<directory_to_contain_Ant_distribution> dist
>>
>> I have Ant in /Applications/ant so I typed
>>
>> sh build.sh -Ddist.dir=/Applications/ant dist
>>
>> The result is:
>>
>> build.sh: build.sh: No such file or directory.
>>
>> I guess this may seem to be a trivial thing for most of you but it is
>> taking the toll on me. I  a great believe I would appreciate your advice to
>> have Ant built.
>>
>>
>>
>> Thanks a lot
>>
>>
>>
>> Raul
>>
>>
>>
>> ----- Original Message ----- From: "Bruce Atherton" <br...@callenish.com>
>> To: <us...@ant.apache.org>
>> Sent: Sunday, May 30, 2010 8:28 PM
>> Subject: Re: ANT for dummies
>>
>>
>>  As the manual says, the details of the short story are available in the
>>> rest of the document. In particular, most of the list items in the short
>>> story have a link that leads you to details about that step. If you want to
>>> know what dest=system represents (many don't and describing it would just be
>>> noise for them), then follow the link on that list item[1].
>>>
>>> The fetch.xml has been around a while and has been mentioned in some
>>> portions of the Ant documentation, but it has only very recently been
>>> brought into the installing Ant section of the manual. Previously, the
>>> manual suggested that users manually download each of the library
>>> dependencies for tasks that they are interested in. Hopefully the change
>>> will make it easier for users to use more of the tasks available.
>>>
>>> The fetch.xml is in the ANT_HOME directory which should be the current
>>> directory. That detail should probably be added to the manual.
>>>
>>> [1] http://ant.apache.org/manual/install.html#optionalTasks
>>>
>>> On 30/05/2010 5:18 AM, glenn opdycke-hansen wrote:
>>>
>>>> To install Ant, follow the instructions at
>>>> http://ant.apache.org/manual/install.html#installing
>>>> Bruce had more information on this above.
>>>> I did notice that there is an extra step:
>>>>
>>>> 5. Optionally, run ant -f fetch.xml -Ddest=system to get the library
>>>>
>>>>  dependencies of most of the Ant optional tasks. If you don't do this,
>>>>> many
>>>>> of the optional Ant tasks will not be available. See Optional
>>>>> Tasks<#optionalTasks>  for
>>>>> details and other options for the -Ddest parameter.
>>>>>
>>>>>  What is "system"? Is it replaced with the ant home?  Or is it a
>>>> literal?
>>>> Is this step new with 1.8?
>>>> Where is the fetch.xml script?
>>>> Does current directory need to be set?
>>>> <http://ant.apache.org/manual/install.html#installing>
>>>> --glenn
>>>>
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>> For additional commands, e-mail: user-help@ant.apache.org
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Re: ANT for dummies

Posted by Bruce Atherton <br...@callenish.com>.
If you read that section again, you'll see that these are the steps for 
someone building Ant from source code. You are not doing that, so you 
can ignore it.

On 30/05/2010 2:31 PM, Raul Miranda wrote:
> Dear Bruce and Glenn,
>
>
>
> Thank you very much for your answers. I want to install the 1.8.1 
> version of Ant in Mac OS X version 10.4.11.  Running  java -version in 
> a terminal gives
>
>
>
> "java version 1.5.0_19"
>
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_19-b02-306)
>
> Java HotSpot(TM) Client VM (build 1.5.0_19-138, mixed mode, sharing)
>
>
>
> I managed to set the environment variables and got Ant installed. I 
> executed the command ant -f fetch.xml -Ddest=system to get the library 
> dependencies. This finished with a message
>
>
>
> all:
>
>
>
> BUILD SUCCESSFUL
>
> Total time: 2minutes 32 seconds
>
>
>
> After this, the Ant manual says to change into the installation 
> directory set the JAVA_HOME environment variable to the directory 
> where JDK is installed and execute the command
>
> sh build.sh -Ddist.dir=<directory_to_contain_Ant_distribution> dist
>
> I have Ant in /Applications/ant so I typed
>
> sh build.sh -Ddist.dir=/Applications/ant dist
>
> The result is:
>
> build.sh: build.sh: No such file or directory.
>
> I guess this may seem to be a trivial thing for most of you but it is 
> taking the toll on me. I  a great believe I would appreciate your 
> advice to have Ant built.
>
>
>
> Thanks a lot
>
>
>
> Raul
>
>
>
> ----- Original Message ----- From: "Bruce Atherton" <br...@callenish.com>
> To: <us...@ant.apache.org>
> Sent: Sunday, May 30, 2010 8:28 PM
> Subject: Re: ANT for dummies
>
>
>> As the manual says, the details of the short story are available in 
>> the rest of the document. In particular, most of the list items in 
>> the short story have a link that leads you to details about that 
>> step. If you want to know what dest=system represents (many don't and 
>> describing it would just be noise for them), then follow the link on 
>> that list item[1].
>>
>> The fetch.xml has been around a while and has been mentioned in some 
>> portions of the Ant documentation, but it has only very recently been 
>> brought into the installing Ant section of the manual. Previously, 
>> the manual suggested that users manually download each of the library 
>> dependencies for tasks that they are interested in. Hopefully the 
>> change will make it easier for users to use more of the tasks available.
>>
>> The fetch.xml is in the ANT_HOME directory which should be the 
>> current directory. That detail should probably be added to the manual.
>>
>> [1] http://ant.apache.org/manual/install.html#optionalTasks
>>
>> On 30/05/2010 5:18 AM, glenn opdycke-hansen wrote:
>>> To install Ant, follow the instructions at
>>> http://ant.apache.org/manual/install.html#installing
>>> Bruce had more information on this above.
>>> I did notice that there is an extra step:
>>>
>>> 5. Optionally, run ant -f fetch.xml -Ddest=system to get the library
>>>
>>>> dependencies of most of the Ant optional tasks. If you don't do 
>>>> this, many
>>>> of the optional Ant tasks will not be available. See Optional 
>>>> Tasks<#optionalTasks>  for
>>>> details and other options for the -Ddest parameter.
>>>>
>>> What is "system"? Is it replaced with the ant home?  Or is it a 
>>> literal?
>>> Is this step new with 1.8?
>>> Where is the fetch.xml script?
>>> Does current directory need to be set?
>>> <http://ant.apache.org/manual/install.html#installing>
>>> --glenn
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: ANT for dummies

Posted by Raul Miranda <mi...@ucd.ie>.
Dear Bruce and Glenn,



Thank you very much for your answers. I want to install the 1.8.1 version of 
Ant in Mac OS X version 10.4.11.  Running  java -version in a terminal gives



"java version 1.5.0_19"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_19-b02-306)

Java HotSpot(TM) Client VM (build 1.5.0_19-138, mixed mode, sharing)



 I managed to set the environment variables and got Ant installed. I 
executed the command ant -f fetch.xml -Ddest=system to get the library 
dependencies. This finished with a message



all:



BUILD SUCCESSFUL

Total time: 2minutes 32 seconds



After this, the Ant manual says to change into the installation directory 
set the JAVA_HOME environment variable to the directory where JDK is 
installed and execute the command

sh build.sh -Ddist.dir=<directory_to_contain_Ant_distribution> dist

I have Ant in /Applications/ant so I typed

sh build.sh -Ddist.dir=/Applications/ant dist

The result is:

build.sh: build.sh: No such file or directory.

I guess this may seem to be a trivial thing for most of you but it is taking 
the toll on me. I  a great believe I would appreciate your advice to have 
Ant built.



Thanks a lot



Raul



----- Original Message ----- 
From: "Bruce Atherton" <br...@callenish.com>
To: <us...@ant.apache.org>
Sent: Sunday, May 30, 2010 8:28 PM
Subject: Re: ANT for dummies


> As the manual says, the details of the short story are available in the 
> rest of the document. In particular, most of the list items in the short 
> story have a link that leads you to details about that step. If you want 
> to know what dest=system represents (many don't and describing it would 
> just be noise for them), then follow the link on that list item[1].
>
> The fetch.xml has been around a while and has been mentioned in some 
> portions of the Ant documentation, but it has only very recently been 
> brought into the installing Ant section of the manual. Previously, the 
> manual suggested that users manually download each of the library 
> dependencies for tasks that they are interested in. Hopefully the change 
> will make it easier for users to use more of the tasks available.
>
> The fetch.xml is in the ANT_HOME directory which should be the current 
> directory. That detail should probably be added to the manual.
>
> [1] http://ant.apache.org/manual/install.html#optionalTasks
>
> On 30/05/2010 5:18 AM, glenn opdycke-hansen wrote:
>> To install Ant, follow the instructions at
>> http://ant.apache.org/manual/install.html#installing
>> Bruce had more information on this above.
>> I did notice that there is an extra step:
>>
>> 5. Optionally, run ant -f fetch.xml -Ddest=system to get the library
>>
>>> dependencies of most of the Ant optional tasks. If you don't do this, 
>>> many
>>> of the optional Ant tasks will not be available. See Optional 
>>> Tasks<#optionalTasks>  for
>>> details and other options for the -Ddest parameter.
>>>
>> What is "system"? Is it replaced with the ant home?  Or is it a literal?
>> Is this step new with 1.8?
>> Where is the fetch.xml script?
>> Does current directory need to be set?
>> <http://ant.apache.org/manual/install.html#installing>
>> --glenn
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: ANT for dummies

Posted by Bruce Atherton <br...@callenish.com>.
As the manual says, the details of the short story are available in the 
rest of the document. In particular, most of the list items in the short 
story have a link that leads you to details about that step. If you want 
to know what dest=system represents (many don't and describing it would 
just be noise for them), then follow the link on that list item[1].

The fetch.xml has been around a while and has been mentioned in some 
portions of the Ant documentation, but it has only very recently been 
brought into the installing Ant section of the manual. Previously, the 
manual suggested that users manually download each of the library 
dependencies for tasks that they are interested in. Hopefully the change 
will make it easier for users to use more of the tasks available.

The fetch.xml is in the ANT_HOME directory which should be the current 
directory. That detail should probably be added to the manual.

[1] http://ant.apache.org/manual/install.html#optionalTasks

On 30/05/2010 5:18 AM, glenn opdycke-hansen wrote:
> To install Ant, follow the instructions at
> http://ant.apache.org/manual/install.html#installing
> Bruce had more information on this above.
> I did notice that there is an extra step:
>
> 5. Optionally, run ant -f fetch.xml -Ddest=system to get the library
>    
>> dependencies of most of the Ant optional tasks. If you don't do this, many
>> of the optional Ant tasks will not be available. See Optional Tasks<#optionalTasks>  for
>> details and other options for the -Ddest parameter.
>>      
> What is "system"? Is it replaced with the ant home?  Or is it a literal?
> Is this step new with 1.8?
> Where is the fetch.xml script?
> Does current directory need to be set?
> <http://ant.apache.org/manual/install.html#installing>
> --glenn
>
>    


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: ANT for dummies

Posted by glenn opdycke-hansen <gl...@gmail.com>.
To install Ant, follow the instructions at
http://ant.apache.org/manual/install.html#installing
Bruce had more information on this above.
I did notice that there is an extra step:

5. Optionally, run ant -f fetch.xml -Ddest=system to get the library
> dependencies of most of the Ant optional tasks. If you don't do this, many
> of the optional Ant tasks will not be available. See Optional Tasks<#optionalTasks> for
> details and other options for the -Ddest parameter.

What is "system"? Is it replaced with the ant home?  Or is it a literal?
Is this step new with 1.8?
Where is the fetch.xml script?
Does current directory need to be set?
<http://ant.apache.org/manual/install.html#installing>
--glenn


On Sun, May 30, 2010 at 06:11, wolfgang haefelinger
<wh...@gmail.com>wrote:

> Bruce,
>
> >> How in heaven can I install ANT?
>
> How in heaven is it possible to make a Phd which such a little
> "willingness-to-dig-into-something-new"?
>
> >> Hopefully, someone is able and willing to sit for a good while and write
> a detailed procedure to get this done.
>
> You are the perfect candidate to do so. Please go ahead.
>
> Wolfgang.
>
>
> On Sat, May 29, 2010 at 11:35 PM, Bruce Atherton <bruce@callenish.com
> >wrote:
>
> > There are instructions on the Install page for how you set those
> > environmental variables[1][2][3], at least within a command shell.
> >
> > If you want to set them up to be available across all command shells,
> then
> > that will depend on your operating system. You don't tell us which
> operating
> > system you are using, so it is difficult to know how to direct you.You
> can
> > look at Windows XP instructions[4] which largely apply to Vista and
> Windows
> > 7 as well[5], or if you are on a Macintosh you can look at instructions
> for
> > OS X using tcsh[6] or bash[7].
> >
> > [1] http://ant.apache.org/manual/install.html#windows
> > [2] http://ant.apache.org/manual/install.html#bash
> > [3] http://ant.apache.org/manual/install.html#tcshcsh
> > [4] http://vlaurie.com/computers2/Articles/environment.htm
> > [5]
> >
> http://vlaurie.com/computers2/Articles/environment-variables-windows-vista-7.htm
> > [6] http://www.digitaledgesw.com/node/31
> > [7]
> >
> http://www.mac-forums.com/forums/os-x-applications-games/87365-how-set-environment-variables.html
> >
> > On 28/05/2010 7:41 PM, miranda raul wrote:
> >
> >> Hi,
> >> First of all, I have to say that I am a not versed in computers. I need
> to
> >> install and run a program called NESTEDMICA that requires ANT. The
> problem
> >> is... How in heaven can I install ANT?  Just to get you an idea where my
> >> difficulties started, I couldn't set the environmental variables
> JAVA_HOME
> >> and ANT_HOME as required in the "Installing ANT" section of the manual.
> >> Hopefully, someone is able and willing to sit for a good while and write
> a
> >> detailed procedure to get this done.
> >> Thank you very much for your help.
> >> Raul
> >>
> >>
> >> __________________________________
> >> Raul Miranda, PhD
> >> Postdoctoral Research
> >> Ardmore House
> >> School of Biomolecular and Biomedical Science.
> >> University College Dublin
> >> Belfield, Dublin 4
> >> Ireland
> >> Tel: +35317161625
> >> Email: miranda.raul@ucd.ie
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> >
> >
>
>
> --
> Wolfgang Häfelinger
> häfelinger IT - Applied Software Architecture
> http://www.haefelinger.it
> +31 648 27 61 59
>

Re: ANT for dummies

Posted by wolfgang haefelinger <wh...@gmail.com>.
Bruce,

>> How in heaven can I install ANT?

How in heaven is it possible to make a Phd which such a little
"willingness-to-dig-into-something-new"?

>> Hopefully, someone is able and willing to sit for a good while and write
a detailed procedure to get this done.

You are the perfect candidate to do so. Please go ahead.

Wolfgang.


On Sat, May 29, 2010 at 11:35 PM, Bruce Atherton <br...@callenish.com>wrote:

> There are instructions on the Install page for how you set those
> environmental variables[1][2][3], at least within a command shell.
>
> If you want to set them up to be available across all command shells, then
> that will depend on your operating system. You don't tell us which operating
> system you are using, so it is difficult to know how to direct you.You can
> look at Windows XP instructions[4] which largely apply to Vista and Windows
> 7 as well[5], or if you are on a Macintosh you can look at instructions for
> OS X using tcsh[6] or bash[7].
>
> [1] http://ant.apache.org/manual/install.html#windows
> [2] http://ant.apache.org/manual/install.html#bash
> [3] http://ant.apache.org/manual/install.html#tcshcsh
> [4] http://vlaurie.com/computers2/Articles/environment.htm
> [5]
> http://vlaurie.com/computers2/Articles/environment-variables-windows-vista-7.htm
> [6] http://www.digitaledgesw.com/node/31
> [7]
> http://www.mac-forums.com/forums/os-x-applications-games/87365-how-set-environment-variables.html
>
> On 28/05/2010 7:41 PM, miranda raul wrote:
>
>> Hi,
>> First of all, I have to say that I am a not versed in computers. I need to
>> install and run a program called NESTEDMICA that requires ANT. The problem
>> is... How in heaven can I install ANT?  Just to get you an idea where my
>> difficulties started, I couldn't set the environmental variables JAVA_HOME
>> and ANT_HOME as required in the "Installing ANT" section of the manual.
>> Hopefully, someone is able and willing to sit for a good while and write a
>> detailed procedure to get this done.
>> Thank you very much for your help.
>> Raul
>>
>>
>> __________________________________
>> Raul Miranda, PhD
>> Postdoctoral Research
>> Ardmore House
>> School of Biomolecular and Biomedical Science.
>> University College Dublin
>> Belfield, Dublin 4
>> Ireland
>> Tel: +35317161625
>> Email: miranda.raul@ucd.ie
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>


-- 
Wolfgang Häfelinger
häfelinger IT - Applied Software Architecture
http://www.haefelinger.it
+31 648 27 61 59

Re: ANT for dummies

Posted by Bruce Atherton <br...@callenish.com>.
There are instructions on the Install page for how you set those 
environmental variables[1][2][3], at least within a command shell.

If you want to set them up to be available across all command shells, 
then that will depend on your operating system. You don't tell us which 
operating system you are using, so it is difficult to know how to direct 
you.You can look at Windows XP instructions[4] which largely apply to 
Vista and Windows 7 as well[5], or if you are on a Macintosh you can 
look at instructions for OS X using tcsh[6] or bash[7].

[1] http://ant.apache.org/manual/install.html#windows
[2] http://ant.apache.org/manual/install.html#bash
[3] http://ant.apache.org/manual/install.html#tcshcsh
[4] http://vlaurie.com/computers2/Articles/environment.htm
[5] 
http://vlaurie.com/computers2/Articles/environment-variables-windows-vista-7.htm
[6] http://www.digitaledgesw.com/node/31
[7] 
http://www.mac-forums.com/forums/os-x-applications-games/87365-how-set-environment-variables.html

On 28/05/2010 7:41 PM, miranda raul wrote:
> Hi,
> First of all, I have to say that I am a not versed in computers. I need to install and run a program called NESTEDMICA that requires ANT. The problem is... How in heaven can I install ANT?  Just to get you an idea where my difficulties started, I couldn't set the environmental variables JAVA_HOME and ANT_HOME as required in the "Installing ANT" section of the manual. Hopefully, someone is able and willing to sit for a good while and write a detailed procedure to get this done.
> Thank you very much for your help.
> Raul
>
>
> __________________________________
> Raul Miranda, PhD
> Postdoctoral Research
> Ardmore House
> School of Biomolecular and Biomedical Science.
> University College Dublin
> Belfield, Dublin 4
> Ireland
> Tel: +35317161625
> Email: miranda.raul@ucd.ie
>
>
>
>
>
>
>
>    


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org