Public bug reported:

Binary package hint: ant

What happened
----------------------

After installing 'ant' and 'sun-java6-jdk' on a fresh karmic server
install, I attempted to use 'ant' to build biomaj
(http://biomaj.genouest.org). ant failed complaining it could the
ANT_HOME environment variable was not set.

# ant
Buildfile: build.xml

test_env:

BUILD FAILED
/opt/biomaj-1.0/build.xml:85: ANT_HOME is not defined !

Total time: 0 seconds

#

Workaround
-----------------

# export ANT_HOME=/usr/share/ant ant

What I expected
----------------------

I expected that the package installation would append an appropraite
ANT_HOME to the 'global' environment for all users.

Minimal steps to recreate
-----------------------------------

# apt-get install sun-java6-jdk ant
* download and unpack something that uses ant to build and references ANT_HOME 
in the build.xml>
* run ant from within the same directory as build.xml

** Affects: ant (Ubuntu)
     Importance: Undecided
         Status: New

-- 
ANT_HOME evironment variable is not set during ant install
https://bugs.launchpad.net/bugs/499820
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to