Creating the SDK

The SDK is dedicated to developers of Peeranha42 plugIns. To create the SDK, some requirements are necessary:

  • A Java-based build tool like Ant must properly run on your Operating System. If not you must first install it. The latest stable version of Ant is available from the Ant web page http://ant.apache.org/.
    • Add the bin directory to your path. Example:
      ANT_HOME=c:\java\ant
    • Set the ANT_HOME environment variable to the directory where you installed Ant. Example:
      set PATH=%PATH%;%ANT_HOME%\bin
  • To build and use Ant, you must have a JAXP-compliant XML parser installed and available on your classpath.
  • You will also need the JDK 1.4 installed on your system. A later version is not compatible with peeranha, and will cause build failure.

Now you can create the SDK by running "ant [option] [target]" in a shell window. In this case the needed option is "-Dsdk" and the target is "sdk". EG. ant -Dsdk sdk When the build was successfully executed, an sdk directory will appear after refreshing the view of peeranha.

Now you can start Programing your own P42 Plugin.



URL:
http://peeranha42.informatik.uni-bremen.de/pophp/index.php?section=tutorial_creatingsdk.html

Date of visit:
Tue 18th Mar 2025 14:29:13