Skip to content

Commit

Permalink
Updated main build to provide a hook to bundle sonatype artifacts int…
Browse files Browse the repository at this point in the history
…o a zip for easier distribution.
  • Loading branch information
blegros committed Sep 16, 2010
1 parent 392a74f commit ee62064
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 1 deletion.
55 changes: 55 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -179,4 +179,59 @@ to contribute to our CI process.
</zipfileset>
</zip>
</target>

<target name="sonatype" description="Target used to generate bundles for deployment to Sonatype.">
<ant dir="${anttasks.loc}" target="deploy" inheritall="false">
<propertyset>
<propertyref prefix="build" />
</propertyset>
</ant>
<ant dir="${core.loc}" target="deploy" inheritall="false">
<propertyset>
<propertyref prefix="build" />
</propertyset>
</ant>
<ant dir="${cilistener.loc}" target="deploy" inheritall="false">
<propertyset>
<propertyref prefix="build" />
</propertyset>
</ant>
<ant dir="${flexcoverlistener.loc}" target="deploy" inheritall="false">
<propertyset>
<propertyref prefix="build" />
</propertyset>
</ant>
<ant dir="${uilistener.loc}" target="deploy" inheritall="false">
<propertyset>
<propertyref prefix="build" />
</propertyset>
</ant>
<ant dir="${aircilistener.loc}" target="deploy" inheritall="false">
<propertyset>
<propertyref prefix="build" />
</propertyset>
</ant>

<zip destfile="${basedir}/sonatype-${finalName}.zip">
<zipfileset dir="${anttasks.loc}/target/sonatype">
<include name="sonatype-*.zip" />
</zipfileset>
<zipfileset dir="${core.loc}/target/sonatype">
<include name="sonatype-*.zip" />
</zipfileset>
<zipfileset dir="${cilistener.loc}/target/sonatype">
<include name="sonatype-*.zip" />
</zipfileset>
<zipfileset dir="${flexcoverlistener.loc}/target/sonatype">
<include name="sonatype-*.zip" />
</zipfileset>
<zipfileset dir="${uilistener.loc}/target/sonatype">
<include name="sonatype-*.zip" />
</zipfileset>
<zipfileset dir="${aircilistener.loc}/target/sonatype">
<include name="sonatype-*.zip" />
</zipfileset>
</zip>

</target>
</project>
2 changes: 1 addition & 1 deletion version.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
build.groupId=org.flexunit
build.version=4.1.0-RC1
build.version=4.1.0-RC2
build.number=x
build.sdk=y.y.y.y

0 comments on commit ee62064

Please sign in to comment.