The Maven-based build moved the GWT resources into the main samskivert jar file

a while back. Let's have the Ant-based build do the same. We can also get rid
of samskivert-gwt, since it hasn't been necessary for some time.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2987 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
samskivert
2011-01-25 20:55:59 +00:00
parent cc893eb3ba
commit beabb1fc19
2 changed files with 2 additions and 24 deletions
+2 -10
View File
@@ -107,17 +107,14 @@
</target>
<target name="dist" depends="compile" description="Builds jar files.">
<jar destfile="${deploy.dir}/${ant.project.name}.jar" basedir="${classes.dir}"/>
<!-- we export a small selection of classes for use by GWT -->
<mkdir dir="${gwtjar.dir}"/>
<copy todir="${gwtjar.dir}">
<copy todir="${classes.dir}">
<fileset dir="src/main/resources" includes="com/samskivert/Utils.gwt.xml"/>
<fileset dir="${src.dir}" includes="com/samskivert/text/MessageUtil.java"/>
<fileset dir="${src.dir}" includes="com/samskivert/util/ByteEnum.java"/>
<fileset dir="${src.dir}" includes="com/samskivert/util/ByteEnumUtil.java"/>
</copy>
<jar basedir="${gwtjar.dir}" destfile="${deploy.dir}/${ant.project.name}-gwt.jar"/>
<delete dir="${gwtjar.dir}"/>
<jar destfile="${deploy.dir}/${ant.project.name}.jar" basedir="${classes.dir}"/>
</target>
<property name="maven.deploy.repo" value="file://${user.home}/.m2/repository"/>
@@ -129,10 +126,5 @@
<pom refid="pom"/>
<attach file="${deploy.dir}/${ant.project.name}-sources.jar" classifier="sources"/>
</artifact:deploy>
<artifact:pom id="gwt-pom" file="gwt-pom.xml"/>
<artifact:deploy file="${deploy.dir}/${ant.project.name}-gwt.jar" uniqueVersion="false">
<remoteRepository url="${maven.deploy.repo}"/>
<pom refid="gwt-pom"/>
</artifact:deploy>
</target>
</project>