summaryrefslogtreecommitdiffstats
path: root/push
diff options
context:
space:
mode:
Diffstat (limited to 'push')
-rw-r--r--push/build.xml11
-rw-r--r--push/ivy.xml3
2 files changed, 8 insertions, 6 deletions
diff --git a/push/build.xml b/push/build.xml
index 95284e6e37..d06b946dd1 100644
--- a/push/build.xml
+++ b/push/build.xml
@@ -11,6 +11,11 @@
<property name="module.symbolic" value="com.vaadin.push" />
<property name="result.dir" location="result" />
<property name="vaadinPush.js" location="${result.dir}/js/VAADIN/vaadinPush.js" />
+
+ <!-- Keep the version number in sync with ivy.xml -->
+ <property name="atmosphere.version" value="1.0.12" />
+ <property name="jquery.version" value="1.7.2" />
+
<path id="classpath.compile.custom" />
<union id="jar.includes">
@@ -24,7 +29,7 @@
<property name="vaadinPush.js.output" location="${result.dir}/js/VAADIN/vaadinPush.js" />
<property name="vaadinPush.js.combined.output" location="${result.dir}/js/VAADIN/push.combined.js" />
- <loadfile srcfile="${vaadin.basedir}/WebContent/VAADIN/jquery-1.7.2.js" property="jquery.js.contents" />
+ <loadfile srcfile="${vaadin.basedir}/WebContent/VAADIN/jquery-${jquery.version}.js" property="jquery.js.contents" />
<loadfile srcfile="${vaadin.basedir}/WebContent/VAADIN/jquery.atmosphere.js" property="jquery.atmosphere.js.contents" />
<loadfile srcfile="${vaadin.basedir}/WebContent/VAADIN/vaadinPush.js.tpl" property="vaadinPush.js.contents">
<filterchain>
@@ -47,10 +52,8 @@
</target>
<target name="jar" depends="vaadinPush.js">
- <property name="server.osgi.import" value="" />
<antcall target="common.jar">
- <param name="require-bundle" value="" />
- <param name="import-package" value="${server.osgi.import}" />
+ <param name="require-bundle" value="org.atmosphere.atmosphere-runtime;bundle-version=&quot;${atmosphere.version}&quot;;visibility:=reexport" />
<reference torefid="extra.jar.includes" refid="jar.includes" />
</antcall>
</target>
diff --git a/push/ivy.xml b/push/ivy.xml
index 153c02e256..a5ca79d4a3 100644
--- a/push/ivy.xml
+++ b/push/ivy.xml
@@ -20,8 +20,6 @@
<artifact type="pom" ext="pom" />
</publications>
<dependencies>
-
-
<!-- API DEPENDENCIES -->
<!--Servlet API version 2.4 -->
@@ -29,6 +27,7 @@
rev="2.4" conf="build-provided,ide,test -> default" />
<!-- Atmosphere -->
+ <!-- Keep the version number in sync with build.xml -->
<dependency org="org.atmosphere" name="atmosphere-runtime" rev="1.0.12"
conf="build,ide,test -> default">
</dependency>