Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Build cleanup.

  • Loading branch information...
commit 308d3ac83e5df1172bc57b367f4e656a9b3a5ae5 1 parent 8774bef
@josephw authored
View
7 .classpath
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
View
17 .project
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>Games</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
View
12 .settings/org.eclipse.jdt.core.prefs
@@ -1,12 +0,0 @@
-#Tue Jul 03 19:44:07 BST 2007
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.5
View
71 build.xml
@@ -1,71 +0,0 @@
-<project default="dist">
-
- <property file='build.properties'/>
-
- <property name='src.dir' location='src/main/java'/>
- <property name='classes.dir' location='build/classes'/>
-
- <target name="compile">
- <mkdir dir="${classes.dir}" />
-
- <javac srcdir="${src.dir}" destdir="${classes.dir}" debug='true' source="1.5" deprecation="yes"/>
- </target>
-
- <target name='clean'>
- <delete dir='${classes.dir}' />
- <delete dir='build'/>
- </target>
-
- <target name='test' depends='compile'>
- <junit dir="." fork="true" haltonfailure="yes">
- <classpath>
- <pathelement location="${classes.dir}"/>
- </classpath>
- <batchtest>
- <formatter type="plain" usefile="false"/>
- <fileset dir="${classes.dir}">
- <include name="**/Test*.class"/>
- <exclude name="**/*$*"/>
- </fileset>
- </batchtest>
- </junit>
- </target>
-
- <path id='checkstyle.classpath'>
- <fileset dir='/usr/share/java'>
- <include name='checkstyle.jar'/>
- <include name='commons-beanutils.jar'/>
- <include name='commons-logging.jar'/>
- <include name='antlrall.jar'/>
- </fileset>
- </path>
-
- <target name='checkstyle'>
- <taskdef resource='checkstyletask.properties' classpathref='checkstyle.classpath'/>
- <checkstyle config='checkstyle-rules.xml'>
- <fileset dir='${src.dir}'>
- <include name='**/*.java'/>
- </fileset>
- </checkstyle>
- </target>
-
- <target name='jar' depends='compile'>
- <jar destfile='build/futoshiki.jar'>
- <fileset dir='${classes.dir}'>
- <exclude name='**/sample/*'/>
- <exclude name='**/test/*'/>
- </fileset>
- </jar>
- </target>
-
- <target name='zipsrc'>
- <zip destfile='build/futoshiki-src.zip'>
- <fileset dir='${src.dir}'/>
- <fileset dir='/usr/share/common-licenses'>
- <include name='GPL-3'/>
- </fileset>
- </zip>
- </target>
-
- <target name='dist' depends='jar,zipsrc'/>
-</project>
View
23 checkstyle-rules.xml
@@ -3,8 +3,20 @@
"http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
<module name='Checker'>
+ <module name='FileTabCharacter'/>
+
+ <module name="Header">
+ <property name='headerFile' value='BOILERPLATE'/>
+ </module>
+
+ <module name="FileLength"/>
+
+ <module name="RegexpSingleline">
+ <property name="format" value="[^*\s]+\s+$"/>
+ <property name="message" value="Line has trailing spaces."/>
+ </module>
+
<module name='TreeWalker'>
- <module name='TabCharacter'/>
<module name="JavadocType">
<property name='scope' value='package'/>
</module>
@@ -16,16 +28,11 @@
<module name="StaticVariableName"/>
<module name="TypeName"/>
- <module name="Header">
- <property name='headerFile' value='BOILERPLATE'/>
- </module>
-
<module name="AvoidStarImport"/>
<module name="IllegalImport"/>
<module name="RedundantImport"/>
<module name="UnusedImports"/>
- <module name="FileLength"/>
<module name="LineLength"/>
<module name="MethodParamPad"/>
@@ -63,10 +70,6 @@
<module name="InterfaceIsType"/>
<module name="ArrayTypeStyle"/>
- <module name="GenericIllegalRegexp">
- <property name="format" value="[^*\s]+\s+$"/>
- <property name="message" value="Line has trailing spaces."/>
- </module>
<module name="UpperEll"/>
View
1  pom.xml
@@ -65,6 +65,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
+ <version>2.6</version>
<configuration>
<configLocation>checkstyle-rules.xml</configLocation>
</configuration>
Please sign in to comment.
Something went wrong with that request. Please try again.