Permalink
Browse files

copy non-java resources for titanium + modules (hopefully this is the…

… last time i fix this)
  • Loading branch information...
1 parent 52b013b commit f295ac6838094523ef20254ef426c03d6a423924 @marshall marshall committed Mar 22, 2010
Showing with 16 additions and 0 deletions.
  1. +16 −0 android/build.xml
View
@@ -41,6 +41,16 @@
<entry key="build.version" value="${build.version}"/>
<entry key="build.timestamp" type="date" value="now"/>
</propertyfile>
+ <copy todir="${classesdir}/titanium">
+ <fileset dir="titanium/src">
+ <include name="**/*"/>
+ <exclude name="**/*.java"/>
+ </fileset>
+ <fileset dir="titanium/thirdparty">
+ <include name="**/*"/>
+ <exclude name="**/*.java"/>
+ </fileset>
+ </copy>
<jar destfile="${distdir}/titanium.jar" basedir="${classesdir}/titanium"/>
</target>
@@ -105,6 +115,12 @@
</fileset>
</classpath>
</javac>
+ <copy todir="${classesdir}/@{name}">
+ <fileset dir="@{prefix}@{name}/src">
+ <include name="**/*"/>
+ <exclude name="**/*.java"/>
+ </fileset>
+ </copy>
<jar destfile="${distdir}/titanium-@{name}.jar" basedir="${classesdir}/@{name}"/>
</sequential>
</macrodef>

0 comments on commit f295ac6

Please sign in to comment.