banshee / AndroidProguardScala

An Eclipse builder for Android projects using Scala
136 stars 10 forks source link

Preference defaults aren't set until you visit the preferences page #22

Closed zbsz closed 11 years ago

zbsz commented 11 years ago

Builder runs constantly without result (creates cache jars) and prints following error in logs:

!MESSAGE NonEmptyList(FailureWithException(executing Proguard,java.io.IOException: The output jar [.../jartender_cache_7188906568082531781.jar] must be specified after an input jar, or it will be empty.,None))

This happens if there is no jar set as 'Input Jar' in plugin properties

Never mind, Just figured that I should always set Scala library as 'Included' and then this error will never happen

banshee commented 11 years ago

I'm going to reopen this - it shouldn't just loop, and the error message should be more informative.

banshee commented 11 years ago

The problem turned out to be that default preferences weren't set until you pulled up the properties page. As soon as you pull up the page, the defaults are set so you shouldn't see the error any more. (And your own changes could also fix the error condition)

banshee commented 11 years ago

In v47, you'll only see the error once. I think that's good enough for now.