diff options
author | Artur Signell <artur@vaadin.com> | 2013-01-21 20:13:13 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2013-01-23 14:31:27 +0200 |
commit | 41511a8579813b434b36727717ad966da3ef44e2 (patch) | |
tree | bfb281036f794553d44d8364f0560dd09128e71d | |
parent | 10143f405a03d7835f5158e5ce82bfa55b5b3d0e (diff) | |
download | vaadin-framework-41511a8579813b434b36727717ad966da3ef44e2.tar.gz vaadin-framework-41511a8579813b434b36727717ad966da3ef44e2.zip |
Include GWT sources in sources jar (#9102)
Change-Id: I99928a614cf220b79f107e45eb02dc3de8333db1
-rw-r--r-- | buildhelpers/build.xml | 4 | ||||
-rw-r--r-- | client-compiler/build.xml | 4 | ||||
-rw-r--r-- | client/build.xml | 4 | ||||
-rw-r--r-- | common.xml | 4 | ||||
-rw-r--r-- | server/build.xml | 4 | ||||
-rw-r--r-- | shared/build.xml | 4 | ||||
-rw-r--r-- | theme-compiler/build.xml | 4 |
7 files changed, 22 insertions, 6 deletions
diff --git a/buildhelpers/build.xml b/buildhelpers/build.xml index e3e7b434d6..c7b9eba9d3 100644 --- a/buildhelpers/build.xml +++ b/buildhelpers/build.xml @@ -19,7 +19,9 @@ </target> <target name="publish-local" depends="jar"> - <antcall target="common.sources.jar" /> + <antcall target="common.sources.jar"> + <reference torefid="extra.jar.includes" refid="empty.reference" /> + </antcall> <antcall target="common.javadoc.jar" /> <antcall target="common.publish-local" /> </target> diff --git a/client-compiler/build.xml b/client-compiler/build.xml index 9d4e5c403c..64368b4957 100644 --- a/client-compiler/build.xml +++ b/client-compiler/build.xml @@ -42,7 +42,9 @@ gwt.svnrev=${git.revision}</echo> </target> <target name="publish-local" depends="jar"> - <antcall target="common.sources.jar" /> + <antcall target="common.sources.jar"> + <reference torefid="extra.jar.includes" refid="compiler.includes" /> + </antcall> <antcall target="common.javadoc.jar" /> <antcall target="common.publish-local" /> diff --git a/client/build.xml b/client/build.xml index d2946be6e0..d0dae91dfa 100644 --- a/client/build.xml +++ b/client/build.xml @@ -51,7 +51,9 @@ </target> <target name="publish-local" depends="jar"> - <antcall target="common.sources.jar" /> + <antcall target="common.sources.jar"> + <reference torefid="extra.jar.includes" refid="client.gwt.includes" /> + </antcall> <antcall target="common.javadoc.jar" /> <antcall target="common.publish-local" /> diff --git a/common.xml b/common.xml index 63886dc4b5..3de10979a2 100644 --- a/common.xml +++ b/common.xml @@ -122,6 +122,10 @@ </patternset> </fileset> <fileset refid="common.files.for.all.jars" /> + <restrict> + <union refid="extra.jar.includes" /> + <name name="*.java" /> + </restrict> </jar> </target> diff --git a/server/build.xml b/server/build.xml index 253d09a45b..91526dd1c5 100644 --- a/server/build.xml +++ b/server/build.xml @@ -33,7 +33,9 @@ </target> <target name="publish-local" depends="jar"> - <antcall target="common.sources.jar" /> + <antcall target="common.sources.jar"> + <reference torefid="extra.jar.includes" refid="server.gwt.includes" /> + </antcall> <antcall target="common.javadoc.jar" /> <antcall target="common.publish-local" /> diff --git a/shared/build.xml b/shared/build.xml index 06a27b0ef9..6ea753afa1 100644 --- a/shared/build.xml +++ b/shared/build.xml @@ -38,7 +38,9 @@ </target> <target name="publish-local" depends="jar"> - <antcall target="common.sources.jar" /> + <antcall target="common.sources.jar"> + <reference torefid="extra.jar.includes" refid="shared.gwt.includes" /> + </antcall> <antcall target="common.javadoc.jar" /> <antcall target="common.publish-local" /> diff --git a/theme-compiler/build.xml b/theme-compiler/build.xml index 885cb6e589..cd441dee70 100644 --- a/theme-compiler/build.xml +++ b/theme-compiler/build.xml @@ -33,7 +33,9 @@ </antcall> </target> <target name="publish-local" depends="jar"> - <antcall target="common.sources.jar" /> + <antcall target="common.sources.jar"> + <reference torefid="extra.jar.includes" refid="empty.reference" /> + </antcall> <antcall target="common.javadoc.jar" /> <antcall target="common.publish-local" /> |