sktverma / maven-android-plugin

Automatically exported from code.google.com/p/maven-android-plugin
0 stars 0 forks source link

Path with spaces are without ' during proguard phase from 3.2.0 #284

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
3.1.1 works correctly, but 3.2.0 failed with this error:

[INFO] c:\Program Files (x86)\Java\jdk1.7.0\jre\bin\java [-Xmx512M, -jar, 
d:\_PJazyky\_Android\SDK\tools\proguard\lib\proguard.jar, @proguard.cfg, 
-injars, D:\_PJazyky\_Projekty_com\project\ta
rget\classes, -injars, 
C:\Users\Tomas\.m2\repository\com\google\android\support-v4\r7\support-v4-r7.jar
(!META-INF/maven/**,!META-INF/MANIFEST.MF), -injars, 
C:\Users\Tomas\.m2\repository\com\fasterxml\
jackson\core\jackson-databind\2.0.0-RC1\jackson-databind-2.0.0-RC1.jar(!META-INF
/maven/**,!META-INF/MANIFEST.MF), -injars, 
C:\Users\Tomas\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.0.0-R
C1\jackson-core-2.0.0-RC1.jar(!META-INF/maven/**,!META-INF/MANIFEST.MF), 
-injars, 
C:\Users\Tomas\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.0
.0-RC1\jackson-annotations-2.0.0-RC1.j
ar(!META-INF/maven/**,!META-INF/MANIFEST.MF), -injars, 
C:\Users\Tomas\.m2\repository\com\integralblue\httpresponsecache\1.0.0\httprespo
nsecache-1.0.0.jar(!META-INF/maven/**,!META-INF/MANIFEST.MF), -in
jars, 
C:\Users\Tomas\.m2\repository\com\jakewharton\disklrucache\1.1.0\disklrucache-1.
1.0.jar(!META-INF/maven/**,!META-INF/MANIFEST.MF), -injars, 
C:\Users\Tomas\.m2\repository\io\vov\vitamio\media-pla
yer\1.0\media-player-1.0.jar(!META-INF/maven/**,!META-INF/MANIFEST.MF), 
-injars, 
C:\Users\Tomas\.m2\repository\com\crittercism\crittercism-android\2.1.5\critterc
ism-android-2.1.5.jar(!META-INF/maven/*
*,!META-INF/MANIFEST.MF), -libraryjars, c:\Program Files 
(x86)\Java\jdk1.7.0\jre\lib\rt.jar, -libraryjars, c:\Program Files 
(x86)\Java\jdk1.7.0\jre\lib\jsse.jar, -libraryjars, c:\Program Files (x86)\J
ava\jdk1.7.0\jre\lib\jce.jar, -libraryjars, 
C:\Users\Tomas\.m2\repository\com\google\android\android\4.0.1.2\android-4.0.1.2
.jar(!org/xml/**,!org/w3c/**,!org/apache/http/**,!java/**,!javax/**,!android
/net/http/AndroidHttpClient.class), -libraryjars, 
C:\Users\Tomas\.m2\repository\commons-logging\commons-logging\1.1.1\commons-logg
ing-1.1.1.jar, -libraryjars, C:\Users\Tomas\.m2\repository\org\apache\
httpcomponents\httpclient\4.0.1\httpclient-4.0.1.jar, -libraryjars, 
C:\Users\Tomas\.m2\repository\org\apache\httpcomponents\httpcore\4.0.1\httpcore-
4.0.1.jar, -libraryjars, C:\Users\Tomas\.m2\reposito
ry\commons-codec\commons-codec\1.3\commons-codec-1.3.jar, -libraryjars, 
C:\Users\Tomas\.m2\repository\org\khronos\opengl-api\gl1.1-android-2.1_r1\opengl
-api-gl1.1-android-2.1_r1.jar, -libraryjars, C:\
Users\Tomas\.m2\repository\xerces\xmlParserAPIs\2.6.2\xmlParserAPIs-2.6.2.jar, 
-libraryjars, C:\Users\Tomas\.m2\repository\xpp3\xpp3\1.1.4c\xpp3-1.1.4c.jar, 
-libraryjars, C:\Users\Tomas\.m2\repository
\org\json\json\20080701\json-20080701.jar, -outjars, 
'D:\_PJazyky\_Projekty_com\project\target\proguard-obfuscated.jar', -dump, 
'D:\_PJazyky\_Projekty_com\project\target\proguard\dump.
txt', -printseeds, 
'D:\_PJazyky\_Projekty_com\project\target\proguard\seeds.txt', -printusage, 
'D:\_PJazyky\_Projekty_com\project\target\proguard\usage.txt', -printmapping, 
'D:\_PJazyk
y\_Projekty_com\project\target\proguard\mapping.txt']
[INFO] proguard.ParseException: Expecting class path separator ';' before 
'\Java\jdk1.7.0\jre\lib\rt.jar' in argument number 21
[INFO]  at 
proguard.ConfigurationParser.parseClassPathArgument(ConfigurationParser.java:316
)
[INFO]  at proguard.ConfigurationParser.parse(ConfigurationParser.java:130)
[INFO]  at proguard.ProGuard.main(ProGuard.java:484)
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Nangu.TV
[INFO] This project has been banned from the build due to previous failures.

It looks that ' is missing for paths thar contain space like 'Program Files 
(x86)', but this is default java location for Windows :-(

Original issue reported on code.google.com by tomas.pr...@gmail.com on 21 Jun 2012 at 7:35

GoogleCodeExporter commented 9 years ago
can you try with the master branch? also ... java 7 ... does the android build 
chain work with that now .. I thought that is yet to be done

Original comment by mosa...@gmail.com on 23 Jun 2012 at 6:36

GoogleCodeExporter commented 9 years ago
I have java 7.
I checked http://oss.sonatype.org/content/repositories/jayway-snapshots but it 
looks that it doesn't contain lates build from master branch. I will try to 
build from github sources.

Original comment by tomas.pr...@gmail.com on 23 Jun 2012 at 7:50

GoogleCodeExporter commented 9 years ago
So yes. I tried to build latest 3.2.1-SNAPSHOT and it looks, that problem is 
fixed already. Affected is only 3.2.0 from central repository.

Original comment by tomas.pr...@gmail.com on 24 Jun 2012 at 6:48

GoogleCodeExporter commented 9 years ago
Why it is again broken in released 3.3.0? It was OK in 3.2.1-SNAPSHOT and in 
released 3.30 not :-(

Original comment by tomas.pr...@gmail.com on 12 Aug 2012 at 6:12

GoogleCodeExporter commented 9 years ago
This is fixed in 3.4.0. So please close this report.

Original comment by tomas.pr...@gmail.com on 5 Nov 2012 at 3:28

GoogleCodeExporter commented 9 years ago
We are no longer using the issue tracking system on Google Code. Please refile 
this issue on https://github.com/jayway/maven-android-plugin/issues if you 
still have this problem with the latest release of the Android Maven Plugin

Original comment by mosa...@gmail.com on 19 May 2014 at 4:18