From fa145ada2ec773b0f025ca126529b35ba6546ede Mon Sep 17 00:00:00 2001 From: joergviola Date: Wed, 28 Apr 2010 21:07:32 +0000 Subject: [PATCH] ant update ant4eclipse https://sourceforge.net/tracker/?func=detail&aid=2700937&group_id=176962&atid=879334 --- tools/.classpath | 10 +- tools/META-INF/MANIFEST.MF | 197 +++- tools/build.properties | 16 +- tools/build.xml | 129 ++- .../lib/ant4eclipse/macros/a4e-jdt-macros.xml | 195 ++++ .../lib/ant4eclipse/macros/a4e-pde-macros.xml | 852 ++++++++++++++++++ .../macros/a4e-platform-macros.xml | 29 + 7 files changed, 1384 insertions(+), 44 deletions(-) create mode 100644 tools/lib/ant4eclipse/macros/a4e-jdt-macros.xml create mode 100644 tools/lib/ant4eclipse/macros/a4e-pde-macros.xml create mode 100644 tools/lib/ant4eclipse/macros/a4e-platform-macros.xml diff --git a/tools/.classpath b/tools/.classpath index e69130761d..aa3824b517 100644 --- a/tools/.classpath +++ b/tools/.classpath @@ -1,6 +1,14 @@ + + + + + + + + @@ -11,8 +19,6 @@ - - diff --git a/tools/META-INF/MANIFEST.MF b/tools/META-INF/MANIFEST.MF index cb19c49b15..dfaca5b950 100644 --- a/tools/META-INF/MANIFEST.MF +++ b/tools/META-INF/MANIFEST.MF @@ -29,21 +29,15 @@ Bundle-ClassPath: tools.jar, lib/jfreechart-1.0.11.jar, lib/javaee.jar, lib/c3p0-0.9.1.2.jar, - lib/activemq-core-5.0.0.jar, lib/ant-commons-net.jar, lib/ant-contrib-1.0b1.jar, lib/ant-launcher.jar, - lib/ant.jar, lib/c3p0-oracle-thin-extras-0.9.1.2.jar, lib/cglib.jar, lib/commons-codec.jar, - lib/commons-collections-3.1.jar, lib/commons-logging.jar, - lib/commons-net-1.4.0.jar, lib/jgraph.jar, - lib/jpedal.jar, lib/jsp-api.jar, - lib/junit.jar, lib/logkit.jar, lib/looks-2.0.4.jar, lib/ocrs12.jar, @@ -52,9 +46,15 @@ Bundle-ClassPath: tools.jar, lib/wizard.jar, lib/xjavadoc-1.1.jar, lib/xml-apis.jar, + lib/xercesImpl.jar, + lib/junit.jar, + lib/commons-collections-3.1.jar, + lib/ant.jar, + lib/jpedal.jar, + lib/activemq-core-5.0.0.jar, + lib/commons-net-1.4.0.jar, lib/cron4j-2.2.1.jar, - lib/payflow.jar, - lib/xercesImpl.jar + lib/payflow.jar Export-Package: Lib, Lib.email, Lib.encodings, @@ -411,6 +411,7 @@ Export-Package: Lib, groovyjarjarasm.asm.signature, groovyjarjarasm.asm.tree;uses:="groovyjarjarasm.asm", groovyjarjarcommonscli, + it.sauronsoftware.cron4j, javatests, javax.activation, javax.annotation, @@ -512,6 +513,15 @@ Export-Package: Lib, javax.resource.spi.work;uses:="javax.resource,javax.transaction.xa", javax.script, javax.security.jacc;uses:="javax.servlet.http", + javax.servlet, + javax.servlet.http, + javax.servlet.jsp, + javax.servlet.jsp.el, + javax.servlet.jsp.jstl.core, + javax.servlet.jsp.jstl.fmt, + javax.servlet.jsp.jstl.sql, + javax.servlet.jsp.jstl.tlv, + javax.servlet.jsp.tagext, javax.transaction;uses:="javax.transaction.xa", javax.transaction.xa, javax.xml.bind; @@ -590,6 +600,12 @@ Export-Package: Lib, org.w3c.dom, javax.xml.ws, javax.xml.transform", + junit.awtui, + junit.extensions, + junit.framework, + junit.runner, + junit.swingui, + junit.textui, jxxload_help;uses:="org.python.core", net.miginfocom.layout, net.miginfocom.swing;uses:="net.miginfocom.layout", @@ -704,6 +720,104 @@ Export-Package: Lib, oracle.jdbc.driver, oracle.sql.converter", oracle.sql.converter;uses:="oracle.jdbc.internal,oracle.i18n.text,oracle.i18n.text.converter", + org.apache.activemq, + org.apache.activemq.advisory, + org.apache.activemq.blob, + org.apache.activemq.broker, + org.apache.activemq.broker.ft, + org.apache.activemq.broker.jmx, + org.apache.activemq.broker.region, + org.apache.activemq.broker.region.cursors, + org.apache.activemq.broker.region.group, + org.apache.activemq.broker.region.policy, + org.apache.activemq.broker.region.virtual, + org.apache.activemq.broker.util, + org.apache.activemq.broker.view, + org.apache.activemq.camel, + org.apache.activemq.camel.component, + org.apache.activemq.camel.converter, + org.apache.activemq.command, + org.apache.activemq.filter, + org.apache.activemq.jaas, + org.apache.activemq.jndi, + org.apache.activemq.kaha, + org.apache.activemq.kaha.impl, + org.apache.activemq.kaha.impl.async, + org.apache.activemq.kaha.impl.container, + org.apache.activemq.kaha.impl.data, + org.apache.activemq.kaha.impl.index, + org.apache.activemq.kaha.impl.index.hash, + org.apache.activemq.kaha.impl.index.tree, + org.apache.activemq.management, + org.apache.activemq.memory, + org.apache.activemq.memory.buffer, + org.apache.activemq.memory.list, + org.apache.activemq.network, + org.apache.activemq.network.jms, + org.apache.activemq.openwire, + org.apache.activemq.openwire.tool, + org.apache.activemq.openwire.v1, + org.apache.activemq.openwire.v2, + org.apache.activemq.openwire.v3, + org.apache.activemq.pool, + org.apache.activemq.proxy, + org.apache.activemq.security, + org.apache.activemq.selector, + org.apache.activemq.spring, + org.apache.activemq.state, + org.apache.activemq.store, + org.apache.activemq.store.amq, + org.apache.activemq.store.jdbc, + org.apache.activemq.store.jdbc.adapter, + org.apache.activemq.store.journal, + org.apache.activemq.store.kahadaptor, + org.apache.activemq.store.memory, + org.apache.activemq.thread, + org.apache.activemq.transaction, + org.apache.activemq.transport, + org.apache.activemq.transport.discovery, + org.apache.activemq.transport.discovery.multicast, + org.apache.activemq.transport.discovery.rendezvous, + org.apache.activemq.transport.discovery.simple, + org.apache.activemq.transport.failover, + org.apache.activemq.transport.fanout, + org.apache.activemq.transport.mock, + org.apache.activemq.transport.multicast, + org.apache.activemq.transport.nio, + org.apache.activemq.transport.peer, + org.apache.activemq.transport.reliable, + org.apache.activemq.transport.stomp, + org.apache.activemq.transport.tcp, + org.apache.activemq.transport.udp, + org.apache.activemq.transport.vm, + org.apache.activemq.usage, + org.apache.activemq.util, + org.apache.activemq.wireformat, + org.apache.activemq.xbean, + org.apache.commons.collections, + org.apache.commons.collections.bag, + org.apache.commons.collections.bidimap, + org.apache.commons.collections.buffer, + org.apache.commons.collections.collection, + org.apache.commons.collections.comparators, + org.apache.commons.collections.functors, + org.apache.commons.collections.iterators, + org.apache.commons.collections.keyvalue, + org.apache.commons.collections.list, + org.apache.commons.collections.map, + org.apache.commons.collections.set, + org.apache.commons.net, + org.apache.commons.net.bsd, + org.apache.commons.net.ftp, + org.apache.commons.net.ftp.parser, + org.apache.commons.net.io, + org.apache.commons.net.nntp, + org.apache.commons.net.ntp, + org.apache.commons.net.pop3, + org.apache.commons.net.smtp, + org.apache.commons.net.telnet, + org.apache.commons.net.tftp, + org.apache.commons.net.util, org.apache.ecs;uses:="org.apache.ecs.xhtml", org.apache.ecs.filter;uses:="org.apache.ecs", org.apache.ecs.storage, @@ -866,6 +980,31 @@ Export-Package: Lib, org.apache.taglibs.standard.tag.rt.xml;uses:="org.xml.sax,org.apache.taglibs.standard.tag.common.xml,javax.xml.transform", org.apache.taglibs.standard.tei;uses:="javax.servlet.jsp.tagext", org.apache.taglibs.standard.tlv;uses:="org.xml.sax,javax.servlet.jsp.tagext,org.xml.sax.helpers", + org.apache.tools.ant, + org.apache.tools.ant.filters, + org.apache.tools.ant.filters.util, + org.apache.tools.ant.helper, + org.apache.tools.ant.input, + org.apache.tools.ant.listener, + org.apache.tools.ant.loader, + org.apache.tools.ant.taskdefs, + org.apache.tools.ant.taskdefs.compilers, + org.apache.tools.ant.taskdefs.condition, + org.apache.tools.ant.taskdefs.cvslib, + org.apache.tools.ant.taskdefs.email, + org.apache.tools.ant.taskdefs.rmic, + org.apache.tools.ant.types, + org.apache.tools.ant.types.mappers, + org.apache.tools.ant.types.resolver, + org.apache.tools.ant.types.selectors, + org.apache.tools.ant.types.selectors.modifiedselector, + org.apache.tools.ant.util, + org.apache.tools.ant.util.facade, + org.apache.tools.ant.util.regexp, + org.apache.tools.bzip2, + org.apache.tools.mail, + org.apache.tools.tar, + org.apache.tools.zip, org.apache.wml, org.apache.wml.dom, org.apache.xerces.dom, @@ -1405,6 +1544,45 @@ Export-Package: Lib, org.jfree.ui.action;uses:="javax.swing", org.jfree.ui.tabbedui;uses:="javax.swing", org.jfree.util;uses:="org.jfree.base.config,org.jfree.ui,javax.swing", + org.jpedal, + org.jpedal.color, + org.jpedal.examples, + org.jpedal.examples.acroform, + org.jpedal.examples.contentextractor, + org.jpedal.examples.handlers, + org.jpedal.examples.images, + org.jpedal.examples.jpaneldemo, + org.jpedal.examples.printing, + org.jpedal.examples.simpleviewer, + org.jpedal.examples.simpleviewer.gui, + org.jpedal.examples.simpleviewer.gui.generic, + org.jpedal.examples.simpleviewer.gui.popups, + org.jpedal.examples.simpleviewer.gui.swing, + org.jpedal.examples.simpleviewer.paper, + org.jpedal.examples.simpleviewer.utils, + org.jpedal.examples.text, + org.jpedal.examples.text.extractheadlines, + org.jpedal.exception, + org.jpedal.external, + org.jpedal.fonts, + org.jpedal.fonts.glyph, + org.jpedal.fonts.tt, + org.jpedal.function, + org.jpedal.grouping, + org.jpedal.gui, + org.jpedal.images, + org.jpedal.io, + org.jpedal.objects, + org.jpedal.objects.acroforms, + org.jpedal.objects.acroforms.listeners, + org.jpedal.objects.outlines, + org.jpedal.objects.structuredtext, + org.jpedal.parser, + org.jpedal.render, + org.jpedal.storypad, + org.jpedal.sun, + org.jpedal.utils, + org.jpedal.utils.repositories, org.postgresql;uses:="org.postgresql.largeobject,org.postgresql.fastpath,org.postgresql.copy", org.postgresql.copy;uses:="org.postgresql.core,org.postgresql", org.postgresql.core;uses:="org.postgresql.jdbc2,org.postgresql.copy,org.postgresql", @@ -1471,4 +1649,5 @@ Export-Package: Lib, org.apache.tools.ant.types, org.python.core, jline", - org.w3c.dom.html + org.w3c.dom.html, + paypal.payflow diff --git a/tools/build.properties b/tools/build.properties index 96b9a4dc42..7606177720 100644 --- a/tools/build.properties +++ b/tools/build.properties @@ -24,23 +24,17 @@ bin.includes = META-INF/,\ lib/jfreechart-1.0.11.jar,\ lib/javaee.jar,\ tools.jar,\ - lib/activemq-core-5.0.0.jar,\ lib/ant-commons-net.jar,\ lib/ant-contrib-1.0b1.jar,\ lib/ant-launcher.jar,\ - lib/ant.jar,\ lib/c3p0-0.9.1.2.jar,\ lib/c3p0-oracle-thin-extras-0.9.1.2.jar,\ lib/cglib.jar,\ lib/commons-codec.jar,\ - lib/commons-collections-3.1.jar,\ lib/commons-logging.jar,\ - lib/commons-net-1.4.0.jar,\ lib/copyLibraries.bat,\ lib/jgraph.jar,\ - lib/jpedal.jar,\ lib/jsp-api.jar,\ - lib/junit.jar,\ lib/logkit.jar,\ lib/looks-2.0.4.jar,\ lib/ocrs12.jar,\ @@ -49,6 +43,12 @@ bin.includes = META-INF/,\ lib/wizard.jar,\ lib/xjavadoc-1.1.jar,\ lib/xml-apis.jar,\ + lib/xercesImpl.jar,\ + lib/junit.jar,\ + lib/commons-collections-3.1.jar,\ + lib/ant.jar,\ + lib/jpedal.jar,\ + lib/activemq-core-5.0.0.jar,\ + lib/commons-net-1.4.0.jar,\ lib/cron4j-2.2.1.jar,\ - lib/payflow.jar,\ - lib/xercesImpl.jar + lib/payflow.jar diff --git a/tools/build.xml b/tools/build.xml index eb199dbab4..f4a641f0c3 100644 --- a/tools/build.xml +++ b/tools/build.xml @@ -21,6 +21,9 @@ + + + @@ -67,7 +70,7 @@ - + @@ -229,6 +232,12 @@ + + + + + + @@ -257,7 +266,7 @@ - + @@ -309,6 +318,10 @@ + + + + @@ -341,36 +354,42 @@ - - - - + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + @@ -417,7 +436,7 @@ - + @@ -466,6 +485,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/lib/ant4eclipse/macros/a4e-jdt-macros.xml b/tools/lib/ant4eclipse/macros/a4e-jdt-macros.xml new file mode 100644 index 0000000000..cf2fc68462 --- /dev/null +++ b/tools/lib/ant4eclipse/macros/a4e-jdt-macros.xml @@ -0,0 +1,195 @@ + + + + + + + + + + + + + eclipse.preferences.version=1${line.separator} + org.eclipse.jdt.core.compiler.codegen.targetPlatform=@{targetlevel}${line.separator} + org.eclipse.jdt.core.compiler.compliance=@{targetlevel}${line.separator} + org.eclipse.jdt.core.compiler.source=@{sourcelevel}${line.separator} + + + + + + + + + + + + + + + + + + + + + + + + + + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * * Building project @{projectName} + * * * in workspace @{workspaceDirectory} + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + + + + + + + + + + + + + + + + + + + + + + + + + * Cleaning output directory '${buildJdtProject.output.directory}' + + + + + + + + + + + Compiling jdt project '${buildJdtProject.project.name}' + - source directories -> ${buildJdtProject.source.directories} + - output directories -> ${buildJdtProject.default.output.directory} + - bootclasspath -> ${buildJdtProject.boot.classpath} + - classpath -> ${buildJdtProject.classpath.absolute.compiletime} + + + + + + + + + + + + + + + + + + + + + + + + + + + + Copying resources from directory '${buildJdtProject.source.directory}' to '${buildJdtProject.output.directory}' + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tools/lib/ant4eclipse/macros/a4e-pde-macros.xml b/tools/lib/ant4eclipse/macros/a4e-pde-macros.xml new file mode 100644 index 0000000000..eaf6abdce2 --- /dev/null +++ b/tools/lib/ant4eclipse/macros/a4e-pde-macros.xml @@ -0,0 +1,852 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Compiling pde project '${buildPlugin.project.name}' + + + + + + + + + + + + + + + + + + + + + + + + + + Copying resources from directory '${buildPlugin.source.directory}' to '${buildPlugin.output.directory}' + + + + + + + + + + + + + + + + + + Packing library '${buildPlugin.library.name}' + + + + + + + + + Copying resources from directory '${executePluginLibrary.output.directory}' to '@{destination}/${a4e.temp.directory}/${buildPlugin.library.name}' + + + + + + + Copying resources from directory '${executePluginLibrary.source.directory}' to '@{destination}/${a4e.temp.directory}/${buildPlugin.library.name}' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Packing library '.' + + + + + + + + + Copying resources from directory '${executePluginLibrary.output.directory}' to '${buildPlugin.project.directory}/${a4e.self.directory}' + + + + + + + Copying resources from directory '${executePluginLibrary.source.directory}' to '${buildPlugin.project.directory}/${a4e.self.directory}' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Scrubbing directory '@{dir}' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Building product ${executeProduct.product.name} version ${executeProduct.product.version} + + + + + + + + + Scrubbing directory '@{destination}' + + + + + + + + + + + + + + + + -> Building included feature '${executeProduct.feature.id}' - '${executeProduct.feature.version}' + + + + + + + + + + + -> Building included plugin '${executeProduct.plugin.id}' from project: ${executeProduct.plugin.projectName} + + + + + + + + + + + Copying bundle '${executeProduct.plugin.file} (${executeProduct.plugin.id})' + + + + + + + + + + + + version=1.0.0 + name=${executeProduct.product.name} + id=${executeProduct.product.id} + + + + + + + + + + + + -vmargs + + + @{vmarg} + + + + + + + + + + + + + + + + + + + # Product Runtime Configuration File + eclipse.application=${executeProduct.product.applicationid} + osgi.bundles.defaultStartLevel=4 + eclipse.product=${executeProduct.product.id} + osgi.splashPath=platform:/base/plugins/org.eclipse.platform + osgi.bundles=org.eclipse.core.runtime@start,org.eclipse.osgi@start,org.eclipse.equinox.common@2:start,org.eclipse.update.configurator@3:start + + + + + + + + + + + + + + + + + + + + + + + Building product ${executeProduct.product.name} successfully build. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Building feature '${executeFeature.feature.id}_${executeFeature.feature.version}' + - feature.isSource: '${executeFeature.feature.isSource}' + + + + + Scrubbing directory '@{destination}' + + + + + + + -> Building included feature '${executeFeature.feature.id}' + + + + + + + Building plug-in project '${executeFeature.plugin.filename} (${executeFeature.plugin.id}_${executeFeature.plugin.resolvedversion})' + + + + + + Copying bundle '${executeFeature.plugin.file} (${executeFeature.plugin.id}_${executeFeature.plugin.resolvedversion})' + + + + + + + + + Building feature project '${executeFeature.feature.file.name} (${executeFeature.feature.id}_${executeFeature.feature.resolved.version})' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Copying feature '${executeFeature.feature.file} (${executeFeature.feature.id}_${executeFeature.feature.resolved.version})' + + + + + + + + + Feature '${executeFeature.feature.id}_${executeFeature.feature.version}' successfully built. + + + + + + + + \ No newline at end of file diff --git a/tools/lib/ant4eclipse/macros/a4e-platform-macros.xml b/tools/lib/ant4eclipse/macros/a4e-platform-macros.xml new file mode 100644 index 0000000000..d661ac214e --- /dev/null +++ b/tools/lib/ant4eclipse/macros/a4e-platform-macros.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file