Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I'm now using a modification of my previous answer to run on Windows: just move everything into @proguard_windows.txt so you don't have to worry about running as a script.</p> <p>My new @proguard_windows.txt looks like:</p> <pre><code>-injars bin;lib/scala-library.jar(!META-INF/MANIFEST.MF,!library.properties) -outjar gen/scandroid.jar -libraryjars lib/android.jar -dontwarn -dontoptimize -dontobfuscate -dontskipnonpubliclibraryclasses -dontskipnonpubliclibraryclassmembers -keepattributes Exceptions,InnerClasses,Signature,Deprecated, SourceFile,LineNumberTable,*Annotation*,EnclosingMethod -keep public class com.banshee.** { public protected *; } -keep public class org.xml.sax.EntityResolver { public protected *; } </code></pre> <p>And note that in windows, you need to use a semicolon for -injars. Nasty.</p> <p>The builder looks like this:</p> <pre><code>(running cygwin here, so the cat option path takes a slash) James@Greine:/cygdrive/c/Users/james/workspace/Scala2$ cat .externalToolBuilders/proguard.launch &lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&gt; &lt;launchConfiguration type="org.eclipse.ui.externaltools.ProgramBuilderLaunchConfigurationType"&gt; &lt;booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/&gt; &lt;stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="C:\Windows\System32\java.exe"/&gt; &lt;stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,auto,"/&gt; &lt;stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value="-Xmx1g -jar lib/proguard.jar @proguard_windows.txt"/&gt; &lt;booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/&gt; &lt;stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${build_project}"/&gt; &lt;/launchConfiguration&gt; </code></pre> <p>You'll want to put this in .externalToolBuilders/proguard.launch.</p> <p>The interesting thing here is that it's just a java command, not any kind of shell script, so it's fairly easy to port between Windows/Mac (and I'm assuming Linux, but haven't done that yet), since you're just changing the location of the actual java binary.</p> <p>(Submitting this as a new answer because it's a bit different than the one that got marked as the correct(ish) answer)</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload