|
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.
|
|
From: <cr...@us...> - 2008-08-17 06:46:33
|
Revision: 4455
http://jnode.svn.sourceforge.net/jnode/?rev=4455&view=rev
Author: crawley
Date: 2008-08-17 06:46:30 +0000 (Sun, 17 Aug 2008)
Log Message:
-----------
Add support for configuring a VMWare virtual disk and saving
the JNode.nvram file in a 'clean' build.
Modified Paths:
--------------
trunk/all/build-x86.xml
trunk/all/build.xml
trunk/all/conf-source/jnode.properties.defaults
trunk/all/conf-source/jnode.properties.template
trunk/all/conf-source/script.xml
Modified: trunk/all/build-x86.xml
===================================================================
--- trunk/all/build-x86.xml 2008-08-17 06:43:26 UTC (rev 4454)
+++ trunk/all/build-x86.xml 2008-08-17 06:46:30 UTC (rev 4455)
@@ -78,10 +78,20 @@
<property name="build.native.dir" value="${my-build.dir}/${jnode.bits}bits/native" />
<property name="build.bootimage.dir" value="${my-build.dir}/${jnode.bits}bits/bootimage" />
- <condition property="vmware.vmx.overrides" value="">
- <not>
- <isset property="vmware.vmx.overrides"/>
- </not>
+ <condition property="vmware.vmx.overrides" value="">
+ <and>
+ <not>
+ <isset property="vmware.vmx.overrides"/>
+ </not>
+ </and>
+ </condition>
+ <condition property="vmware.vmx.vmdk.image"
+ value="${jnode.virtual.disk.dir}/${jnode.virtual.disk}" else="">
+ <and>
+ <equals arg1="${jnode.virtualization.platform}" arg2="vmware" casesensitive="false"/>
+ <isset property="jnode.virtual.disk.dir"/>
+ <isset property="jnode.virtual.disk"/>
+ </and>
</condition>
</target>
@@ -278,10 +288,12 @@
<taskdef name="vmware" classname="org.jnode.build.VMwareBuilderTask" classpathref="cp-x86" />
<vmware
- isofile="${jnode-x86.iso}"
+ isoFile="${jnode-x86.iso}"
logFile="${logFile}"
- memsize="${jnode.virtual.memsize}"
- overrideFile="${vmware.vmx.overrides}"
+ memSize="${jnode.virtual.memsize}"
+ saveDir="${save.dir}"
+ vmdkImageFile="${vmware.vmx.vmdk.image}"
+ overrideFile="${vmware.vmx.overrides}"
/>
</target>
@@ -291,9 +303,11 @@
<taskdef name="vmware" classname="org.jnode.build.VMwareBuilderTask" classpathref="cp-x86" />
<vmware
- isofile="${jnode-x86-lite.iso}"
+ isoFile="${jnode-x86-lite.iso}"
logFile="${logFile}"
- memsize="${jnode.virtual.memsize}"
+ memSize="${jnode.virtual.memsize}"
+ saveDir="${save.dir}"
+ vmdkImageFile="${vmware.vmx.vmdk.image}"
overrideFile="${vmware.vmx.overrides}"
/>
</target>
@@ -303,9 +317,11 @@
<taskdef name="vmware" classname="org.jnode.build.VMwareBuilderTask" classpathref="cp-x86" />
<vmware
- isofile="${jnode-x86_64-lite.iso}"
+ isoFile="${jnode-x86_64-lite.iso}"
logFile="${logFile}"
- memsize="${jnode.virtual.memsize}"
+ memSize="${jnode.virtual.memsize}"
+ saveDir="${save.dir}"
+ vmdkImageFile="${vmware.vmx.vmdk.image}"
overrideFile="${vmware.vmx.overrides}"
/>
</target>
Modified: trunk/all/build.xml
===================================================================
--- trunk/all/build.xml 2008-08-17 06:43:26 UTC (rev 4454)
+++ trunk/all/build.xml 2008-08-17 06:46:30 UTC (rev 4455)
@@ -18,6 +18,7 @@
<property name="descriptors.dir" value="${build.dir}/descriptors"/>
<property name="plugins.dir" value="${build.dir}/plugins"/>
<property name="initjars.dir" value="${build.dir}/initjars"/>
+ <property name="save.dir" value="${basedir}/save"/>
<property name="backup.dir" value="${build.dir}/backup"/>
<property name="jnode-builder.jar" value="${build.dir}/descriptors/jnode-builder.jar"/>
@@ -204,6 +205,7 @@
<!-- Create basic build directories -->
<mkdir dir="${build.dir}"/>
<mkdir dir="${reports.dir}"/>
+ <mkdir dir="${save.dir}"/>
<mkdir dir="${cdroms.dir}"/>
<mkdir dir="${descriptors.dir}"/>
<mkdir dir="${plugins.dir}"/>
@@ -422,9 +424,14 @@
<fileset dir="${upload.dir}"/>
</ftp>
</target>
+
+ <!-- Save virtualization etc state across 'clean' -->
+ <target name="save">
+ <copy file="${cdroms.dir}/JNode.nvram" todir="${save.dir}"/>
+ </target>
<!-- Clean everything files -->
- <target name="clean">
+ <target name="clean" depends="save">
<jnode.antall target="clean"/>
<delete dir="${build.dir}" quiet="on"/>
</target>
Modified: trunk/all/conf-source/jnode.properties.defaults
===================================================================
--- trunk/all/conf-source/jnode.properties.defaults 2008-08-17 06:43:26 UTC (rev 4454)
+++ trunk/all/conf-source/jnode.properties.defaults 2008-08-17 06:46:30 UTC (rev 4455)
@@ -11,6 +11,7 @@
jnode.debugger.port=6789
jnode.virtual.memsize=512
jnode.virtualization.platform=vmware
-jnode.virtual.disk=none
+jnode.virtual.disk.dir=
+jnode.virtual.disk=
vmware.vmx.overrides=
Modified: trunk/all/conf-source/jnode.properties.template
===================================================================
--- trunk/all/conf-source/jnode.properties.template 2008-08-17 06:43:26 UTC (rev 4454)
+++ trunk/all/conf-source/jnode.properties.template 2008-08-17 06:46:30 UTC (rev 4455)
@@ -70,6 +70,7 @@
# -----------------------------------------------
@jnode.virtualization.platform/=#@
+...@jn...rtual.disk.dir/=#@
@jnode.virtual.disk/=#@
# -----------------------------------------------
Modified: trunk/all/conf-source/script.xml
===================================================================
--- trunk/all/conf-source/script.xml 2008-08-17 06:43:26 UTC (rev 4454)
+++ trunk/all/conf-source/script.xml 2008-08-17 06:46:30 UTC (rev 4455)
@@ -11,8 +11,8 @@
</type>
<type name="vdisk.type">
<alt value="none"/>
- <alt value="ext2"/>
- <alt value="jfat"/>
+ <alt value="test32.vmdk"/>
+ <alt value="testext2.vmdk"/>
</type>
<type name="vplatform.type">
<alt value="none"/>
@@ -35,8 +35,10 @@
templateFile="jnode.properties.template">
<property name="jnode.virtual.memsize" type="integer.type"
description="Enter virtual hardware memory size in Mbytes"/>
+ <property name="jnode.virtual.disk.dir" type="string.type"
+ description="Select the virtual disk image directory"/>
<property name="jnode.virtual.disk" type="vdisk.type"
- description="Select a prebuilt virtual disk"/>
+ description="Select a virtual disk image"/>
<property name="jnode.virtualization.platform" type="vplatform.type"
description="Select the PC emulation/virtualization platform"/>
<property name="jnode.memmgr.plugin.id" type="memmgr.type"
@@ -80,6 +82,9 @@
Specify the memory size for the virtual PC; at least 512 Mbytes
is recommended.
</item>
+ <item property="jnode.virtual.disk.dir">
+ Select the directory containing virtual disk images.
+ </item>
<item property="jnode.virtual.disk">
Select a disk image to be mounted as a virtual hard drive.
</item>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <cr...@us...> - 2008-08-18 15:17:26
|
Revision: 4460
http://jnode.svn.sourceforge.net/jnode/?rev=4460&view=rev
Author: crawley
Date: 2008-08-18 15:17:22 +0000 (Mon, 18 Aug 2008)
Log Message:
-----------
Set svn:ignore on all/save
Modified Paths:
--------------
trunk/all/conf/x86/menu-cdrom.lst
trunk/all/conf-source/jnode.properties.template
Property Changed:
----------------
trunk/all/
Property changes on: trunk/all
___________________________________________________________________
Modified: svn:ignore
- build
+ build
save
Modified: trunk/all/conf-source/jnode.properties.template
===================================================================
--- trunk/all/conf-source/jnode.properties.template 2008-08-18 09:35:52 UTC (rev 4459)
+++ trunk/all/conf-source/jnode.properties.template 2008-08-18 15:17:22 UTC (rev 4460)
@@ -1,6 +1,7 @@
-# This file contain custom JNode properties used in the JNode build process.
+#
+# This file is generated / regenerated by the configure.sh script.
#
-# Copy this file to jnode.properties and edit that file as needed.
+# This file contains properties that control the JNode build process.
#
# -----------------------------------------------
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2008-08-22 19:55:25
|
Revision: 4482
http://jnode.svn.sourceforge.net/jnode/?rev=4482&view=rev
Author: lsantha
Date: 2008-08-22 19:55:21 +0000 (Fri, 22 Aug 2008)
Log Message:
-----------
Added support for transitional checks.
Modified Paths:
--------------
trunk/all/build.xml
Added Paths:
-----------
trunk/all/new_checks.xml
Modified: trunk/all/build.xml
===================================================================
--- trunk/all/build.xml 2008-08-22 13:56:04 UTC (rev 4481)
+++ trunk/all/build.xml 2008-08-22 19:55:21 UTC (rev 4482)
@@ -401,7 +401,7 @@
</target>
<!-- Create a bootable CDROM image for x86 32-bits -->
- <target name="cd-x86-lite" depends="assemble">
+ <target name="cd-x86-lite" depends="assemble" description="create a bootable JNode CD image">
<x86-build bits="32" target="java-image"/>
<property name="jnode.bits" value="32" />
<ant antfile="build-x86.xml" inheritall="true" inheritrefs="true" target="cdrom-lite"/>
@@ -750,8 +750,7 @@
</cp-compare>
</target>
- <target name="openjdk-annotate" depends="assemble-projects"
- description="add annotations to compiled openjdk classes">
+ <target name="openjdk-annotate" depends="assemble-projects">
<echo message="openjdk-annotate"/>
<taskdef name="oj-annotate" classname="org.jnode.ant.taskdefs.AnnotateTask"
classpathref="cp-jnode"/>
@@ -886,7 +885,7 @@
</target>
- <target name="checkstyle" description="Generates a report of code convention violations.">
+ <target name="checkstyle" description="check the mandatory code conventions">
<taskdef resource="checkstyletask.properties" classpath="../core/lib/checkstyle-all-4.4.jar"/>
<checkstyle config="jnode_checks.xml">
<fileset dir="../builder/src/builder" includes="**/*.java"/>
@@ -913,6 +912,37 @@
</checkstyle>
</target>
+ <target name="checkstyle-new" description="check the recommanded code conventions">
+ <taskdef resource="checkstyletask.properties" classpath="../core/lib/checkstyle-all-4.4.jar"/>
+ <checkstyle config="new_checks.xml">
+ <!--
+ <fileset dir="../builder/src/builder" includes="**/*.java"/>
+ <fileset dir="../builder/src/configure" includes="**/*.java"/>
+ <fileset dir="../core/src/core" includes="**/*.java"/>
+ <fileset dir="../core/src/driver" includes="**/*.java"/>
+ <fileset dir="../core/src/test" includes="**/*.java"/>
+ -->
+ <fileset dir="../distr/src/apps" includes="**/*.java"/>
+ <fileset dir="../distr/src/emu" includes="**/*.java"/>
+ <fileset dir="../distr/src/install" includes="**/*.java"/>
+ <fileset dir="../distr/src/test" includes="**/*.java"/>
+ <!--
+ <fileset dir="../fs/src/fs" includes="**/*.java"/>
+ <fileset dir="../fs/src/driver" includes="**/*.java"/>
+ <fileset dir="../fs/src/test" includes="**/*.java"/>
+ <fileset dir="../gui/src/test" includes="**/*.java"/>
+ <fileset dir="../gui/src/desktop" includes="**/*.java"/>
+ <fileset dir="../gui/src/driver" includes="**/*.java"/>
+ <fileset dir="../gui/src/awt" includes="**/*.java"/>
+ <fileset dir="../net/src/net" includes="**/*.java"/>
+ <fileset dir="../net/src/driver" includes="**/*.java"/>
+ <fileset dir="../net/src/test" includes="**/*.java"/>
+ <fileset dir="../shell/src/test" includes="**/*.java"/>
+ <fileset dir="../shell/src/shell" includes="**/*.java"/>
+ -->
+ </checkstyle>
+ </target>
+
<!-- Create a patch -->
<!-- TODO create replacement SVN task
<target name="create-patch">
Added: trunk/all/new_checks.xml
===================================================================
--- trunk/all/new_checks.xml (rev 0)
+++ trunk/all/new_checks.xml 2008-08-22 19:55:21 UTC (rev 4482)
@@ -0,0 +1,145 @@
+<?xml version="1.0"?>
+<!DOCTYPE module PUBLIC
+ "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
+ "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
+
+<!--
+
+ Checkstyle configuration that checks the sun coding conventions from:
+
+ - the Java Language Specification at
+ http://java.sun.com/docs/books/jls/second_edition/html/index.html
+
+ - the Sun Code Conventions at http://java.sun.com/docs/codeconv/
+
+ - the Javadoc guidelines at
+ http://java.sun.com/j2se/javadoc/writingdoccomments/index.html
+
+ - the JDK Api documentation http://java.sun.com/j2se/docs/api/index.html
+
+ - some best practices
+
+ Checkstyle is very configurable. Be sure to read the documentation at
+ http://checkstyle.sf.net (or in your downloaded distribution).
+
+ Most Checks are configurable, be sure to consult the documentation.
+
+ To completely disable a check, just comment it out or delete it from the file.
+
+ Finally, it is worth reading the documentation.
+
+-->
+
+<module name="Checker">
+
+ <!-- Checks that a package.html file exists for each package. -->
+ <!-- See http://checkstyle.sf.net/config_javadoc.html#PackageHtml -->
+ <module name="PackageHtml"/>
+
+ <!-- Checks that property files contain the same keys. -->
+ <!-- See http://checkstyle.sf.net/config_misc.html#Translation -->
+<!-- <module name="Translation"/> -->
+
+
+ <module name="TreeWalker">
+
+ <!-- Checks for Javadoc comments. -->
+ <!-- See http://checkstyle.sf.net/config_javadoc.html -->
+ <module name="JavadocType"/>
+ <module name="JavadocMethod"/>
+ <module name="JavadocVariable"/>
+ <module name="JavadocStyle"/>
+
+
+ <!-- Checks for Naming Conventions. -->
+ <!-- See http://checkstyle.sf.net/config_naming.html -->
+<!-- <module name="ConstantName"/>
+ <module name="LocalFinalVariableName"/>
+ <module name="LocalVariableName"/>
+ <module name="MemberName"/>
+ <module name="MethodName"/>
+ <module name="PackageName"/>
+ <module name="ParameterName"/>
+ <module name="StaticVariableName"/>
+ <module name="TypeName"/> -->
+
+
+ <!-- Checks for Headers -->
+ <!-- See http://checkstyle.sf.net/config_header.html -->
+ <!-- <module name="Header"> -->
+ <!-- The follow property value demonstrates the ability -->
+ <!-- to have access to ANT properties. In this case it uses -->
+ <!-- the ${basedir} property to allow Checkstyle to be run -->
+ <!-- from any directory within a project. See property -->
+ <!-- expansion, -->
+ <!-- http://checkstyle.sf.net/config.html#properties -->
+ <!-- <property -->
+ <!-- name="headerFile" -->
+ <!-- value="${basedir}/java.header"/> -->
+ <!-- </module> -->
+
+ <!-- Following interprets the header file as regular expressions. -->
+ <!-- <module name="RegexpHeader"/> -->
+
+
+ <!-- Checks for imports -->
+ <!-- See http://checkstyle.sf.net/config_import.html -->
+<!-- <module name="IllegalImport"/> --><!-- defaults to sun.* packages -->
+
+ <!-- Checks for Size Violations. -->
+ <!-- See http://checkstyle.sf.net/config_sizes.html -->
+<!-- <module name="FileLength"/>
+ <module name="MethodLength"/>
+ <module name="ParameterNumber"/> -->
+
+ <!-- Checks for whitespace -->
+ <!-- See http://checkstyle.sf.net/config_whitespace.html -->
+ <!--<module name="OperatorWrap">
+ <property name="option" value="eol"/>
+ </module>-->
+ <!-- Modifier Checks -->
+ <!-- See http://checkstyle.sf.net/config_modifiers.html -->
+<!-- <module name="RedundantModifier"/> -->
+
+ <!-- Checks for blocks. You know, those {}'s -->
+ <!-- See http://checkstyle.sf.net/config_blocks.html -->
+ <!--module name="NeedBraces"/-->
+
+ <!-- Checks for common coding problems -->
+ <!-- See http://checkstyle.sf.net/config_coding.html -->
+<!-- <module name="AvoidInlineConditionals"/>
+ <module name="DoubleCheckedLocking"/>
+ <module name="EmptyStatement"/>
+ <module name="EqualsHashCode"/>
+ <module name="HiddenField"/>
+ <module name="IllegalInstantiation"/>
+ <module name="InnerAssignment"/>
+ <module name="MagicNumber"/>
+ <module name="MissingSwitchDefault"/>
+ <module name="RedundantThrows"/>
+ <module name="SimplifyBooleanExpression"/>
+ <module name="SimplifyBooleanReturn"/> -->
+
+ <!-- Checks for class design -->
+ <!-- See http://checkstyle.sf.net/config_design.html -->
+<!-- <module name="DesignForExtension"/>
+ <module name="FinalClass"/>
+ <module name="HideUtilityClassConstructor"/>
+ <module name="InterfaceIsType"/>
+ <module name="VisibilityModifier"/> -->
+
+
+ <!-- Miscellaneous other checks. -->
+ <!-- See http://checkstyle.sf.net/config_misc.html -->
+<!-- <module name="ArrayTypeStyle"/>
+ <module name="FinalParameters"/>
+ <module name="GenericIllegalRegexp">
+ <property name="format" value="\s+$"/>
+ <property name="message" value="Line has trailing spaces."/>
+ </module>
+ <module name="TodoComment"/>
+ <module name="UpperEll"/> -->
+
+ </module>
+
+</module>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fd...@us...> - 2008-09-23 19:45:27
|
Revision: 4574
http://jnode.svn.sourceforge.net/jnode/?rev=4574&view=rev
Author: fduminy
Date: 2008-09-23 19:45:07 +0000 (Tue, 23 Sep 2008)
Log Message:
-----------
set a greater value for memoryMaximumSize when compiling on 64bits architectures
Modified Paths:
--------------
trunk/all/build.xml
trunk/all/lib/jnode.xml
Modified: trunk/all/build.xml
===================================================================
--- trunk/all/build.xml 2008-09-21 09:24:00 UTC (rev 4573)
+++ trunk/all/build.xml 2008-09-23 19:45:07 UTC (rev 4574)
@@ -1,5 +1,11 @@
<project name="JNode" default="help" basedir=".">
+ <!-- before including jnode.xml, we must set this property -->
+ <condition property="memoryMaximumSize" value="1512m" else="768m">
+ <os arch="amd64"/>
+ </condition>
+ <echo message="Setting memoryMaximumSize to ${memoryMaximumSize}"/>
+
<!-- Include antlib -->
<typedef file="${basedir}/lib/jnode.xml"/>
Modified: trunk/all/lib/jnode.xml
===================================================================
--- trunk/all/lib/jnode.xml 2008-09-21 09:24:00 UTC (rev 4573)
+++ trunk/all/lib/jnode.xml 2008-09-23 19:45:07 UTC (rev 4574)
@@ -8,7 +8,7 @@
debug="on"
optimize="on"
fork="on"
- memoryMaximumSize="768m"
+ memoryMaximumSize="${memoryMaximumSize}"
compiler="modern"
includeJavaRuntime="false"
target="${java.target}"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2009-04-16 20:37:14
|
Revision: 5294
http://jnode.svn.sourceforge.net/jnode/?rev=5294&view=rev
Author: lsantha
Date: 2009-04-16 20:37:00 +0000 (Thu, 16 Apr 2009)
Log Message:
-----------
Added support for classlib sources.
Modified Paths:
--------------
trunk/all/build.xml
Added Paths:
-----------
trunk/all/lib/classlib-src.jar.bz2
Property Changed:
----------------
trunk/all/lib/
Modified: trunk/all/build.xml
===================================================================
--- trunk/all/build.xml 2009-04-16 20:36:30 UTC (rev 5293)
+++ trunk/all/build.xml 2009-04-16 20:37:00 UTC (rev 5294)
@@ -46,6 +46,7 @@
<property name="jnode-mmtk-nogc.jar" value="${root.dir}/core/build/classes-plan/org.jnode.vm.memmgr.mmtk.nogc"/>
<property name="classlib.jar" value="${root.dir}/all/lib/classlib.jar"/>
+ <property name="classlib-src.jar" value="${root.dir}/all/lib/classlib-src.jar"/>
<property name="ant.jar" value="${root.dir}/core/lib/ant.jar"/>
<property name="ant-launcher.jar" value="${root.dir}/core/lib/ant-launcher.jar"/>
<property name="commons-net.jar" value="${root.dir}/core/lib/commons-net-1.1.0.jar"/>
@@ -214,6 +215,19 @@
</exec>
</then>
</if>
+ <if>
+ <or>
+ <not>
+ <available file="${classlib-src.jar}" />
+ </not>
+ <uptodate srcfile="${classlib-src.jar}" targetfile="${root.dir}/all/lib/classlib-src.jar.bz2"/>
+ </or>
+ <then>
+ <delete file="${classlib-src.jar}"/>
+ <echo message="Creating ${classlib-src.jar}"/>
+ <bunzip2 src="${root.dir}/all/lib/classlib-src.jar.bz2" dest="${classlib-src.jar}"/>
+ </then>
+ </if>
<property name="classlib.stamp" value="${root.dir}/all/build/classlib.stamp" />
<if>
<or>
Property changes on: trunk/all/lib
___________________________________________________________________
Modified: svn:ignore
- classlib.jar
+ classlib.jar
classlib-src.jar
Added: trunk/all/lib/classlib-src.jar.bz2
===================================================================
(Binary files differ)
Property changes on: trunk/all/lib/classlib-src.jar.bz2
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2009-05-08 14:23:08
|
Revision: 5462
http://jnode.svn.sourceforge.net/jnode/?rev=5462&view=rev
Author: lsantha
Date: 2009-05-08 14:23:03 +0000 (Fri, 08 May 2009)
Log Message:
-----------
Enabled classlib update via FTP server.
Modified Paths:
--------------
trunk/all/build.xml
Added Paths:
-----------
trunk/all/lib/ftp.properties
Modified: trunk/all/build.xml
===================================================================
--- trunk/all/build.xml 2009-05-08 14:16:24 UTC (rev 5461)
+++ trunk/all/build.xml 2009-05-08 14:23:03 UTC (rev 5462)
@@ -218,7 +218,67 @@
<mkdir dir="${descriptors.dir}"/>
<mkdir dir="${plugins.dir}"/>
<mkdir dir="${initjars.dir}"/>
+ <property file="${root.dir}/all/lib/ftp.properties"/>
+ <!-- check for classlib update -->
<if>
+ <or>
+ <not>
+ <uptodate srcfile="${root.dir}/all/lib/ftp.properties" targetfile="${root.dir}/all/lib/classlib.pack.gz"/>
+ </not>
+ <not>
+ <uptodate srcfile="${root.dir}/all/lib/ftp.properties" targetfile="${root.dir}/all/lib/classlib-src.jar.bz2"/>
+ </not>
+ </or>
+ <then>
+ <!-- check if classlib update should be done locally or from the FTP server -->
+ <if>
+ <isset property="jnode.local.classlib"/>
+ <then>
+ <fail message="classlib is out of date, run copy or quickdeploy in classlib project">
+ <condition>
+ <or>
+ <not>
+ <uptodate srcfile="${root.dir}/all/lib/ftp.properties"
+ targetfile="${root.dir}/all/lib/classlib.jar"/>
+ </not>
+ <not>
+ <uptodate srcfile="${root.dir}/all/lib/ftp.properties"
+ targetfile="${root.dir}/all/lib/classlib-src.jar"/>
+ </not>
+ </or>
+ </condition>
+ </fail>
+ </then>
+ <else>
+ <!-- classlib update from the FTP server -->
+ <delete file="${root.dir}/all/lib/classlib.pack.gz"/>
+ <delete file="${root.dir}/all/lib/classlib-src.jar.bz2"/>
+ <get src="${classlib.url}/classlib.pack.gz" dest="${root.dir}/all/lib/classlib.pack.gz"/>
+ <get src="${classlib.url}/classlib-src.jar.bz2" dest="${root.dir}/all/lib/classlib-src.jar.bz2"/>
+ <!-- verify checksum for downloaded files -->
+ <if>
+ <not>
+ <checksum algorithm="MD5" file="${root.dir}/all/lib/classlib.pack.gz" property="${classlib.md5}"/>
+ </not>
+ <then>
+ <delete file="${root.dir}/all/lib/classlib.pack.gz"/>
+ <fail message="checksum failed for classlib.pack.gz"/>
+ </then>
+ </if>
+ <if>
+ <not>
+ <checksum algorithm="MD5" file="${root.dir}/all/lib/classlib-src.jar.bz2" property="${classlib-src.md5}"/>
+ </not>
+ <then>
+ <delete file="${root.dir}/all/lib/classlib-src.jar.bz2"/>
+ <fail message="checksum failed for classlib-src.jar.bz2"/>
+ </then>
+ </if>
+ </else>
+ </if>
+ </then>
+ </if>
+ <if>
<or>
<not>
<available file="${classlib.jar}" />
Added: trunk/all/lib/ftp.properties
===================================================================
--- trunk/all/lib/ftp.properties (rev 0)
+++ trunk/all/lib/ftp.properties 2009-05-08 14:23:03 UTC (rev 5462)
@@ -0,0 +1,3 @@
+classlib.url=http://codemammoth.com/jnodeftp/classlib/20090508025653
+classlib.md5=36bfb91eeb690b05ff266713dc7485af
+classlib-src.md5=32f0e9e89f0898771f7d0756ed6cf2d7
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2011-02-20 13:34:45
|
Revision: 5786
http://jnode.svn.sourceforge.net/jnode/?rev=5786&view=rev
Author: lsantha
Date: 2011-02-20 13:34:37 +0000 (Sun, 20 Feb 2011)
Log Message:
-----------
Added support for starting the build with cron.
Added Paths:
-----------
trunk/all/cron/
trunk/all/cron/cron.sh
trunk/all/cron/go.png
trunk/all/cron/no.png
trunk/all/cron/ok.png
Property changes on: trunk/all/cron
___________________________________________________________________
Added: svn:ignore
+ status.png
build.log
Added: trunk/all/cron/cron.sh
===================================================================
--- trunk/all/cron/cron.sh (rev 0)
+++ trunk/all/cron/cron.sh 2011-02-20 13:34:37 UTC (rev 5786)
@@ -0,0 +1,24 @@
+#Set JNODE_HOME
+#JNODE_HOME=
+
+if [ -z "${JNODE_HOME}" ]
+then
+echo "Please set JNODE_HOME before running this script."
+exit -1
+fi
+
+CRON_HOME=${JNODE_HOME}/all/cron
+BUILD_LOG=${CRON_HOME}/build.log
+
+cd ${JNODE_HOME}
+cp ${CRON_HOME}/go.png ${CRON_HOME}/status.png
+date &>${BUILD_LOG}
+svn up 1>>${BUILD_LOG} 2>&1
+./build.sh clean cd-x86-lite cd-x86_64-lite javadoc-small javadoc document-plugins 1>>${BUILD_LOG} 2>&1
+res=`grep "BUILD SUCCESSFUL" ${BUILD_LOG}`
+if [ -z "$res" ]
+then
+cp ${CRON_HOME}/no.png ${CRON_HOME}/status.png
+else
+cp ${CRON_HOME}/ok.png ${CRON_HOME}/status.png
+fi
Property changes on: trunk/all/cron/cron.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/all/cron/go.png
===================================================================
(Binary files differ)
Property changes on: trunk/all/cron/go.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/all/cron/no.png
===================================================================
(Binary files differ)
Property changes on: trunk/all/cron/no.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/all/cron/ok.png
===================================================================
(Binary files differ)
Property changes on: trunk/all/cron/ok.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2013-02-23 16:38:17
|
Revision: 5975
http://jnode.svn.sourceforge.net/jnode/?rev=5975&view=rev
Author: lsantha
Date: 2013-02-23 16:38:05 +0000 (Sat, 23 Feb 2013)
Log Message:
-----------
Updated headers.
Modified Paths:
--------------
trunk/all/build-jop.xml
trunk/all/build-x86.xml
trunk/all/conf/default-plugin-list.xml
trunk/all/conf/full-plugin-list.xml
trunk/all/conf/gui-plugin-list_disabled.xml
trunk/all/conf/install-plugin-list_disabled.xml
trunk/all/conf/log4j.xml
trunk/all/conf/shell-plugin-list.xml
trunk/all/conf/system-plugin-list.xml
trunk/all/conf/tests-plugin-list.xml
trunk/all/conf-source/script.xml
trunk/all/jnode_checks.xml
trunk/all/lib/jnode.xml
trunk/all/new_checks.xml
Added Paths:
-----------
trunk/all/template/header.xml
Modified: trunk/all/build-jop.xml
===================================================================
--- trunk/all/build-jop.xml 2013-02-23 13:54:18 UTC (rev 5974)
+++ trunk/all/build-jop.xml 2013-02-23 16:38:05 UTC (rev 5975)
@@ -1,3 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ $Id$
+
+ Copyright (C) 2003-2013 JNode.org
+
+ This library is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2.1 of the License, or
+ (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with this library; If not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+-->
<project name="JNode-jop" default="all" basedir=".">
<property name="my-build.dir" value="${build.dir}/jop" />
Modified: trunk/all/build-x86.xml
===================================================================
--- trunk/all/build-x86.xml 2013-02-23 13:54:18 UTC (rev 5974)
+++ trunk/all/build-x86.xml 2013-02-23 16:38:05 UTC (rev 5975)
@@ -1,3 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ $Id$
+
+ Copyright (C) 2003-2013 JNode.org
+
+ This library is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2.1 of the License, or
+ (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with this library; If not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+-->
<project name="JNode-x86" default="all" basedir=".">
<property name="my-build.dir" value="${build.dir}/x86" />
Modified: trunk/all/conf/default-plugin-list.xml
===================================================================
--- trunk/all/conf/default-plugin-list.xml 2013-02-23 13:54:18 UTC (rev 5974)
+++ trunk/all/conf/default-plugin-list.xml 2013-02-23 16:38:05 UTC (rev 5975)
@@ -1,5 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
+ $Id$
+
+ Copyright (C) 2003-2013 JNode.org
+
+ This library is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2.1 of the License, or
+ (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with this library; If not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+-->
+<!--
Default Plugin List
The default list of (non-system) plugins to be included in the init-jar.
Modified: trunk/all/conf/full-plugin-list.xml
===================================================================
--- trunk/all/conf/full-plugin-list.xml 2013-02-23 13:54:18 UTC (rev 5974)
+++ trunk/all/conf/full-plugin-list.xml 2013-02-23 16:38:05 UTC (rev 5975)
@@ -1,5 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ $Id$
+ Copyright (C) 2003-2013 JNode.org
+
+ This library is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2.1 of the License, or
+ (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with this library; If not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+-->
+
<plugin-list name="full">
<manifest>
<attribute key="Main-Class" value="org.jnode.shell.CommandShell"/>
Modified: trunk/all/conf/gui-plugin-list_disabled.xml
===================================================================
--- trunk/all/conf/gui-plugin-list_disabled.xml 2013-02-23 13:54:18 UTC (rev 5974)
+++ trunk/all/conf/gui-plugin-list_disabled.xml 2013-02-23 16:38:05 UTC (rev 5975)
@@ -1,5 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ $Id$
+ Copyright (C) 2003-2013 JNode.org
+
+ This library is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2.1 of the License, or
+ (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with this library; If not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+-->
+
<plugin-list name="fullgui">
<manifest>
<attribute key="Main-Class" value="org.jnode.awt.StartAwt"/>
Modified: trunk/all/conf/install-plugin-list_disabled.xml
===================================================================
--- trunk/all/conf/install-plugin-list_disabled.xml 2013-02-23 13:54:18 UTC (rev 5974)
+++ trunk/all/conf/install-plugin-list_disabled.xml 2013-02-23 16:38:05 UTC (rev 5975)
@@ -1,5 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ $Id$
+ Copyright (C) 2003-2013 JNode.org
+
+ This library is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2.1 of the License, or
+ (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with this library; If not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+-->
+
<plugin-list name="install">
<manifest>
<attribute key="Main-Class" value="org.jnode.install.Main"/>
Modified: trunk/all/conf/log4j.xml
===================================================================
--- trunk/all/conf/log4j.xml 2013-02-23 13:54:18 UTC (rev 5974)
+++ trunk/all/conf/log4j.xml 2013-02-23 16:38:05 UTC (rev 5975)
@@ -1,4 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ $Id$
+
+ Copyright (C) 2003-2013 JNode.org
+
+ This library is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2.1 of the License, or
+ (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with this library; If not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+-->
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<!-- ===================================================================== -->
Modified: trunk/all/conf/shell-plugin-list.xml
===================================================================
--- trunk/all/conf/shell-plugin-list.xml 2013-02-23 13:54:18 UTC (rev 5974)
+++ trunk/all/conf/shell-plugin-list.xml 2013-02-23 16:38:05 UTC (rev 5975)
@@ -1,4 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ $Id$
+
+ Copyright (C) 2003-2013 JNode.org
+
+ This library is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2.1 of the License, or
+ (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with this library; If not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+-->
<plugin-list name="shell">
<manifest>
<attribute key="Main-Class" value="org.jnode.shell.CommandShell"/>
Modified: trunk/all/conf/system-plugin-list.xml
===================================================================
--- trunk/all/conf/system-plugin-list.xml 2013-02-23 13:54:18 UTC (rev 5974)
+++ trunk/all/conf/system-plugin-list.xml 2013-02-23 16:38:05 UTC (rev 5975)
@@ -1,5 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
+ $Id$
+
+ Copyright (C) 2003-2013 JNode.org
+
+ This library is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2.1 of the License, or
+ (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with this library; If not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+-->
+<!--
System Plugin List
These (system) plugins are always included in the init-jar.
Modified: trunk/all/conf/tests-plugin-list.xml
===================================================================
--- trunk/all/conf/tests-plugin-list.xml 2013-02-23 13:54:18 UTC (rev 5974)
+++ trunk/all/conf/tests-plugin-list.xml 2013-02-23 16:38:05 UTC (rev 5975)
@@ -1,5 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ $Id$
+ Copyright (C) 2003-2013 JNode.org
+
+ This library is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2.1 of the License, or
+ (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with this library; If not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+-->
+
<plugin-list name="tests">
<manifest>
<attribute key="Main-Class" value="org.jnode.shell.CommandShell"/>
@@ -25,4 +44,4 @@
<plugin id="org.jnode.shell.command.test"/>
<plugin id="org.jnode.testrunner"/>
-</plugin-list>
\ No newline at end of file
+</plugin-list>
Modified: trunk/all/conf-source/script.xml
===================================================================
--- trunk/all/conf-source/script.xml 2013-02-23 13:54:18 UTC (rev 5974)
+++ trunk/all/conf-source/script.xml 2013-02-23 16:38:05 UTC (rev 5975)
@@ -1,3 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ $Id$
+
+ Copyright (C) 2003-2013 JNode.org
+
+ This library is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2.1 of the License, or
+ (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with this library; If not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+-->
<configureScript>
<type name="integer.type" pattern="[0-9]+"/>
<type name="string.type" pattern=".*" emptyToken="none"/>
Modified: trunk/all/jnode_checks.xml
===================================================================
--- trunk/all/jnode_checks.xml 2013-02-23 13:54:18 UTC (rev 5974)
+++ trunk/all/jnode_checks.xml 2013-02-23 16:38:05 UTC (rev 5975)
@@ -1,190 +1,209 @@
-<?xml version="1.0"?>
-<!DOCTYPE module PUBLIC
- "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
- "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
-
-<!--
-
- Checkstyle configuration that checks the sun coding conventions from:
-
- - the Java Language Specification at
- http://java.sun.com/docs/books/jls/second_edition/html/index.html
-
- - the Sun Code Conventions at http://java.sun.com/docs/codeconv/
-
- - the Javadoc guidelines at
- http://java.sun.com/j2se/javadoc/writingdoccomments/index.html
-
- - the JDK Api documentation http://java.sun.com/j2se/docs/api/index.html
-
- - some best practices
-
- Checkstyle is very configurable. Be sure to read the documentation at
- http://checkstyle.sf.net (or in your downloaded distribution).
-
- Most Checks are configurable, be sure to consult the documentation.
-
- To completely disable a check, just comment it out or delete it from the file.
-
- Finally, it is worth reading the documentation.
-
--->
-
-<module name="Checker">
-
- <!-- Checks that a package.html file exists for each package. -->
- <!-- See http://checkstyle.sf.net/config_javadoc.html#PackageHtml -->
-<!-- <module name="PackageHtml"/> -->
-
- <!-- Checks whether files end with a new line. -->
- <!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile -->
- <module name="NewlineAtEndOfFile"/>
- <module name="FileTabCharacter">
- <property name="eachLine" value="true"/>
- </module>
-
- <!-- Checks that property files contain the same keys. -->
- <!-- See http://checkstyle.sf.net/config_misc.html#Translation -->
-<!-- <module name="Translation"/> -->
-
-
- <module name="TreeWalker">
-
- <!-- Checks for Javadoc comments. -->
- <!-- See http://checkstyle.sf.net/config_javadoc.html -->
-<!-- <module name="JavadocMethod"/>
- <module name="JavadocType"/>
- <module name="JavadocVariable"/>
- <module name="JavadocStyle"/> -->
-
-
- <!-- Checks for Naming Conventions. -->
- <!-- See http://checkstyle.sf.net/config_naming.html -->
-<!-- <module name="ConstantName"/>
- <module name="LocalFinalVariableName"/>
- <module name="LocalVariableName"/>
- <module name="MemberName"/>
- <module name="MethodName"/>
- <module name="PackageName"/>
- <module name="ParameterName"/>
- <module name="StaticVariableName"/>
- <module name="TypeName"/> -->
-
-
- <!-- Checks for Headers -->
- <!-- See http://checkstyle.sf.net/config_header.html -->
- <!-- <module name="Header"> -->
- <!-- The follow property value demonstrates the ability -->
- <!-- to have access to ANT properties. In this case it uses -->
- <!-- the ${basedir} property to allow Checkstyle to be run -->
- <!-- from any directory within a project. See property -->
- <!-- expansion, -->
- <!-- http://checkstyle.sf.net/config.html#properties -->
- <!-- <property -->
- <!-- name="headerFile" -->
- <!-- value="${basedir}/java.header"/> -->
- <!-- </module> -->
-
- <!-- Following interprets the header file as regular expressions. -->
- <!-- <module name="RegexpHeader"/> -->
-
-
- <!-- Checks for imports -->
- <!-- See http://checkstyle.sf.net/config_import.html -->
- <module name="AvoidStarImport"/>
-<!-- <module name="IllegalImport"/> --><!-- defaults to sun.* packages -->
- <module name="RedundantImport"/>
- <module name="UnusedImports"/>
-
-
- <!-- Checks for Size Violations. -->
- <!-- See http://checkstyle.sf.net/config_sizes.html -->
-<!-- <module name="FileLength"/>
- <module name="MethodLength"/>
- <module name="ParameterNumber"/> -->
- <module name="LineLength">
- <property name="max" value="120"/>
- </module>
-
-
- <!-- Checks for whitespace -->
- <!-- See http://checkstyle.sf.net/config_whitespace.html -->
- <module name="MethodParamPad"/>
- <module name="NoWhitespaceAfter"/>
- <module name="NoWhitespaceBefore"/>
- <!--<module name="OperatorWrap">
- <property name="option" value="eol"/>
- </module>-->
- <module name="ParenPad"/>
- <module name="TypecastParenPad"/>
- <module name="WhitespaceAfter"/>
- <module name="WhitespaceAround">
- <property name="tokens" value="ASSIGN, BAND, BAND_ASSIGN, BOR, BOR_ASSIGN,
- BSR, BSR_ASSIGN, BXOR, BXOR_ASSIGN, COLON, DIV, DIV_ASSIGN,
- EQUAL, GE, GT, LAND, LCURLY, LE, LITERAL_ASSERT, LITERAL_CATCH,
- LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_FOR, LITERAL_IF,
- LITERAL_RETURN, LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_WHILE,
- LOR, LT, MINUS, MINUS_ASSIGN, MOD, MOD_ASSIGN, NOT_EQUAL, PLUS,
- PLUS_ASSIGN, QUESTION, RCURLY, SL, SLIST, SL_ASSIGN, SR, SR_ASSIGN,
- STAR, STAR_ASSIGN"/>
- <property name="allowEmptyConstructors" value="true"/>
- <property name="allowEmptyMethods" value="true"/>
- </module>
-
- <module name="Indentation"/>
-
- <!-- Modifier Checks -->
- <!-- See http://checkstyle.sf.net/config_modifiers.html -->
-<!-- <module name="RedundantModifier"/> -->
- <module name="ModifierOrder"/>
-
- <!-- Checks for blocks. You know, those {}'s -->
- <!-- See http://checkstyle.sf.net/config_blocks.html -->
- <module name="EmptyBlock">
- <property name="option" value="text" />
- </module>
- <module name="LeftCurly"/>
- <module name="RightCurly"/>
- <!--module name="NeedBraces"/-->
- <module name="AvoidNestedBlocks">
- <property name="allowInSwitchCase" value="true" />
- </module>
-
- <!-- Checks for common coding problems -->
- <!-- See http://checkstyle.sf.net/config_coding.html -->
-<!-- <module name="AvoidInlineConditionals"/>
- <module name="DoubleCheckedLocking"/>
- <module name="EmptyStatement"/>
- <module name="EqualsHashCode"/>
- <module name="HiddenField"/>
- <module name="IllegalInstantiation"/>
- <module name="InnerAssignment"/>
- <module name="MagicNumber"/>
- <module name="MissingSwitchDefault"/>
- <module name="RedundantThrows"/>
- <module name="SimplifyBooleanExpression"/>
- <module name="SimplifyBooleanReturn"/> -->
-
- <!-- Checks for class design -->
- <!-- See http://checkstyle.sf.net/config_design.html -->
-<!-- <module name="DesignForExtension"/>
- <module name="FinalClass"/>
- <module name="HideUtilityClassConstructor"/>
- <module name="InterfaceIsType"/>
- <module name="VisibilityModifier"/> -->
-
-
- <!-- Miscellaneous other checks. -->
- <!-- See http://checkstyle.sf.net/config_misc.html -->
-<!-- <module name="ArrayTypeStyle"/>
- <module name="FinalParameters"/>
- <module name="GenericIllegalRegexp">
- <property name="format" value="\s+$"/>
- <property name="message" value="Line has trailing spaces."/>
- </module>
- <module name="TodoComment"/>
- <module name="UpperEll"/> -->
-
- </module>
-
-</module>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ $Id$
+
+ Copyright (C) 2003-2013 JNode.org
+
+ This library is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2.1 of the License, or
+ (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with this library; If not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+-->
+<!DOCTYPE module PUBLIC
+ "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
+ "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
+
+<!--
+
+ Checkstyle configuration that checks the sun coding conventions from:
+
+ - the Java Language Specification at
+ http://java.sun.com/docs/books/jls/second_edition/html/index.html
+
+ - the Sun Code Conventions at http://java.sun.com/docs/codeconv/
+
+ - the Javadoc guidelines at
+ http://java.sun.com/j2se/javadoc/writingdoccomments/index.html
+
+ - the JDK Api documentation http://java.sun.com/j2se/docs/api/index.html
+
+ - some best practices
+
+ Checkstyle is very configurable. Be sure to read the documentation at
+ http://checkstyle.sf.net (or in your downloaded distribution).
+
+ Most Checks are configurable, be sure to consult the documentation.
+
+ To completely disable a check, just comment it out or delete it from the file.
+
+ Finally, it is worth reading the documentation.
+
+-->
+
+<module name="Checker">
+
+ <!-- Checks that a package.html file exists for each package. -->
+ <!-- See http://checkstyle.sf.net/config_javadoc.html#PackageHtml -->
+<!-- <module name="PackageHtml"/> -->
+
+ <!-- Checks whether files end with a new line. -->
+ <!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile -->
+ <module name="NewlineAtEndOfFile"/>
+ <module name="FileTabCharacter">
+ <property name="eachLine" value="true"/>
+ </module>
+
+ <!-- Checks that property files contain the same keys. -->
+ <!-- See http://checkstyle.sf.net/config_misc.html#Translation -->
+<!-- <module name="Translation"/> -->
+
+
+ <module name="TreeWalker">
+
+ <!-- Checks for Javadoc comments. -->
+ <!-- See http://checkstyle.sf.net/config_javadoc.html -->
+<!-- <module name="JavadocMethod"/>
+ <module name="JavadocType"/>
+ <module name="JavadocVariable"/>
+ <module name="JavadocStyle"/> -->
+
+
+ <!-- Checks for Naming Conventions. -->
+ <!-- See http://checkstyle.sf.net/config_naming.html -->
+<!-- <module name="ConstantName"/>
+ <module name="LocalFinalVariableName"/>
+ <module name="LocalVariableName"/>
+ <module name="MemberName"/>
+ <module name="MethodName"/>
+ <module name="PackageName"/>
+ <module name="ParameterName"/>
+ <module name="StaticVariableName"/>
+ <module name="TypeName"/> -->
+
+
+ <!-- Checks for Headers -->
+ <!-- See http://checkstyle.sf.net/config_header.html -->
+ <!-- <module name="Header"> -->
+ <!-- The follow property value demonstrates the ability -->
+ <!-- to have access to ANT properties. In this case it uses -->
+ <!-- the ${basedir} property to allow Checkstyle to be run -->
+ <!-- from any directory within a project. See property -->
+ <!-- expansion, -->
+ <!-- http://checkstyle.sf.net/config.html#properties -->
+ <!-- <property -->
+ <!-- name="headerFile" -->
+ <!-- value="${basedir}/java.header"/> -->
+ <!-- </module> -->
+
+ <!-- Following interprets the header file as regular expressions. -->
+ <!-- <module name="RegexpHeader"/> -->
+
+
+ <!-- Checks for imports -->
+ <!-- See http://checkstyle.sf.net/config_import.html -->
+ <module name="AvoidStarImport"/>
+<!-- <module name="IllegalImport"/> --><!-- defaults to sun.* packages -->
+ <module name="RedundantImport"/>
+ <module name="UnusedImports"/>
+
+
+ <!-- Checks for Size Violations. -->
+ <!-- See http://checkstyle.sf.net/config_sizes.html -->
+<!-- <module name="FileLength"/>
+ <module name="MethodLength"/>
+ <module name="ParameterNumber"/> -->
+ <module name="LineLength">
+ <property name="max" value="120"/>
+ </module>
+
+
+ <!-- Checks for whitespace -->
+ <!-- See http://checkstyle.sf.net/config_whitespace.html -->
+ <module name="MethodParamPad"/>
+ <module name="NoWhitespaceAfter"/>
+ <module name="NoWhitespaceBefore"/>
+ <!--<module name="OperatorWrap">
+ <property name="option" value="eol"/>
+ </module>-->
+ <module name="ParenPad"/>
+ <module name="TypecastParenPad"/>
+ <module name="WhitespaceAfter"/>
+ <module name="WhitespaceAround">
+ <property name="tokens" value="ASSIGN, BAND, BAND_ASSIGN, BOR, BOR_ASSIGN,
+ BSR, BSR_ASSIGN, BXOR, BXOR_ASSIGN, COLON, DIV, DIV_ASSIGN,
+ EQUAL, GE, GT, LAND, LCURLY, LE, LITERAL_ASSERT, LITERAL_CATCH,
+ LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_FOR, LITERAL_IF,
+ LITERAL_RETURN, LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_WHILE,
+ LOR, LT, MINUS, MINUS_ASSIGN, MOD, MOD_ASSIGN, NOT_EQUAL, PLUS,
+ PLUS_ASSIGN, QUESTION, RCURLY, SL, SLIST, SL_ASSIGN, SR, SR_ASSIGN,
+ STAR, STAR_ASSIGN"/>
+ <property name="allowEmptyConstructors" value="true"/>
+ <property name="allowEmptyMethods" value="true"/>
+ </module>
+
+ <module name="Indentation"/>
+
+ <!-- Modifier Checks -->
+ <!-- See http://checkstyle.sf.net/config_modifiers.html -->
+<!-- <module name="RedundantModifier"/> -->
+ <module name="ModifierOrder"/>
+
+ <!-- Checks for blocks. You know, those {}'s -->
+ <!-- See http://checkstyle.sf.net/config_blocks.html -->
+ <module name="EmptyBlock">
+ <property name="option" value="text" />
+ </module>
+ <module name="LeftCurly"/>
+ <module name="RightCurly"/>
+ <!--module name="NeedBraces"/-->
+ <module name="AvoidNestedBlocks">
+ <property name="allowInSwitchCase" value="true" />
+ </module>
+
+ <!-- Checks for common coding problems -->
+ <!-- See http://checkstyle.sf.net/config_coding.html -->
+<!-- <module name="AvoidInlineConditionals"/>
+ <module name="DoubleCheckedLocking"/>
+ <module name="EmptyStatement"/>
+ <module name="EqualsHashCode"/>
+ <module name="HiddenField"/>
+ <module name="IllegalInstantiation"/>
+ <module name="InnerAssignment"/>
+ <module name="MagicNumber"/>
+ <module name="MissingSwitchDefault"/>
+ <module name="RedundantThrows"/>
+ <module name="SimplifyBooleanExpression"/>
+ <module name="SimplifyBooleanReturn"/> -->
+
+ <!-- Checks for class design -->
+ <!-- See http://checkstyle.sf.net/config_design.html -->
+<!-- <module name="DesignForExtension"/>
+ <module name="FinalClass"/>
+ <module name="HideUtilityClassConstructor"/>
+ <module name="InterfaceIsType"/>
+ <module name="VisibilityModifier"/> -->
+
+
+ <!-- Miscellaneous other checks. -->
+ <!-- See http://checkstyle.sf.net/config_misc.html -->
+<!-- <module name="ArrayTypeStyle"/>
+ <module name="FinalParameters"/>
+ <module name="GenericIllegalRegexp">
+ <property name="format" value="\s+$"/>
+ <property name="message" value="Line has trailing spaces."/>
+ </module>
+ <module name="TodoComment"/>
+ <module name="UpperEll"/> -->
+
+ </module>
+
+</module>
Modified: trunk/all/lib/jnode.xml
===================================================================
--- trunk/all/lib/jnode.xml 2013-02-23 13:54:18 UTC (rev 5974)
+++ trunk/all/lib/jnode.xml 2013-02-23 16:38:05 UTC (rev 5975)
@@ -1,4 +1,23 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ $Id$
+
+ Copyright (C) 2003-2013 JNode.org
+
+ This library is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2.1 of the License, or
+ (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with this library; If not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+-->
<!-- Ant lib for various common tasks -->
<antlib>
Modified: trunk/all/new_checks.xml
===================================================================
--- trunk/all/new_checks.xml 2013-02-23 13:54:18 UTC (rev 5974)
+++ trunk/all/new_checks.xml 2013-02-23 16:38:05 UTC (rev 5975)
@@ -1,157 +1,176 @@
-<?xml version="1.0"?>
-<!DOCTYPE module PUBLIC
- "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
- "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
-
-<!--
-
- Checkstyle configuration that checks the sun coding conventions from:
-
- - the Java Language Specification at
- http://java.sun.com/docs/books/jls/second_edition/html/index.html
-
- - the Sun Code Conventions at http://java.sun.com/docs/codeconv/
-
- - the Javadoc guidelines at
- http://java.sun.com/j2se/javadoc/writingdoccomments/index.html
-
- - the JDK Api documentation http://java.sun.com/j2se/docs/api/index.html
-
- - some best practices
-
- Checkstyle is very configurable. Be sure to read the documentation at
- http://checkstyle.sf.net (or in your downloaded distribution).
-
- Most Checks are configurable, be sure to consult the documentation.
-
- To completely disable a check, just comment it out or delete it from the file.
-
- Finally, it is worth reading the documentation.
-
--->
-
-<module name="Checker">
-
- <!-- Checks that a package.html file exists for each package. -->
- <!-- See http://checkstyle.sf.net/config_javadoc.html#PackageHtml -->
- <!-- temporally disable since pakage-info.java is not supported
- <module name="PackageHtml"/>
- -->
-
- <!-- Checks that property files contain the same keys. -->
- <!-- See http://checkstyle.sf.net/config_misc.html#Translation -->
-<!-- <module name="Translation"/> -->
-
-
- <module name="TreeWalker">
-
- <!-- Checks for Javadoc comments. -->
- <!-- See http://checkstyle.sf.net/config_javadoc.html -->
- <module name="JavadocType">
- <property name="scope" value="public"/>
- </module>
- <module name="JavadocMethod">
- <property name="scope" value="public"/>
- <property name="allowUndeclaredRTE" value="true"/>
- <property name="allowMissingParamTags" value="true"/>
- <property name="allowMissingThrowsTags" value="true"/>
- <property name="allowMissingReturnTag" value="true"/>
- </module>
- <module name="JavadocVariable">
- <property name="scope" value="public"/>
- </module>
- <module name="JavadocStyle"/>
-
-
- <!-- Checks for Naming Conventions. -->
- <!-- See http://checkstyle.sf.net/config_naming.html -->
-<!-- <module name="ConstantName"/>
- <module name="LocalFinalVariableName"/>
- <module name="LocalVariableName"/>
- <module name="MemberName"/>
- <module name="MethodName"/>
- <module name="PackageName"/>
- <module name="ParameterName"/>
- <module name="StaticVariableName"/>
- <module name="TypeName"/> -->
-
-
- <!-- Checks for Headers -->
- <!-- See http://checkstyle.sf.net/config_header.html -->
- <!-- <module name="Header"> -->
- <!-- The follow property value demonstrates the ability -->
- <!-- to have access to ANT properties. In this case it uses -->
- <!-- the ${basedir} property to allow Checkstyle to be run -->
- <!-- from any directory within a project. See property -->
- <!-- expansion, -->
- <!-- http://checkstyle.sf.net/config.html#properties -->
- <!-- <property -->
- <!-- name="headerFile" -->
- <!-- value="${basedir}/java.header"/> -->
- <!-- </module> -->
-
- <!-- Following interprets the header file as regular expressions. -->
- <!-- <module name="RegexpHeader"/> -->
-
-
- <!-- Checks for imports -->
- <!-- See http://checkstyle.sf.net/config_import.html -->
-<!-- <module name="IllegalImport"/> --><!-- defaults to sun.* packages -->
-
- <!-- Checks for Size Violations. -->
- <!-- See http://checkstyle.sf.net/config_sizes.html -->
-<!-- <module name="FileLength"/>
- <module name="MethodLength"/>
- <module name="ParameterNumber"/> -->
-
- <!-- Checks for whitespace -->
- <!-- See http://checkstyle.sf.net/config_whitespace.html -->
- <!--<module name="OperatorWrap">
- <property name="option" value="eol"/>
- </module>-->
- <!-- Modifier Checks -->
- <!-- See http://checkstyle.sf.net/config_modifiers.html -->
-<!-- <module name="RedundantModifier"/> -->
-
- <!-- Checks for blocks. You know, those {}'s -->
- <!-- See http://checkstyle.sf.net/config_blocks.html -->
- <!--module name="NeedBraces"/-->
-
- <!-- Checks for common coding problems -->
- <!-- See http://checkstyle.sf.net/config_coding.html -->
-<!-- <module name="AvoidInlineConditionals"/>
- <module name="DoubleCheckedLocking"/>
- <module name="EmptyStatement"/>
- <module name="EqualsHashCode"/>
- <module name="HiddenField"/>
- <module name="IllegalInstantiation"/>
- <module name="InnerAssignment"/>
- <module name="MagicNumber"/>
- <module name="MissingSwitchDefault"/>
- <module name="RedundantThrows"/>
- <module name="SimplifyBooleanExpression"/>
- <module name="SimplifyBooleanReturn"/> -->
-
- <!-- Checks for class design -->
- <!-- See http://checkstyle.sf.net/config_design.html -->
-<!-- <module name="DesignForExtension"/>
- <module name="FinalClass"/>
- <module name="HideUtilityClassConstructor"/>
- <module name="InterfaceIsType"/>
- <module name="VisibilityModifier"/> -->
-
-
- <!-- Miscellaneous other checks. -->
- <!-- See http://checkstyle.sf.net/config_misc.html -->
-<!-- <module name="ArrayTypeStyle"/>
- <module name="FinalParameters"/>
- <module name="GenericIllegalRegexp">
- <property name="format" value="\s+$"/>
- <property name="message" value="Line has trailing spaces."/>
- </module>
- <module name="TodoComment"/>
- <module name="UpperEll"/> -->
-
- </module>
-
-</module>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ $Id$
+
+ Copyright (C) 2003-2013 JNode.org
+
+ This library is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2.1 of the License, or
+ (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with this library; If not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+-->
+<!DOCTYPE module PUBLIC
+ "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
+ "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
+
+<!--
+
+ Checkstyle configuration that checks the sun coding conventions from:
+
+ - the Java Language Specification at
+ http://java.sun.com/docs/books/jls/second_edition/html/index.html
+
+ - the Sun Code Conventions at http://java.sun.com/docs/codeconv/
+
+ - the Javadoc guidelines at
+ http://java.sun.com/j2se/javadoc/writingdoccomments/index.html
+
+ - the JDK Api documentation http://java.sun.com/j2se/docs/api/index.html
+
+ - some best practices
+
+ Checkstyle is very configurable. Be sure to read the documentation at
+ http://checkstyle.sf.net (or in your downloaded distribution).
+
+ Most Checks are configurable, be sure to consult the documentation.
+
+ To completely disable a check, just comment it out or delete it from the file.
+
+ Finally, it is worth reading the documentation.
+
+-->
+
+<module name="Checker">
+
+ <!-- Checks that a package.html file exists for each package. -->
+ <!-- See http://checkstyle.sf.net/config_javadoc.html#PackageHtml -->
+ <!-- temporally disable since pakage-info.java is not supported
+ <module name="PackageHtml"/>
+ -->
+
+ <!-- Checks that property files contain the same keys. -->
+ <!-- See http://checkstyle.sf.net/config_misc.html#Translation -->
+<!-- <module name="Translation"/> -->
+
+
+ <module name="TreeWalker">
+
+ <!-- Checks for Javadoc comments. -->
+ <!-- See http://checkstyle.sf.net/config_javadoc.html -->
+ <module name="JavadocType">
+ <property name="scope" value="public"/>
+ </module>
+ <module name="JavadocMethod">
+ <property name="scope" value="public"/>
+ <property name="allowUndeclaredRTE" value="true"/>
+ <property name="allowMissingParamTags" value="true"/>
+ <property name="allowMissingThrowsTags" value="true"/>
+ <property name="allowMissingReturnTag" value="true"/>
+ </module>
+ <module name="JavadocVariable">
+ <property name="scope" value="public"/>
+ </module>
+ <module name="JavadocStyle"/>
+
+
+ <!-- Checks for Naming Conventions. -->
+ <!-- See http://checkstyle.sf.net/config_naming.html -->
+<!-- <module name="ConstantName"/>
+ <module name="LocalFinalVariableName"/>
+ <module name="LocalVariableName"/>
+ <module name="MemberName"/>
+ <module name="MethodName"/>
+ <module name="PackageName"/>
+ <module name="ParameterName"/>
+ <module name="StaticVariableName"/>
+ <module name="TypeName"/> -->
+
+
+ <!-- Checks for Headers -->
+ <!-- See http://checkstyle.sf.net/config_header.html -->
+ <!-- <module name="Header"> -->
+ <!-- The follow property value demonstrates the ability -->
+ <!-- to have access to ANT properties. In this case it uses -->
+ <!-- the ${basedir} property to allow Checkstyle to be run -->
+ <!-- from any directory within a project. See property -->
+ <!-- expansion, -->
+ <!-- http://checkstyle.sf.net/config.html#properties -->
+ <!-- <property -->
+ <!-- name="headerFile" -->
+ <!-- value="${basedir}/java.header"/> -->
+ <!-- </module> -->
+
+ <!-- Following interprets the header file as regular expressions. -->
+ <!-- <module name="RegexpHeader"/> -->
+
+
+ <!-- Checks for imports -->
+ <!-- See http://checkstyle.sf.net/config_import.html -->
+<!-- <module name="IllegalImport"/> --><!-- defaults to sun.* packages -->
+
+ <!-- Checks for Size Violations. -->
+ <!-- See http://checkstyle.sf.net/config_sizes.html -->
+<!-- <module name="FileLength"/>
+ <module name="MethodLength"/>
+ <module name="ParameterNumber"/> -->
+
+ <!-- Checks for whitespace -->
+ <!-- See http://checkstyle.sf.net/config_whitespace.html -->
+ <!--<module name="OperatorWrap">
+ <property name="option" value="eol"/>
+ </module>-->
+ <!-- Modifier Checks -->
+ <!-- See http://checkstyle.sf.net/config_modifiers.html -->
+<!-- <module name="RedundantModifier"/> -->
+
+ <!-- Checks for blocks. You know, those {}'s -->
+ <!-- See http://checkstyle.sf.net/config_blocks.html -->
+ <!--module name="NeedBraces"/-->
+
+ <!-- Checks for common coding problems -->
+ <!-- See http://checkstyle.sf.net/config_coding.html -->
+<!-- <module name="AvoidInlineConditionals"/>
+ <module name="DoubleCheckedLocking"/>
+ <module name="EmptyStatement"/>
+ <module name="EqualsHashCode"/>
+ <module name="HiddenField"/>
+ <module name="IllegalInstantiation"/>
+ <module name="InnerAssignment"/>
+ <module name="MagicNumber"/>
+ <module name="MissingSwitchDefault"/>
+ <module name="RedundantThrows"/>
+ <module name="SimplifyBooleanExpression"/>
+ <module name="SimplifyBooleanReturn"/> -->
+
+ <!-- Checks for class design -->
+ <!-- See http://checkstyle.sf.net/config_design.html -->
+<!-- <module name="DesignForExtension"/>
+ <module name="FinalClass"/>
+ <module name="HideUtilityClassConstructor"/>
+ <module name="InterfaceIsType"/>
+ <module name="VisibilityModifier"/> -->
+
+
+ <!-- Miscellaneous other checks. -->
+ <!-- See http://checkstyle.sf.net/config_misc.html -->
+<!-- <module name="ArrayTypeStyle"/>
+ <module name="FinalParameters"/>
+ <module name="GenericIllegalRegexp">
+ <property name="format" value="\s+$"/>
+ <property name="message" value="Line has trailing spaces."/>
+ </module>
+ <module name="TodoComment"/>
+ <module name="UpperEll"/> -->
+
+ </module>
+
+</module>
Copied: trunk/all/template/header.xml (from rev 5972, trunk/all/template/header.txt)
===================================================================
--- trunk/all/template/header.xml (rev 0)
+++ trunk/all/template/header.xml 2013-02-23 16:38:05 UTC (rev 5975)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ $Id$
+
+ Copyright (C) 2003-2013 JNode.org
+
+ This library is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2.1 of the License, or
+ (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with this library; If not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+-->
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|