Java -cp ../classpath completion no longer working in karmic

Bug #492611 reported by Mark Beierl
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
bash-completion (Debian)
Fix Released
Unknown
bash-completion (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: bash-completion

Given the following directory structure:

src/
src/java
src/classes

Where src/java contains source code and all compilation output goes into src/classes, cd into the src/java directory and attempt tab completion for the Java program name. It will not work

cd src/java
java -cp ../classes/ com.<tab>

should provide a list of classes found in ../classes that match com.

Sourcing /etc/bash_completion from Jaunty 9.04 causes bash completion to start working again for java.

Revision history for this message
Nick Depalma (ndepalma) wrote :

Btw I just fixed this and am trying to report it as well. The fix and what I did as well as some updates on how it happened is here:

http://ubuntuforums.org/showthread.php?p=8445040#post8445040

Changed in bash-completion (Debian):
status: Unknown → Fix Released
Changed in bash-completion (Ubuntu):
status: New → Confirmed
Changed in bash-completion (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.