Package: junit
Version: 3.8.1.1-2
Severity: normal

If you don't have your $CLASSPATH set up to include everything under
/usr/share/java (empty, for example), ant can't execute the <junit> task
after installation, complaining about not being able to find the task
definition, and prints out a screenful of solutions for it.

After checking the docs on the ant site, it points out that the
ant-junit.jar and junit.jar files should be either in the same
directory, or both present in the classpath.

This would be fixed, for those of who prefer not to keep a flooded
$CLASSPATH,  by creating a second symlink on installation:
/usr/share/ant/lib/junit.jar -> /usr/share/java/junit.jar


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.18
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ANSI_X3.4-1968) (ignored: LC_ALL 
set to C)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to