Description of problem: When I use set_classpath "jarfile" from a script, and my existing CLASSPATH has spaces, the run command fails. This is probably because of line 70 in /usr/share/java-utils/java-functions: CLASSPATH=$LOCAL_CLASSPATH:$CLASSPATH Version-Release number of selected component (if applicable): jpackage-utils-1.7.5-1.6.fc10.noarch How reproducible: Always. Steps to Reproduce: $ cat my-script #!/bin/bash . /usr/share/java-utils/java-functions MAIN_CLASS=MyCoolApp set_classpath "mycoolapp" run "$@" $ export CLASSPATH="$HOME/my java project" $ ./my-script Exception in thread "main" java.lang.NoClassDefFoundError: project Caused by: java.lang.ClassNotFoundException: project
Created attachment 324538 [details] Patch to fix spaces in CLASSPATH
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle. Changing version to '10'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Still broken in jpackage-utils-1.7.5-3.8.fc12.noarch.
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle. Changing version to '12'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Still broken, and there is a patch. Could this be fixed?
This bug appears to have been reported against 'rawhide' during the Fedora 13 development cycle. Changing version to '13'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
jpackage-utils-1.7.5-3.11.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/jpackage-utils-1.7.5-3.11.fc13
jpackage-utils-1.7.5-3.11.fc13 should fix this issue. Please let me know if you still encounter it.
jpackage-utils-1.7.5-3.11.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update jpackage-utils'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/jpackage-utils-1.7.5-3.11.fc13
Seems to work, thanks!
jpackage-utils-1.7.5-3.11.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.