Bug#799375: [PATCH] jh_build: Fix build of sources with spaces in path

Jakub Adam jakub.adam at ktknet.cz
Fri Sep 18 13:04:46 UTC 2015


Package: javatools
Version: 0.53

Tags: patch

jh_build fails when a source directory passed as an argument contains spaces. For example:

  $ jh_build org.eclipse.ui.workbench_3.107.0.qualifier.jar "bundles/org.eclipse.ui.workbench/Eclipse UI Editor Support"

produces this output:

  find bundles/org.eclipse.ui.workbench/Eclipse UI Editor Support -name *.java -and -type f -print0 | xargs -0 /usr/lib/jvm/default-java/bin/javac -g
-cp :debian/_jh_build.org.eclipse.ui.workbench_3.107.0.qualifier -d debian/_jh_build.org.eclipse.ui.workbench_3.107.0.qualifier -source 1.5 -target 1.5
  find: `bundles/org.eclipse.ui.workbench/Eclipse': No such file or directory
  find: `UI': No such file or directory
  find: `Editor': No such file or directory
  find: `Support': No such file or directory
  javac: no source files
  Usage: javac <options> <source files>
  use -help for a list of possible options

Please consider including the attached patch which should fix this issue.

Regards,

Jakub
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-jh_build-Fix-build-of-sources-with-spaces-in-path.patch
Type: text/x-diff
Size: 3801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20150918/70f5b4bb/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20150918/70f5b4bb/attachment.sig>


More information about the pkg-java-maintainers mailing list