jberkel/android-plugin — Issue #81: Problem with whitespace in ivy-repo path
Author: chrish1
Created: 2011-11-08 13:43:52+00:00
State: open

I have a android project with one library dependency.

My local ivy-repo is in the windows home folder (C:\Documents and
Settings ...)

It looks like the android plugin has some problems with the
whitespaces in the path when doing android:package-debug:

UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.RuntimeException: C:\Documents: file not found
at com.android.dx.util.FileUtils.readFile(FileUtils.java:55)
at
com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:
133)
at
com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:
108)
at com.android.dx.command.dexer.Main.processOne(Main.java:313)
at
com.android.dx.command.dexer.Main.processAllFiles(Main.java:
233)
at com.android.dx.command.dexer.Main.run(Main.java:185)
at com.android.dx.command.dexer.Main.main(Main.java:166)
at com.android.dx.command.Main.main(Main.java:90)

UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.RuntimeException: and: file not found
at com.android.dx.util.FileUtils.readFile(FileUtils.java:55)
at
com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:
133)
at
com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:
108)
at com.android.dx.command.dexer.Main.processOne(Main.java:313)
at
com.android.dx.command.dexer.Main.processAllFiles(Main.java:
233)
at com.android.dx.command.dexer.Main.run(Main.java:185)
at com.android.dx.command.dexer.Main.main(Main.java:166)
at com.android.dx.command.Main.main(Main.java:90)

UNEXPECTED TOP-LEVEL EXCEPTION:
java.io.FileNotFoundException: Settings\user\.ivy2\cache
\com.google.protobuf\protobuf-java\jars\protobuf-java-2.4.1.jar (The
system cannot find th
e path specified)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:127)
at java.util.zip.ZipFile.(ZipFile.java:144)
at
com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:
205)
at
com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:
130)
at
com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:
108)
at com.android.dx.command.dexer.Main.processOne(Main.java:313)
at
com.android.dx.command.dexer.Main.processAllFiles(Main.java:
233)
at com.android.dx.command.dexer.Main.run(Main.java:185)
at com.android.dx.command.dexer.Main.main(Main.java:166)
at com.android.dx.command.Main.main(Main.java:90)