fw_buildinfo.html.svn-base
来自「cqME :java framework for TCK test.」· SVN-BASE 代码 · 共 397 行
SVN-BASE
397 行
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html> <head> <style type="text/css"> /* <![CDATA[ */ @import "/branding/css/tigris.css"; @import "/branding/css/inst.css"; /* ]]> */ </style> <link rel="stylesheet" type="text/css" href="/branding/css/print.css" media="print" /><script src="/branding/scripts/tigris.js" type="text/javascript"></script> <title> ME Framework Build Instructions </title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta name="version" content="3.5.1.19.8" /> <style type="text/css"><!--.style3 {color: #e76f00}--> </style></head><body class="composite"> <table border="0" cellspacing="0" cellpadding="4" width="100%" id="main"><tr> <td id="midcol"> <!--BEGIN * PAGE TITLE --><div id="projecthome" class="app"> <h1 class="style3">ME Framework Build Instructions</h1> <!--END * PAGE TITLE --> <!--BEGIN * EXPLANATORY TEXT PARAGRAPH[S] --> <p>This page describes how to build the ME Framework. Remember, in orderto contribute code to the project you must have a contributorrole. See <AHREF="https://mobileandembedded.dev.java.net/governance.html#Roles">Mobile& Embedded Community Governance</A> for information about thedifferent community roles.</p><!--BEGIN SECTION HEADER * THIS IS A GREEN BAR WITH WHITE TEXT --> <p> <h3>Table of Contents</h3><!--END SECTION HEADER * THIS IS A GREEN BAR WITH WHITE TEXT --><dl>
<dt><a href="#dependencies">Dependencies</a></dt> <dt><a href="#properties">Set Properties</a></dt> <dt><a href="#start">Start the Build</a></dt></dl>
<p><a name="_maincontent" id="_maincontent"></a></p>
<p><A NAME="dependencies"></A></p>
<!--BEGIN SECTION HEADER * THIS IS A GREEN BAR WITH WHITE TEXT --> <p> <h3>Dependencies</h3><!--END SECTION HEADER * THIS IS A GREEN BAR WITH WHITE TEXT --><p><p>The ME Framework build requires the technologies listed in the followingtable.</p><table cellpadding="5" cellspacing="10"><tr><th width="220">Technology</th><th>Where to Get It</th><th>Notes</th></tr><tr valign="top"><td>Ant version 1.6.5 or later</td><td><A HREF="http://ant.apache.org/">http://ant.apache.org/</A></td><td><br /></td></tr><tr valign="top"><td>JDK version 5 or later</td><td><A HREF="http://java.sun.com/javase/index.jsp">http://java.sun.com/javase/index.jsp</A></td><td><br /></td></tr><tr valign="top"><td>JT harness version 3.2 or later</td><td><A HREF="https://jtharness.dev.java.net">https://jtharness.dev.java.net</A></td><td><br /></td></tr><tr valign="top"><td>Version 1.1 or later of the following referenceimplementations:<ul><li>Foundation Profile<li>Personal Basis Profile </ul></td><td><A HREF="http://java.sun.com/products/foundation">http://java.sun.com/products/foundation</A><br /><A HREF="http://java.sun.com/products/personalbasis">http://java.sun.com/products/personalbasis</A></td><td><br /></td></tr><tr valign="top"><td>Sun Java Wireless Toolkit version 2.2 or later</td><td><A HREF="http://java.sun.com/products/sjwtoolkit/">http://java.sun.com/products/sjwtoolkit/</A></td><td>Sun Java Wireless Toolkit 2.2 is available on Microsoft Windows XP orLinux-x86 (not officially supported). ME Framework only usesthe preverifier and class files for compilation. Thesecan be replaced with a different preverification tool or classfiles. The ME Framework build itself does not have direct dependencieson the operating system. It has been verified on Solaris-sparc andshould work on other operating systems that meet the above requirements.</td></tr><tr valign="top"><td>JavaHelp software version 2.0_01 or later</td><td><a HREF="http://java.sun.com/products/javahelp/">http://java.sun.com/products/javahelp/</a></td><td>JavaHelp software version 2.0_02 may be used, with the following minor limitation.On systems that have two separate displays (typically onX11 systems), the help viewer may default to the first screen, whichmay not be the screen on which you are running the harness. For example, ifthe harness is on screen :0.1, the help viewer appears on screen:0.0.</p></td></tr></table><p><A NAME="properties"></A></p>
<!--BEGIN SECTION HEADER * THIS IS A GREEN BAR WITH WHITE TEXT --> <p> <h3>Set Properties</h3><!--END SECTION HEADER * THIS IS A GREEN BAR WITH WHITE TEXT --><p>A number of properties are used by the build. These are definedin the <i>framework_directory</i><code>/build/build.properties</code>properties file. Additional properties can be specified in the<i>framework_directory</i><code>/build/local.properties</code> file.The following tables list and describe these properties.<p>The following table shows the properties in the <code>build.properties</code> file. Note that these properties do not normally need to be changed.<p><table cellpadding="5" width="100%"><tr valign="top"><th>Property</th><th>Description</th></tr><tr valign="top"><td>MIDP_HOME</td><td>Location of the preverifier (the <code>preverify</code> command)</td></tr><tr valign="top"><td>CLDC_CLASSES</td><td>Class path to CLDC 1.0 and MIDP 2.0 specification classes</td></tr><tr valign="top"><td>CLDC_1_1_CLASSES</td><td>Class path to CLDC 1.1 specification classes</td></tr><tr valign="top"><td>MIDP_SPEC_CLASSES</td><td>Class path to MIDP 2.0 specification classes</td></tr><tr valign="top"><td>FP_SPEC_CLASSES</td><td>Class path to CDC/FP 1.0 specification classes</td></tr><tr valign="top"><td>PBP_SPEC_CLASSES</td><td>Class path to PBP 1.0 specification classes</td></tr><tr valign="top"><td>PBP_1_1_SPEC_CLASSES</td><td>Class path to PBP 1.1 specification classes</td></tr></table><p> The following <code>local.properties</code> properties must be edited to reflect your build environment.</p><p><table cellpadding="5" width="100%"><tr valign="top"><th>Property</th><th>Description</th></tr><tr valign="top"><td width="150">FCS_JCTTOOLS</td><td>Location of the JT harness binary</td></tr><tr valign="top"><td>JCCT_SIGTEST</td><td>Location of Signature Test tool JAR files</td></tr><tr valign="top"><td>WIRELESS_TOOLKIT</td><td>Location of Sun Java Wireless Toolkit binary</td></tr><tr valign="top"><td>JAVAHELP_JAR</td><td>The path to the JavaHelp software <code>jhall.jar</code> library</td></tr> <tr valign="top"><td>PBP_HOME</td><td>Location of PBP 1.1 specification classes</td></tr> <tr valign="top"><td>FP_HOME</td><td>Location of CDC/FP 1.1 specification classes</td></tr> </table> <p>The following properties are optional and are not required for the build. They are used if you specify them.</p><p><table cellpadding="5" width="100%"><tr valign="top"><th>Property</th><th>Description</th></tr><tr valign="top"><td width="150">checkstyle.jar</td><td>Location of the Checkstyle JAR file. If you specify this property, Checkstyle isrun on the sources.</td></tr><tr valign="top"><td>J2SE_API_OFFLINE</td><td>Location of the Java SE API Javadoc documentation.If you specify this property, the files in that are used inthe ME Framework API Javadoc documentation.</td></tr></table> <!--BEGIN SECTION HEADER * THIS IS A GREEN BAR WITH WHITE TEXT --> <p><A NAME="start"></A></p><h3>Start the Build</h3><!--END SECTION HEADER * THIS IS A GREEN BAR WITH WHITE TEXT --><p><p>The following steps describe how to build the ME Framework binary.<ol><li class="Step1">Set the JAVA_HOME environment variable to point to JDK 5 (or later)</li><li class="Step1">Execute the <code>ant</code> command from the <i>framework_directory</i><code>/build</code> directory.The build places the ME Framework binary in the <i>framework_directory</i><code>-build</code> directory.</li></ol></div></td></tr></table></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?