|
SDK ApproachNote: this approach is deprecated in favor of the Application Generator To get started building an application using One-JAR, download the One-JAR Software Developers Kit. The kit is a One-JAR executable, which contains all the pieces needed to assemble One-JAR applications (and can also re-assemble itself). When run, should see the following output:$ java -jar one-jar-sdk-0.96.jar Extracting SDK... done. To build the "Hello One-JAR" example: $ ant hello To run the "Hello One-JAR" example: $ java -jar hello.jar To rebuild the SDK: $ ant sdkThis extracts a development project (also an Eclipse JDT project) which contains a directory tree suitable for building a One-JAR application. Note: make sure to download an Ant distribution in order to be able to rebuild the
Use this project as a starting point for your own development by editing the |