Revision: 17669
http://sourceforge.net/p/gate/code/17669
Author: markagreenwood
Date: 2014-03-15 09:10:33 +0000 (Sat, 15 Mar 2014)
Log Message:
-----------
and that's all the D* plugins cleaned up and the compiler warnings enabled
Modified Paths:
--------------
gate/trunk/plugins/Developer_Tools/build.xml
gate/trunk/plugins/Developer_Tools/src/org/jdesktop/swinghelper/debug/EventDispatchThreadHangMonitor.java
gate/trunk/plugins/DocumentNormalizer/build.xml
Added Paths:
-----------
gate/trunk/plugins/DocumentNormalizer/.classpath
gate/trunk/plugins/DocumentNormalizer/.project
Modified: gate/trunk/plugins/Developer_Tools/build.xml
===================================================================
--- gate/trunk/plugins/Developer_Tools/build.xml 2014-03-15 09:05:33 UTC
(rev 17668)
+++ gate/trunk/plugins/Developer_Tools/build.xml 2014-03-15 09:10:33 UTC
(rev 17669)
@@ -49,7 +49,11 @@
debug="true"
debuglevel="lines,source"
source="1.6"
- target="1.6" />
+ target="1.6">
+ <compilerarg value="-Xmaxwarns" />
+ <compilerarg value="${gate.compile.maxwarnings}" />
+ <compilerarg value="-Xlint:all" />
+ </javac>
</target>
<!-- Build JavaDoc documentation -->
Modified:
gate/trunk/plugins/Developer_Tools/src/org/jdesktop/swinghelper/debug/EventDispatchThreadHangMonitor.java
===================================================================
---
gate/trunk/plugins/Developer_Tools/src/org/jdesktop/swinghelper/debug/EventDispatchThreadHangMonitor.java
2014-03-15 09:05:33 UTC (rev 17668)
+++
gate/trunk/plugins/Developer_Tools/src/org/jdesktop/swinghelper/debug/EventDispatchThreadHangMonitor.java
2014-03-15 09:10:33 UTC (rev 17669)
@@ -237,6 +237,7 @@
}
}
+ @SuppressWarnings("unused")
private void debug(String which) {
if(false) {
for(int i = dispatches.size(); i >= 0; --i) {
@@ -279,6 +280,7 @@
debug("post");
}
+ @SuppressWarnings("unused")
private static void checkForDeadlock() {
ThreadMXBean threadBean = ManagementFactory.getThreadMXBean();
long[] threadIds = threadBean.findMonitorDeadlockedThreads();
Added: gate/trunk/plugins/DocumentNormalizer/.classpath
===================================================================
--- gate/trunk/plugins/DocumentNormalizer/.classpath
(rev 0)
+++ gate/trunk/plugins/DocumentNormalizer/.classpath 2014-03-15 09:10:33 UTC
(rev 17669)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="lib" path="doc-normalizer.jar"/>
+ <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/GATE"/>
+ <classpathentry kind="output" path="classes"/>
+</classpath>
Added: gate/trunk/plugins/DocumentNormalizer/.project
===================================================================
--- gate/trunk/plugins/DocumentNormalizer/.project
(rev 0)
+++ gate/trunk/plugins/DocumentNormalizer/.project 2014-03-15 09:10:33 UTC
(rev 17669)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>GATE-plugin-DocumentNormalizer</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>
Modified: gate/trunk/plugins/DocumentNormalizer/build.xml
===================================================================
--- gate/trunk/plugins/DocumentNormalizer/build.xml 2014-03-15 09:05:33 UTC
(rev 17668)
+++ gate/trunk/plugins/DocumentNormalizer/build.xml 2014-03-15 09:10:33 UTC
(rev 17669)
@@ -1,4 +1,7 @@
<project name="DocumentNormalizer" basedir=".">
+ <!-- Prevent Ant from warning about includeantruntime not being set -->
+ <property name="build.sysclasspath" value="ignore" />
+
<property file="build.properties" />
<property name="gate.home" location="../.." />
@@ -25,7 +28,11 @@
<!-- compile the source -->
<target name="compile" depends="prepare">
- <javac classpathref="compile.classpath" srcdir="${src.dir}"
destdir="${classes.dir}" debug="true" debuglevel="lines,source"
encoding="UTF-8" source="1.5" target="1.5" />
+ <javac classpathref="compile.classpath" srcdir="${src.dir}"
destdir="${classes.dir}" debug="true" debuglevel="lines,source"
encoding="UTF-8" source="1.6" target="1.6">
+ <compilerarg value="-Xmaxwarns" />
+ <compilerarg value="${gate.compile.maxwarnings}" />
+ <compilerarg value="-Xlint:all" />
+ </javac>
</target>
<target name="resources" depends="prepare">
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs