From 0646e28b82bedb6e2439477fd4e5739aecbbadce Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Fri, 21 Dec 2012 10:05:17 -0500 Subject: [PATCH] IDEMPIERE-455 Discover and fix FindBugs problems / Eclipse warning -> build --- event.test/build.properties | 3 ++- org.adempiere.eclipse.equinox.http.servlet/build.properties | 2 ++ .../build.properties | 2 ++ .../build.properties | 2 ++ org.adempiere.ui.zk.example/build.properties | 3 ++- org.compiere.db.oracle.provider/build.properties | 3 ++- org.compiere.db.postgresql.provider/build.properties | 3 ++- org.idempiere.fitnesse.fixture/build.properties | 3 ++- org.idempiere.hazelcast.service/META-INF/MANIFEST.MF | 1 + org.idempiere.hazelcast.service/build.properties | 3 ++- org.idempiere.webservices/build.properties | 6 +++--- org.zkoss.zk.library/META-INF/MANIFEST.MF | 2 -- org.zkoss.zk.library/build.properties | 3 +-- 13 files changed, 23 insertions(+), 13 deletions(-) diff --git a/event.test/build.properties b/event.test/build.properties index 9ea938077d..a5c5e6639b 100644 --- a/event.test/build.properties +++ b/event.test/build.properties @@ -1,5 +1,6 @@ output.. = bin/ bin.includes = META-INF/,\ .,\ - OSGI-INF/event.xml + OSGI-INF/event.xml,\ + OSGI-INF/ source.. = src/ diff --git a/org.adempiere.eclipse.equinox.http.servlet/build.properties b/org.adempiere.eclipse.equinox.http.servlet/build.properties index aa1a008269..5551aecc3d 100644 --- a/org.adempiere.eclipse.equinox.http.servlet/build.properties +++ b/org.adempiere.eclipse.equinox.http.servlet/build.properties @@ -3,3 +3,5 @@ output.. = bin/ bin.includes = META-INF/,\ .,\ plugin.properties +jre.compilation.profile = J2SE-1.3 +javacErrors.. = -assertIdentifier,-enumIdentifier diff --git a/org.adempiere.eclipse.equinox.http.servletbridge/build.properties b/org.adempiere.eclipse.equinox.http.servletbridge/build.properties index aa1a008269..5551aecc3d 100644 --- a/org.adempiere.eclipse.equinox.http.servletbridge/build.properties +++ b/org.adempiere.eclipse.equinox.http.servletbridge/build.properties @@ -3,3 +3,5 @@ output.. = bin/ bin.includes = META-INF/,\ .,\ plugin.properties +jre.compilation.profile = J2SE-1.3 +javacErrors.. = -assertIdentifier,-enumIdentifier diff --git a/org.adempiere.eclipse.equinox.servletbridge/build.properties b/org.adempiere.eclipse.equinox.servletbridge/build.properties index aa1a008269..5551aecc3d 100644 --- a/org.adempiere.eclipse.equinox.servletbridge/build.properties +++ b/org.adempiere.eclipse.equinox.servletbridge/build.properties @@ -3,3 +3,5 @@ output.. = bin/ bin.includes = META-INF/,\ .,\ plugin.properties +jre.compilation.profile = J2SE-1.3 +javacErrors.. = -assertIdentifier,-enumIdentifier diff --git a/org.adempiere.ui.zk.example/build.properties b/org.adempiere.ui.zk.example/build.properties index b6088d24a2..9bc7499535 100644 --- a/org.adempiere.ui.zk.example/build.properties +++ b/org.adempiere.ui.zk.example/build.properties @@ -1,5 +1,6 @@ output.. = bin/ bin.includes = META-INF/,\ .,\ - OSGI-INF/export.xml + OSGI-INF/export.xml,\ + OSGI-INF/ source.. = src/ diff --git a/org.compiere.db.oracle.provider/build.properties b/org.compiere.db.oracle.provider/build.properties index 23c5fd06c7..e60cf008a0 100644 --- a/org.compiere.db.oracle.provider/build.properties +++ b/org.compiere.db.oracle.provider/build.properties @@ -5,5 +5,6 @@ bin.includes = META-INF/,\ ojdbc6.jar,\ c3p0-0.9.1.2.jar,\ c3p0-oracle-thin-extras-0.9.1.2.jar,\ - OSGI-INF/oracleprovider.xml + OSGI-INF/oracleprovider.xml,\ + OSGI-INF/ source.. = src/ diff --git a/org.compiere.db.postgresql.provider/build.properties b/org.compiere.db.postgresql.provider/build.properties index d295ed7d48..d6c1b01288 100644 --- a/org.compiere.db.postgresql.provider/build.properties +++ b/org.compiere.db.postgresql.provider/build.properties @@ -4,5 +4,6 @@ bin.includes = META-INF/,\ postgresql.jar,\ plugin.xml,\ c3p0-0.9.1.2.jar,\ - OSGI-INF/pgprovider.xml + OSGI-INF/pgprovider.xml,\ + OSGI-INF/ source.. = src/ diff --git a/org.idempiere.fitnesse.fixture/build.properties b/org.idempiere.fitnesse.fixture/build.properties index 6c4d05a4c0..a49b5b7a8e 100644 --- a/org.idempiere.fitnesse.fixture/build.properties +++ b/org.idempiere.fitnesse.fixture/build.properties @@ -2,5 +2,6 @@ output.. = bin/ bin.includes = META-INF/,\ .,\ OSGI-INF/fitfixturefactory.xml,\ - OSGI-INF/slimfixturefactory.xml + OSGI-INF/slimfixturefactory.xml,\ + OSGI-INF/ source.. = src/ diff --git a/org.idempiere.hazelcast.service/META-INF/MANIFEST.MF b/org.idempiere.hazelcast.service/META-INF/MANIFEST.MF index e22ebaf44c..9854dbee51 100644 --- a/org.idempiere.hazelcast.service/META-INF/MANIFEST.MF +++ b/org.idempiere.hazelcast.service/META-INF/MANIFEST.MF @@ -29,3 +29,4 @@ Bundle-ClassPath: ., hazelcast-2.4.jar, hazelcast-cloud-2.4.jar Service-Component: OSGI-INF/clusterservice.xml, OSGI-INF/cacheservice.xml, OSGI-INF/messageservice.xml +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 diff --git a/org.idempiere.hazelcast.service/build.properties b/org.idempiere.hazelcast.service/build.properties index 936c70cd91..8a0e604b69 100644 --- a/org.idempiere.hazelcast.service/build.properties +++ b/org.idempiere.hazelcast.service/build.properties @@ -5,5 +5,6 @@ bin.includes = META-INF/,\ hazelcast-cloud-2.4.jar,\ OSGI-INF/clusterservice.xml,\ OSGI-INF/cacheservice.xml,\ - OSGI-INF/messageservice.xml + OSGI-INF/messageservice.xml,\ + OSGI-INF/ source.. = src/ diff --git a/org.idempiere.webservices/build.properties b/org.idempiere.webservices/build.properties index 5ff3a31763..bbba7c0c61 100644 --- a/org.idempiere.webservices/build.properties +++ b/org.idempiere.webservices/build.properties @@ -1,5 +1,4 @@ -source.. = src/,\ - WEB-INF/src/ +source.. = WEB-INF/src/ output.. = WEB-INF/classes/ bin.includes = META-INF/,\ .,\ @@ -23,7 +22,8 @@ bin.includes = META-INF/,\ WEB-INF/lib/commons-logging-1.1.1.jar,\ WEB-INF/lib/spring-aop-3.0.7.RELEASE.jar,\ WEB-INF/lib/spring-osgi-extender-1.2.1.jar,\ - WEB-INF/lib/idempiere-xmlbeans-1.0.jar + WEB-INF/lib/idempiere-xmlbeans-1.0.jar,\ + plugin.xml src.includes = WEB-INF/classes/,\ WEB-INF/lib/,\ WEB-INF/web.xml,\ diff --git a/org.zkoss.zk.library/META-INF/MANIFEST.MF b/org.zkoss.zk.library/META-INF/MANIFEST.MF index b7b22bf0c4..490c9b534f 100644 --- a/org.zkoss.zk.library/META-INF/MANIFEST.MF +++ b/org.zkoss.zk.library/META-INF/MANIFEST.MF @@ -114,7 +114,6 @@ Bundle-ClassPath: ., lib/junit.jar, lib/jxl.jar, lib/jython.jar, - lib/keylistener.jar, lib/mvel.jar, lib/ognl.jar, lib/timelinez.jar, @@ -124,7 +123,6 @@ Bundle-ClassPath: ., lib/zhtml.jar, lib/zk.jar, lib/zkplus.jar, - lib/zml.jar, lib/zul.jar, lib/zweb.jar, lib/ckez.jar, diff --git a/org.zkoss.zk.library/build.properties b/org.zkoss.zk.library/build.properties index ea8d7ebd2a..9e95db2615 100644 --- a/org.zkoss.zk.library/build.properties +++ b/org.zkoss.zk.library/build.properties @@ -27,6 +27,5 @@ bin.includes = META-INF/,\ lib/zweb.jar,\ lib/ckez.jar,\ lib/zel.jar,\ - lib/zkbind.jar,\ - OSGI-INF/ + lib/zkbind.jar source.. = src/