From: <cr...@us...> - 2008-07-17 11:12:10
|
Revision: 4312 http://jnode.svn.sourceforge.net/jnode/?rev=4312&view=rev Author: crawley Date: 2008-07-17 11:11:51 +0000 (Thu, 17 Jul 2008) Log Message: ----------- First cut at 'real' configure scripts. (This is a work in progress ...) Added Paths: ----------- trunk/all/conf-source/ trunk/all/conf-source/jnode.properties.defaults trunk/all/conf-source/jnode.properties.template trunk/all/conf-source/script.xml Added: trunk/all/conf-source/jnode.properties.defaults =================================================================== --- trunk/all/conf-source/jnode.properties.defaults (rev 0) +++ trunk/all/conf-source/jnode.properties.defaults 2008-07-17 11:11:51 UTC (rev 4312) @@ -0,0 +1,26 @@ + +# custom.plugin-list.dir = ${root.dir}/local/plugin-lists/ + +no.default.initjars= + +no.bootdisk= + +no.netboot= + +jnode.memmgr.plugin.id=org.jnode.vm.memmgr.def + +# jnode.plugin.doc.tree = true + +partition-nt=(hd0,1) + +jnode.install-nt.dir=C:\jnode + +#compilerarg=-Xlint:unchecked + +jnode.debugger.host= +jnode.debugger.port=6789 + +jnode.vbeMode= + +#vmware.vmx.overrides=<some-file-containing-vmx-settings> + Property changes on: trunk/all/conf-source/jnode.properties.defaults ___________________________________________________________________ Added: svn:executable + * Added: trunk/all/conf-source/jnode.properties.template =================================================================== --- trunk/all/conf-source/jnode.properties.template (rev 0) +++ trunk/all/conf-source/jnode.properties.template 2008-07-17 11:11:51 UTC (rev 4312) @@ -0,0 +1,94 @@ +# This file contain custom JNode properties used in the JNode build process. +# +# Copy this file to jnode.properties and edit that file as needed. +# + +# ----------------------------------------------- +# Settings for initjar building + +# Set this directory to the directory containing custom plugin lists +# if you have custom initjars to build. +# custom.plugin-list.dir = ${root.dir}/local/plugin-lists/ + +# In non-empty, no default initjars will be built. +no.default.initjars=@no.default.initjars@ + +# ----------------------------------------------- +# Settings for the bootdisk image + +# If non-empty, no bootdisk image will be built. +no.bootdisk=@no.bootdisk@ + +# ----------------------------------------------- +# Settings for the netboot build + +# If non-empty, no netboot directory will be built. +no.netboot=@no.netboot@ + +# ----------------------------------------------- +# Settings for the memory manager + +# Default memory manager: org.jnode.vm.memmgr.def +# MMTk NoGC based memory manager (still very beta): org.jnode.vm.memmgr.mmtk.nogc +# MMTk GenRC based memory manager (still very alpha): org.jnode.vm.memmgr.mmtk.genrc +jnode.memmgr.plugin.id=@jnode.memmgr.plugin.id@ + +# ----------------------------------------------- +# Settings for the document-plugins task + +# Uncomment this if you want the document-plugins task to include a tree page. +# You must have dot installed for this, see http://www.graphviz.org/ +# jnode.plugin.doc.tree = true + +# ----------------------------------------------- +# Settings for use of NT bootloader (NT/Me/XP) + +# Changes these values to match the disk/partition where windows is installed. +# the value is of the form (hdx,y) where : +# - x is the disk number (starting from 0) +# - y is the partition number (starting from 0) +partition-nt=(hd0,1) + +# Path to install jnode. The drive must be where is installed windows +jnode.install-nt.dir=C:\jnode + +# ----------------------------------------------- +# Settings for the compiler + +# Uncomment this if you want use custom compiler arguments +#compilerarg=-Xlint:unchecked + +# ----------------------------------------------- +# Set up the host and port where the JNode debugger server is available. +# This is needed by the hotswap ant target. +jnode.debugger.host= +jnode.debugger.port=6789 + + +# ----------------------------------------------- +# Settings for the kernel +# ----------------------------------------------- + +# Should grub setup a vbe/vesa graphics mode for us ? +# - define an empty value for NO +# - define a value of the form <width>x<height>x<depth> for YES +jnode.vbeMode=@jnode.vbeMode@ + +# ----------------------------------------------- +# Settings for a VMware virtual machine +# ----------------------------------------------- + +# Uncomment and edit this line if you want to override the settings +# in the 'jnode-x86-*.vmx' file. For example, you may want to include +# settings to configure a VMware virtual hard drive, or real hard drive. +# Refer to the maintainers pages on the JNode website for details. +# Notes: +# - Settings in the override file should be in standard VMX syntax. +# - The settings override the default settings, including (if you +# set them) the memSize and/or logFile parameters set in the +# ant build.xml files. +# - Any non-absolute pathnames in the VMX settings are resolved relative +# to the VMX file's location! + +#vmware.vmx.overrides=<some-file-containing-vmx-settings> + Property changes on: trunk/all/conf-source/jnode.properties.template ___________________________________________________________________ Added: svn:executable + * Added: trunk/all/conf-source/script.xml =================================================================== --- trunk/all/conf-source/script.xml (rev 0) +++ trunk/all/conf-source/script.xml 2008-07-17 11:11:51 UTC (rev 4312) @@ -0,0 +1,100 @@ +<configureScript> + <type name="integer.type" pattern="[0-9]+"/> + <type name="yesno.type"> + <alt value="yes"/> + <alt value="no"/> + </type> + <type name="oneblank.type"> + <alt value="1" token="yes"/> + <alt value="" token="no"/> + </type> + <type name="vdisk.type"> + <alt value="none"/> + <alt value="ext2"/> + <alt value="jfat"/> + </type> + <type name="vplatform.type"> + <alt value="none"/> + <alt value="vmware"/> + </type> + <type name="vbemode.type" emptyToken="disabled" pattern="([0-9]+x[0-9]+x[0-9]+)|"/> + <type name="memmgr.type"> + <alt name="def" value="org.jnode.vm.memmgr.def"/> + <alt name="mmtk.nogc" value="org.jnode.vm.memmgr.mmtk.nogc"/> + <alt name="mmgt.genrc" value="org.jnode.vm.memmgr.mmtk.genrc"/> + </type> + + <controlProps> + <property name="expert.mode" type="yesno.type" + description="Configure expert settings" + default="no"/> + </controlProps> + + <propFile name="../../test.jnode.properties" defaultFile="jnode.properties.defaults" + templateFile="jnode.properties.template"> + <property name="jnode.virtual.memsize" type="integer.type" + description="Enter virtual hardware memory size in Mbytes" + default="512"/> + <property name="jnode.virtual.disk" type="vdisk.type" + description="Select a prebuilt virtual disk" + default="none"/> + <property name="jnode.virtualization.platform" type="vplatform.type" + description="Select the PC emulation/virtualization platform" + default="vmware"/> + <property name="jnode.memmgr.plugin.id" type="memmgr.type" + description="Select the memory manager" + default="org.jnode.vm.memmgr.def"/> + <property name="jnode.vbeMode" type="vbemode.type" + description="Enter the boot-time VBE/VESA mode" + default=""/> + <property name="no.default.initjars" type="oneblank.type" + description="Disable building of default init JARs" + default=""/> + <property name="no.bootdisk" type="oneblank.type" + description="Disable building of a boot disk image" + default=""/> + <property name="no.netboot" type="oneblank.type" + description="Disable creation of a netboot directory" + default=""/> + </propFile> + + <screen title="Main JNode Build Settings"> + <item property="jnode.virtualization.platform"> + The JNode build can generate configuration files for running on a + hardware emulation / virtualization platform. + </item> + <item property="expert.mode"> + A number of JNode build settings are only of interest to experts. + </item> + </screen> + + <screen title="Virtualization Platform Settings" + guardProp="jnode.virtualization.platform" valueIsNot="none"> + <item property="jnode.virtual.memsize"> + Specify the memory size for the virtual PC; at least 512 Mbytes + is recommended. + </item> + <item property="jnode.virtual.disk"> + Select a disk image to be mounted as a virtual hard drive. + </item> + </screen> + + <screen title="Expert Mode Build Settings" + guardProp="expert.mode" valueIs="yes"> + <item property="jnode.memmgr.plugin.id"> + Select the memory manager / garbage collector: 'def' is the default + memory manager, 'mmtk.nogc' is a MMTk NoGC memory manager (beta), + and 'mmtk.genrc' is a MMTk GenRC memory manager (alpha). + </item> + <item property="jnode.vbeMode"> + Should grub setup a vbe/vesa graphics mode when booting JNode? + * 'disabled' disables vbe/vesa graphics mode + * a value of the form <width>x<height>x<depth> + (for example 1024x768x32) enables graphics mode. + </item> + <item property="no.default.initjars"/> + <item property="no.bootdisk"/> + <item property="no.netboot"/> + </screen> + +</configureScript> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |