Commit Graph

52 Commits

Author SHA1 Message Date
Michael Bayne bfb4b06b30 Bump Proguard to 4.8 to make things work with Java 7. 2012-12-04 16:23:03 -08:00
Michael Bayne 748f6828b8 We have plugin.jar in the POM classpath. 2011-10-07 17:52:17 +00:00
Andrzej Kapolka 4687e45596 Nine yards are apparently not enough. We need ten! 2011-09-19 17:51:42 +00:00
Michael Bayne 71d3abddf1 Revamped the Maven build to use the Maven Proguard plugin (PITA!) instead of
calling out to Ant to do the Proguard build.

Running Ant from within Maven (which then runs Maven from within Ant) no longer
works as of Maven 3.

While I was in here, I changed the build to use the Proguard-ed artifact as the
primary artifact, and changed the POM to reflect that none of the dependencies
are transitive.
2011-09-17 17:39:23 +00:00
Andrzej Kapolka a641c3c23d Provide a means of exchanging messages between the JavaScript context of the
page hosting the applet and the launched application through a simple server
socket bound to the loopback address on any available port (where the port
is passed to the application as a system property).  Not tested yet, but it
shouldn't affect any deployments that don't specifically enable it.
2011-09-12 05:29:53 +00:00
Michael Bayne 84ebe33396 Use the latest Maven Ant tasks (2.1.1 has disappeared from the Interwebs). 2011-07-26 16:46:48 +00:00
Michael Bayne 4b739cd74f Nix the building of the getdown-tools.jar. We can just include everything in
getdown-pro.jar and it's only 10% larger (109k -> 121k), and it vastly
simplifies life for users.

Just use getdown-pro.jar for all of your Getdown-related needs:

- use it to install your application
- use it in your build scripts for the various Getdown tasks
- link against it in your app to use LaunchUtil or to embed Getdown

We'll even ship this on the website as simply getdown.jar. I'm tempted to ship
this in Maven and modify the main Getdown POM to not export any of its
dependencies. However, that will require a bunch of build file tweaking, which
I'd rather save for another day.
2011-06-22 00:52:56 +00:00
Michael Bayne a087c70e76 Build a getdown-tools.jar for use by non-Maven users to do things like generate
digests and jardiffs and signed applet parameters, etc.
2011-02-11 18:21:55 +00:00
Charlie Groves f60d063711 Deploy a sources jar along with the code jar for IDE-happiness 2011-01-20 00:47:10 +00:00
Michael Bayne dfc1d6ad4d Go ahead and make maven-deploy publish locally unless otherwise directed. 2010-11-18 23:07:08 +00:00
Michael Bayne d6482dedc5 Maven Ant tasks do provide properties for dependencies. Yay! 2010-11-18 22:55:44 +00:00
Michael Bayne 932acb52d4 Need to copy src/main/resources into dist/classes. 2010-11-18 22:22:04 +00:00
Michael Bayne d57052b589 Eventually I'll have all of these converted over. 2010-11-18 17:48:13 +00:00
Michael Bayne e7bf99ed0d It's actually the runtime jar not tools, so let's name it appropriately. 2010-11-18 17:46:55 +00:00
Michael Bayne 771acc96de We don't need to keep these in the Proguarded version, tools can use the
non-Proguarded version with dependencies from Maven.
2010-11-18 17:42:39 +00:00
Michael Bayne be491d3bfb Added maven-deploy target and separate pom.xml for deploying the
getdown-pro.jar.
2010-11-18 17:41:26 +00:00
Michael Bayne 5918b67fb1 Revamped primary build to use Maven Ant tasks. Eliminated Ivy-based build,
which was used by Maven, now Maven calls into the primary build to generate its
Proguarded jar file. Retired the Retroweaved jar file after a tremendous amount
of fucking around with Retroweaver. I think it's safe to say that the number of
people showing up with a 1.4 JDK operational in their browser is epsilon close
to zero.
2010-11-18 17:38:43 +00:00
Michael Bayne 241c68ab72 Put our resources in src/main/resources. 2010-09-22 17:29:31 +00:00
Michael Bayne 89229b16cd Now that the JDK is open source, we can just fork JarDiff and eliminate our
annoying dependency on javaws.jar (which no longer even includes JarDiff, now
that lives in $JAVA_HOME/samples/jnlp/servlet/jardiff.jar). We had already
forked JarDiffPatcher, so this completes the circle. Now I can also directly
fix some of the annoying JarDiff bugs we were working around, which I'll do at
some point.
2010-09-20 18:42:41 +00:00
Michael Bayne 525c924ea2 Put libs-incl.xml in etc/ like all our other projects. 2010-09-20 17:45:08 +00:00
Michael Bayne f63bb9a27f Moved src/java into src/main/java, added src/test/java, added build targets for
tests. Some changes (and tests to make sure I'm not fucking things up)
forthcoming.
2010-09-14 19:43:02 +00:00
Dave Hoover 7990d36f25 Future events will affect you in the future. 2010-06-10 20:42:43 +00:00
Michael Bayne 04067d73ef Oops. Can't do that. 2009-04-17 22:58:15 +00:00
Michael Bayne 3d1985845d Allow 1.6 source but continue to target 1.5 bytecode. 2009-04-17 22:50:12 +00:00
Charlie Groves c5ac51be40 Need to add the ant-contrib tasks to use if from it 2008-07-15 19:05:15 +00:00
Par Winzell 3ac8ce2e70 Make getdown's proguard aware that Mac OS X calls rt.jar something else. Hurray, ooo-libs finally compiles all the way through on a Mac. 2008-06-05 13:41:04 +00:00
Charlie Groves 1b543ab2d7 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.
2008-01-28 22:25:20 +00:00
Michael Bayne f168142c05 Look for javaws.jar in libs.dir in case we don't have it in java.home. 2008-01-17 00:31:47 +00:00
Michael Bayne 62ea52f83b Don't build our differ if we don't have javaws.jar; fixed some deprecated
CopyUtils usage.
2007-01-25 22:38:07 +00:00
Michael Bayne 92b4edf52e We need to look for our source file relative to basedir. 2007-01-24 23:42:03 +00:00
Jonathan Le Plastrier 958e872950 Let's build us a snapshot for getdown as well. 2007-01-24 23:09:08 +00:00
Michael Bayne 28da206181 Get javaws.jar from our JRE installation directory. 2007-01-24 02:09:04 +00:00
Michael Bayne 817e752bdb Use sign.keystore. 2007-01-20 04:39:36 +00:00
Michael Bayne 6c5918b3c2 Include stub versions of the Java->JavaScript bridge interface so that we
compile properly and we'll link against the real deal at runtime.
2006-12-15 02:57:13 +00:00
Michael Bayne 70b8797c4b Use new safer library locating process. 2006-11-16 22:51:02 +00:00
Michael Bayne 93ceaa40c4 Use distlib.dir. 2006-11-16 21:36:57 +00:00
Michael Bayne 2acaa9bbf5 Work properly with the new build system. 2006-11-14 21:05:40 +00:00
Jonathan Le Plastrier 9620de879d getdown now uses libs-incl 2006-10-14 18:50:23 +00:00
Michael Bayne 39c4d0f278 Added clean and distclean. 2006-10-13 23:51:38 +00:00
Jonathan Le Plastrier 64c44bdc7c getdown needed some tweaking. 2006-10-12 19:18:12 +00:00
Michael Bayne 72ef40f297 Don't freak out if we don't have the Snark library. We'll sort this out more
nicely later.
2006-07-13 18:52:58 +00:00
Michael Bayne cfbf92b5a7 Reference our dependent documentation at the proper locations. 2006-07-12 17:17:29 +00:00
Michael Bayne 7bfd596beb Added support for running Getdown as a signed applet as well as support for
running our target application directly in the same JVM instead of forking off
a new VM.
2006-06-06 23:29:47 +00:00
Elizabeth Fong 8327440736 convert getdown to being completely type-safe, yarr. 2006-04-11 02:45:14 +00:00
Michael Bayne 7297af72af Scratch that we need to weave after we run Proguard. Fortunately we don't do
anything that requires runtime support.
2006-04-10 21:15:46 +00:00
Michael Bayne fe87ef6b04 Retroweave Getdown before running Proguard on it. 2006-04-10 20:36:38 +00:00
Michael Bayne 98c74c7f03 Switched from DashO (commercial, old, crufty) to Proguard (free, new,
sexy) for our download-size optimization.
2005-03-04 01:37:35 +00:00
Michael Bayne c4641083bf Reference this at the permanent location, though this should all go away
and be replaced with something free.
2004-12-14 23:14:12 +00:00
Michael Bayne 9c85fac31e No JAVA_LIBS. 2004-11-18 00:14:48 +00:00
Michael Bayne c4c1c2d359 Blow away a bunch of unneeded cruft that DashO imports from the javaws.jar
file because we can only tell it to include every single non-class file
rather than just those matching a pattern or whatnot.
2004-08-02 22:44:39 +00:00