Skip to content

Commit

Permalink
Updating of release script after manual update
Browse files Browse the repository at this point in the history
  • Loading branch information
vetss committed Jan 5, 2018
1 parent 112ec89 commit 5279a06
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 39 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<netty.version>3.9.0.Final</netty.version>
<joda-time.version>2.9.9</joda-time.version>

<ch.smpp.version>5.1.0-100</ch.smpp.version> <!-- 5.0.13 -->
<ch.smpp.version>5.1.0-113</ch.smpp.version> <!-- 5.0.13 -->
<ch-commons-util.version>7.0.6</ch-commons-util.version> <!-- 7.0.5 -->
<ch-commons-charset.version>7.0.6</ch-commons-charset.version> <!-- 3.0.2 -->
<jss7.restcomm.version>7.4.0-102</jss7.restcomm.version>
Expand Down
44 changes: 6 additions & 38 deletions release/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
</classpath>
</taskdef>

<target name="release" depends="clean,get-restcomm-jss7,extract-restcomm-jss7,build-smpp,copy-smpp,make-final-zip" />
<target name="release" depends="clean,get-restcomm-jss7,extract-restcomm-jss7,build-smpp,build-docs,copy-smpp,copy-documentation,make-final-zip" />

<target name="release-restcomm" depends="clean,get-restcomm-jss7,extract-restcomm-jss7,copy-smpp,make-final-zip" />
<target name="release-restcomm" depends="clean,get-restcomm-jss7,extract-restcomm-jss7,build-docs,copy-smpp,copy-documentation,make-final-zip" />


<available file="${restcomm-jss7.distro.zip.path}" property="got.restcomm-jss7" />
Expand Down Expand Up @@ -118,13 +118,11 @@
</exec>
</target>

<!--
<target name="build-docs">
<exec failonerror="true" executable="${mvn.executable}" dir="${base.dir}/../docs">
<arg line="clean install -Prestcomm -Pall" />
</exec>
</target>
-->


<target name="make-final-zip" depends="set-time-stamp">
Expand All @@ -141,67 +139,37 @@
</tstamp>
</target>

<!--
<target name="copy-documentation" >
<echo>copying documentation</echo>
<mkdir dir="${docs.dir}"/>

<mkdir dir="${docs.dir}/ASNLibrary"/>
<mkdir dir="${docs.dir}/ASNLibrary/html-book"/>
<copy todir="${docs.dir}/ASNLibrary/html-book" failonerror="true">
<fileset dir="${checkout.asn.dir}/docs/sources-asciidoc/target/generated-docs/html-book/">
<include name="**" />
</fileset>
</copy>
<mkdir dir="${docs.dir}/ASNLibrary/pdf"/>
<copy todir="${docs.dir}/ASNLibrary/pdf" failonerror="true">
<fileset dir="${checkout.asn.dir}/docs/sources-asciidoc/target/generated-docs/pdf/">
<include name="**.pdf" />
</fileset>
</copy>
<mkdir dir="${docs.dir}/SCTPLibrary"/>
<mkdir dir="${docs.dir}/SCTPLibrary/html-book"/>
<copy todir="${docs.dir}/SCTPLibrary/html-book" failonerror="true">
<fileset dir="${checkout.sctp.dir}/docs/sources-asciidoc/target/generated-docs/html-book/">
<include name="**" />
</fileset>
</copy>
<mkdir dir="${docs.dir}/SCTPLibrary/pdf"/>
<copy todir="${docs.dir}/SCTPLibrary/pdf" failonerror="true">
<fileset dir="${checkout.sctp.dir}/docs/sources-asciidoc/target/generated-docs/pdf/">
<include name="**.pdf" />
</fileset>
</copy>
<mkdir dir="${docs.dir}/userguide"/>
<mkdir dir="${docs.dir}/installationguide"/>
<mkdir dir="${docs.dir}/userguide/html-book"/>
<copy todir="${docs.dir}/userguide/html-book" failonerror="true">
<fileset dir="${jss7.dir}/docs/userguide/sources-asciidoc/target/generated-docs/html-book/">
<fileset dir="${smpp.dir}/docs/userguide/sources-asciidoc/target/generated-docs/html-book/">
<include name="**" />
</fileset>
</copy>
<mkdir dir="${docs.dir}/installationguide/html-book"/>
<copy todir="${docs.dir}/installationguide/html-book" failonerror="true">
<fileset dir="${jss7.dir}/docs/installationguide/sources-asciidoc/target/generated-docs/html-book/">
<fileset dir="${smpp.dir}/docs/installationguide/sources-asciidoc/target/generated-docs/html-book/">
<include name="**" />
</fileset>
</copy>
<mkdir dir="${docs.dir}/userguide/pdf"/>
<copy todir="${docs.dir}/userguide/pdf" failonerror="true">
<fileset dir="${jss7.dir}/docs/userguide/sources-asciidoc/target/generated-docs/pdf/">
<fileset dir="${smpp.dir}/docs/userguide/sources-asciidoc/target/generated-docs/pdf/">
<include name="**.pdf" />
</fileset>
</copy>
<mkdir dir="${docs.dir}/installationguide/pdf"/>
<copy todir="${docs.dir}/installationguide/pdf" failonerror="true">
<fileset dir="${jss7.dir}/docs/installationguide/sources-asciidoc/target/generated-docs/pdf/">
<fileset dir="${smpp.dir}/docs/installationguide/sources-asciidoc/target/generated-docs/pdf/">
<include name="**.pdf" />
</fileset>
</copy>
</target>
-->



Expand Down

0 comments on commit 5279a06

Please sign in to comment.