Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcbrealey2005-02-03 22:39:46 +0000
committercbrealey2005-02-03 22:39:46 +0000
commitbffbec262a70e777812c777c54bfde343fbbceb7 (patch)
treea31d36cf0ee9570255a6df194727c502f5d31ce2 /bundles
parent8444994cbf1a7f2a31bc1bbee854a30a391dc3d5 (diff)
downloadwebtools.webservices-bffbec262a70e777812c777c54bfde343fbbceb7.tar.gz
webtools.webservices-bffbec262a70e777812c777c54bfde343fbbceb7.tar.xz
webtools.webservices-bffbec262a70e777812c777c54bfde343fbbceb7.zip
[84393] Require ANT scripts to copy auxiliary jars into plugins
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.wst.wsdl/.classpath4
-rw-r--r--bundles/org.eclipse.wst.wsdl/build.properties4
-rw-r--r--bundles/org.eclipse.wst.wsdl/grabjars.xml33
-rw-r--r--bundles/org.eclipse.wst.wsdl/lib/.cvsignore1
-rw-r--r--bundles/org.eclipse.wst.wsdl/plugin.xml4
5 files changed, 40 insertions, 6 deletions
diff --git a/bundles/org.eclipse.wst.wsdl/.classpath b/bundles/org.eclipse.wst.wsdl/.classpath
index 0b0ccd91f..ddcd03670 100644
--- a/bundles/org.eclipse.wst.wsdl/.classpath
+++ b/bundles/org.eclipse.wst.wsdl/.classpath
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src/"/>
- <classpathentry exported="true" kind="lib" path="jars/qname.jar"/>
- <classpathentry exported="true" kind="lib" path="jars/wsdl4j.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/qname.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/wsdl4j.jar"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
diff --git a/bundles/org.eclipse.wst.wsdl/build.properties b/bundles/org.eclipse.wst.wsdl/build.properties
index b732ed989..5bc58da49 100644
--- a/bundles/org.eclipse.wst.wsdl/build.properties
+++ b/bundles/org.eclipse.wst.wsdl/build.properties
@@ -9,14 +9,14 @@
# IBM Corporation - initial API and implementation
###############################################################################
bin.includes = wsdl.jar,\
- jars/,\
+ lib/,\
plugin.properties,\
plugin.xml,\
xsd/
jars.compile.order = wsdl.jar
source.wsdl.jar = src/
output.wsdl.jar = bin/
-src.includes = jars/,\
+src.includes = lib/,\
plugin.properties,\
plugin.xml,\
src/,\
diff --git a/bundles/org.eclipse.wst.wsdl/grabjars.xml b/bundles/org.eclipse.wst.wsdl/grabjars.xml
new file mode 100644
index 000000000..ec2df912d
--- /dev/null
+++ b/bundles/org.eclipse.wst.wsdl/grabjars.xml
@@ -0,0 +1,33 @@
+<project default="copyJars" basedir=".">
+
+ <property name="pluginName" value="org.eclipse.wst.wsdl"/>
+
+ <target name="copyJars" if="downloadPath">
+ <antcall target="copyJars2"/>
+ </target>
+
+ <target name="copyJars2" if="pluginsPath">
+ <antcall target="copyJars3"/>
+ </target>
+
+ <target name="copyJars3" if="pluginName">
+ <copy todir="${pluginsPath}/${pluginName}/lib" overwrite="true">
+ <fileset dir="${downloadPath}/${pluginName}">
+ <filename name="*.jar"/>
+ </fileset>
+ </copy>
+ </target>
+
+ <target name="cleanupJars" if="pluginsPath">
+ <antcall target="cleanupJars2"/>
+ </target>
+
+ <target name="cleanupJars2" if="pluginName">
+ <delete>
+ <fileset dir="${pluginsPath}/${pluginName}/lib">
+ <filename name="*.jar"/>
+ </fileset>
+ </delete>
+ </target>
+
+</project>
diff --git a/bundles/org.eclipse.wst.wsdl/lib/.cvsignore b/bundles/org.eclipse.wst.wsdl/lib/.cvsignore
new file mode 100644
index 000000000..d392f0e82
--- /dev/null
+++ b/bundles/org.eclipse.wst.wsdl/lib/.cvsignore
@@ -0,0 +1 @@
+*.jar
diff --git a/bundles/org.eclipse.wst.wsdl/plugin.xml b/bundles/org.eclipse.wst.wsdl/plugin.xml
index 7dabdeb6a..5c0c39a9a 100644
--- a/bundles/org.eclipse.wst.wsdl/plugin.xml
+++ b/bundles/org.eclipse.wst.wsdl/plugin.xml
@@ -11,10 +11,10 @@
<library name="wsdl.jar">
<export name="*"/>
</library>
- <library name="jars/qname.jar">
+ <library name="lib/qname.jar">
<export name="*"/>
</library>
- <library name="jars/wsdl4j.jar">
+ <library name="lib/wsdl4j.jar">
<export name="*"/>
</library>
</runtime>

Back to the top