Bug 4566 - globus-deploy-gar insists that ANT_HOME be set
: globus-deploy-gar insists that ANT_HOME be set
Status: NEW
: Java WS Core
globus_wsrf_core
: 4.0.2
: PC Linux
: P3 major
: ---
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2006-07-05 11:24 by
Modified: 2007-09-12 16:51 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2006-07-05 11:24:02
I am running Fedora Core 4 and have ant installed from an RPM.  I have so far
not needed to set ANT_HOME for anything, and given that the RPM splits data
over /usr/lib and /usr/share/java it's not clear what it should be set to.

When installing a gar the script stops because I don't have ANT_HOME set.  If I
try to set it to anything, I get class not found errors, however if I run the
java command which the script runs by hand, removing the -DANT_HOME= from the
command line, I no longer get an error from the java VM, but an error from 
org.globus.bootstrap.AntBootstrap.main(AntBootstrap.java:28) complaining that
the ANT_HOME system property is not set.

My final solution was to create a new 'ant_home' subdirectory and soft-link the
ant jars into a 'lib' subdirectory of that and set ANT_HOME to point to this
directory.

This is hardly an ideal situation.  Given that I can build Globus itself
without setting ANT_HOME, it seems strange that I need to set it to deploy a
gar file.
------- Comment #1 From 2006-07-05 14:25:48 -------
Thanks for the bug report.  I'm going to reassign this to Java WS Core, which
is the component that owns the deploy gar script.
------- Comment #2 From 2007-09-12 16:51:09 -------
Reassigning to current wsrf developer to close/fix as appropriate