From f70d20af3544cdd61a1205a4949d2584da985f58 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Tue, 13 Jul 2010 16:12:33 +0800 Subject: [PATCH] Fixed classpath to depends only on plugin dependency. Modify build file for osgi deployment --- tools/.classpath | 3 +- tools/META-INF/MANIFEST.MF | 17 +- tools/build.properties | 3 +- tools/build.xml | 553 +----------------- .../lib/ant4eclipse/macros/a4e-pde-macros.xml | 2 +- 5 files changed, 34 insertions(+), 544 deletions(-) diff --git a/tools/.classpath b/tools/.classpath index d157e82079..e776df2596 100644 --- a/tools/.classpath +++ b/tools/.classpath @@ -117,7 +117,6 @@ - @@ -131,7 +130,7 @@ - + diff --git a/tools/META-INF/MANIFEST.MF b/tools/META-INF/MANIFEST.MF index 47cc988140..2e4b3829b5 100644 --- a/tools/META-INF/MANIFEST.MF +++ b/tools/META-INF/MANIFEST.MF @@ -12,7 +12,6 @@ Bundle-ClassPath: tools.jar, lib/poi-3.0.1-FINAL-20070705.jar, lib/jnlp.jar, lib/iText-2.1.7.jar, - lib/swingx-0.9.0.jar, lib/miglayout-3.7.1-swing.jar, lib/log4j.jar, lib/mail.jar, @@ -23,7 +22,6 @@ Bundle-ClassPath: tools.jar, lib/groovy-engine.jar, lib/jython.jar, lib/jython-engine.jar, - lib/javaee.jar, lib/c3p0-0.9.1.2.jar, lib/ant-commons-net.jar, lib/ant-contrib-1.0b1.jar, @@ -32,7 +30,6 @@ Bundle-ClassPath: tools.jar, lib/commons-codec.jar, lib/commons-logging.jar, lib/jgraph.jar, - lib/jsp-api.jar, lib/logkit.jar, lib/postgresql.jar, lib/wizard.jar, @@ -430,6 +427,16 @@ Export-Package: Lib, javax.servlet.jsp.jstl.fmt, javax.servlet.jsp.jstl.sql, javax.servlet.jsp.jstl.tlv, + javax.xml, + javax.xml.datatype, + javax.xml.namespace, + javax.xml.parsers, + javax.xml.transform, + javax.xml.transform.dom, + javax.xml.transform.sax, + javax.xml.transform.stream, + javax.xml.validation, + javax.xml.xpath, junit.awtui, junit.extensions, junit.framework, @@ -437,7 +444,6 @@ Export-Package: Lib, junit.swingui, junit.swingui.icons, junit.textui, - jxxload_help;uses:="org.python.core", net.miginfocom.layout, net.miginfocom.swing;uses:="net.miginfocom.layout", net.sf.antcontrib, @@ -1443,6 +1449,7 @@ Export-Package: Lib, org.apache.tools.ant.types, org.python.core, jline", + org.w3c.dom, org.w3c.dom.bootstrap, org.w3c.dom.css, org.w3c.dom.events, @@ -1453,6 +1460,8 @@ Export-Package: Lib, org.w3c.dom.traversal, org.w3c.dom.views, org.w3c.dom.xpath, + org.xml.sax, org.xml.sax.ext, + org.xml.sax.helpers, paypal.payflow Bundle-RequiredExecutionEnvironment: JavaSE-1.6 diff --git a/tools/build.properties b/tools/build.properties index 88e51788e4..df43dbb2f7 100644 --- a/tools/build.properties +++ b/tools/build.properties @@ -1,4 +1,5 @@ source.tools.jar = src/ +output.tools.jar = build bin.includes = META-INF/,\ lib/jstl.jar,\ lib/Verisign.jar,\ @@ -17,7 +18,6 @@ bin.includes = META-INF/,\ lib/groovy-engine.jar,\ lib/jython.jar,\ lib/jython-engine.jar,\ - lib/javaee.jar,\ tools.jar,\ lib/ant-commons-net.jar,\ lib/ant-contrib-1.0b1.jar,\ @@ -28,7 +28,6 @@ bin.includes = META-INF/,\ lib/commons-logging.jar,\ lib/copyLibraries.bat,\ lib/jgraph.jar,\ - lib/jsp-api.jar,\ lib/logkit.jar,\ lib/postgresql.jar,\ lib/wizard.jar,\ diff --git a/tools/build.xml b/tools/build.xml index a4c310cf9f..a541ccf19b 100644 --- a/tools/build.xml +++ b/tools/build.xml @@ -3,555 +3,38 @@ - + - The resulting CCTools.jar and CSTools.jar - repackage all third party libraries - in a single jar for simplified start and version control. - The resuling Server CSTools.jar is added to EARs - + tools plugin + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + diff --git a/tools/lib/ant4eclipse/macros/a4e-pde-macros.xml b/tools/lib/ant4eclipse/macros/a4e-pde-macros.xml index eaf6abdce2..a2f14c839c 100644 --- a/tools/lib/ant4eclipse/macros/a4e-pde-macros.xml +++ b/tools/lib/ant4eclipse/macros/a4e-pde-macros.xml @@ -218,7 +218,7 @@ -