dev@glassfish.java.net

Re: Ant for GlassFish installation

From: Arun Gupta <Arun.Gupta_at_Sun.COM>
Date: Thu, 15 Mar 2007 21:00:14 -0700

Dinesh,

The original request was

-- cut here --
GlassFish installation instructions [1] say:

"GlasssFish installation requires JDK 5 and Ant 1.6.5."

There is no need for an additional Ant 1.6.5 installation on your
machine. I always configure GlassFish using:

lib\ant\bin\ant -f setup.xml

and it works!

Is there some other reason Ant 1.6.5 is required explicitly ?
-- cut here --

I don't see a need to download Ant additionally. Can you explain ?

-Arun

Dinesh Patil wrote:
> Arun,
>
> Earlier instructions were for Windows, which were correct actually.. I
> have added Unix/Linux instructions to change permissions.
>
> We recommend that you use the version of ant included in GlassFish from
> the \glassfish\lib\ant (windows) directory. For Unix/Linux, you will
> have to set execute permissions for the ant binaries as below.
>
> % chmod -R +x glassfish/lib/ant/bin
>
> thanks
> Dinesh
>
> Arun Gupta wrote:
>> Hi Dinesh,
>>
>> This issue is now resolved. Can you please update the instructions now ?
>>
>> Thanks,
>> -Arun
>>
>> Dinesh Patil wrote:
>>> Hi Arun,
>>> I am currently working on fixing the issue #537, The "ant" executable
>>> does not have execute permission ...
>>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=537
>>>
>>> once you install the
>>> http://java.net/download/javaee5/promoted/SunOS_X86/glassfish-installer-v2-b36.jar
>>> file, ant in lib/ant/bin doesn't have execute permissions, so need to
>>> set the permissions explicitely or have ANT_HOME defined.
>>>
>>> But once issues #537 is fixed this will not be a problem, i will
>>> update the instructions also.
>>> thanks
>>> Dinesh
>>>
>>> Arun Gupta wrote:
>>>
>>>> GlassFish installation instructions [1] say:
>>>>
>>>> "GlasssFish installation requires JDK 5 and Ant 1.6.5."
>>>>
>>>> There is no need for an additional Ant 1.6.5 installation on your
>>>> machine. I always configure GlassFish using:
>>>>
>>>> lib\ant\bin\ant -f setup.xml
>>>>
>>>> and it works!
>>>>
>>>> Is there some other reason Ant 1.6.5 is required explicitly ?
>>>>
>>>> [1] https://glassfish.dev.java.net/downloads/v2-b36.html
>>>>
>>>> Thanks,
>>>> -Arun
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>

-- 
Technology Evangelist
Web Technologies and Standards
Sun Microsystems, Inc.
Blog: http://blogs.sun.com/arungupta