Skip to content

Commit

Permalink
Removed onesocialweb libraries from lib/ folder and modified ant buil…
Browse files Browse the repository at this point in the history
…d script to get them from a common repository.
  • Loading branch information
eschnou committed Apr 26, 2010
1 parent 69e81ab commit ed7235a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@
<property name="jar.name" value="osw-lib-java"/>
<property name="lib.dir" value="lib"/>

<property file="${user.home}/.ant.build.properties" />
<property file="${basedir}/build.properties"/>

<fail unless="onesocialweb.libs">Aborting. The Ant property "onesocialweb.libs" is not defined. Check the onesocialweb wiki (Building with Ant) for more details on this error.</fail>

<path id="classpath">
<fileset dir="${lib.dir}" includes="**/*.jar"/>
<fileset dir="${onesocialweb.libs}" includes="**/*.jar"/>
</path>

<target name="clean">
Expand All @@ -28,6 +32,10 @@
<jar destfile="${jar.dir}/${jar.name}.jar" basedir="${classes.dir}" />
</target>

<target name="deploy" depends="jar">
<copy file="${jar.dir}/${jar.name}.jar" todir="${onesocialweb.libs}" overwrite="true" />
</target>

<target name="clean-build" depends="clean,jar"/>

<target name="main" depends="clean,jar"/>
Expand Down
Binary file removed lib/osw-model.jar
Binary file not shown.

0 comments on commit ed7235a

Please sign in to comment.