dev@glassfish.java.net

Re: Ant for GlassFish installation

From: Dinesh Patil <Dinesh.Patil_at_Sun.COM>
Date: Thu, 15 Mar 2007 10:38:05 -0700

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
>>
>