1. proguard renames classes a-z and then switches to caps after the first 26
2. getdown uses 30 classes from samskivert.util 3. Macs have case-preserving, case-insensitive filesystems 4. getdown unpacks its proguarded jar to combine it with the retroweaver runtime With these 4 conditions in place, getdown-retro-pro will bafflingly lack certain classes. Using the update attribute on ant's jar task allows the runtime to be inserted without proguarded files touching the filesystem, and I can start regrowing my hair.
This commit is contained in:
@@ -122,12 +122,10 @@
|
||||
<weave inputjar="${basedir}/${deploy.dir}/${app.name}-pro.jar"
|
||||
outputjar="${basedir}/${deploy.dir}/${app.name}-retro-pro.jar"/>
|
||||
<!-- now combine the retroweaved jar file with the retroweaver runtime -->
|
||||
<unjar src="${deploy.dir}/${app.name}-retro-pro.jar"
|
||||
dest="${deploy.dir}/rptmp"/>
|
||||
<unjar src="${deploy.dir}/lib/retroweaver-rt-1.2.2.jar"
|
||||
dest="${deploy.dir}/rptmp"/>
|
||||
<jar destfile="${deploy.dir}/${app.name}-retro-pro.jar"
|
||||
manifest="lib/manifest.mf" basedir="${deploy.dir}/rptmp"/>
|
||||
manifest="lib/manifest.mf" basedir="${deploy.dir}/rptmp" update="true"/>
|
||||
<delete dir="${deploy.dir}/rptmp"/>
|
||||
</target>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user