summaryrefslogtreecommitdiffstats
path: root/client-compiler
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-09-05 10:29:34 +0300
committerArtur Signell <artur@vaadin.com>2012-09-09 11:23:24 +0300
commit6da3cd640d404965405d24dd515db90e57c8ad76 (patch)
tree5d17f3bb54bcf21e39200f589f60458f54d6d049 /client-compiler
parent93ed08119c3fb45a750998f05ba4f67643787295 (diff)
downloadvaadin-framework-6da3cd640d404965405d24dd515db90e57c8ad76.tar.gz
vaadin-framework-6da3cd640d404965405d24dd515db90e57c8ad76.zip
Build javadoc and sources jars (#9299)
Diffstat (limited to 'client-compiler')
-rw-r--r--client-compiler/build.xml15
-rw-r--r--client-compiler/ivy.xml13
2 files changed, 17 insertions, 11 deletions
diff --git a/client-compiler/build.xml b/client-compiler/build.xml
index fd29e8ed02..97645ea51c 100644
--- a/client-compiler/build.xml
+++ b/client-compiler/build.xml
@@ -25,12 +25,12 @@
<target name="jar">
<!-- Get Git revision -->
<exec executable="git" outputproperty="git.revision" failifexecutionfails="false" errorproperty="">
- <arg value="describe"/>
- <arg value="--tags"/>
- <arg value="--always"/>
- <arg value="HEAD"/>
- </exec>
-
+ <arg value="describe"/>
+ <arg value="--tags"/>
+ <arg value="--always"/>
+ <arg value="HEAD"/>
+ </exec>
+
<echo file="${result.dir}/com/google/gwt/dev/About.properties">gwt.version=${vaadin.version}
gwt.svnrev=${git.revision}</echo>
@@ -40,6 +40,9 @@ gwt.svnrev=${git.revision}</echo>
</target>
<target name="publish-local" depends="jar">
+ <antcall target="common.sources.jar" />
+ <antcall target="common.javadoc.jar" />
+
<antcall target="common.publish-local" />
</target>
diff --git a/client-compiler/ivy.xml b/client-compiler/ivy.xml
index 8c991b2223..d824f503b2 100644
--- a/client-compiler/ivy.xml
+++ b/client-compiler/ivy.xml
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<ivy-module version="2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd">
+ xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd"
+ xmlns:m="http://ant.apache.org/ivy/maven">
<info organisation="com.vaadin" module="vaadin-client-compiler"
revision="${vaadin.version}" />
@@ -9,12 +10,14 @@
<configurations>
<conf name="build" />
<conf name="build-provided" />
- <conf name="ide" visibility="private"/>
+ <conf name="ide" visibility="private" />
</configurations>
<publications>
- <artifact type="jar" ext="jar"/>
- <artifact type="pom" ext="pom"/>
- </publications>
+ <artifact type="jar" ext="jar" />
+ <artifact type="source" ext="jar" m:classifier="sources" />
+ <artifact type="javadoc" ext="jar" m:classifier="javadoc" />
+ <artifact type="pom" ext="pom" />
+ </publications>
<dependencies>
<dependency org="com.vaadin" name="vaadin-shared"
rev="${vaadin.version}"></dependency>