Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

oauth.

  • Loading branch information...
commit a7974c4de246f83d0a44de2a055a29a8e2505345 1 parent 06461db
ernandes@gmail.com authored
Showing with 20 additions and 2 deletions.
  1. +2 −1  build.properties
  2. +18 −1 build.xml
View
3  build.properties
@@ -61,4 +61,5 @@ tapime.path.lib.android11=C:/android-sdk-windows/platforms/android-8/android.jar
tapime.path.lib.rim=C:/EclipseBB/plugins/net.rim.ejde.componentpack5.0.0_5.0.0.25/components/lib/net_rim_api.jar
tapime.path.lib.antenna=C:/Antenna/antenna-bin-1.2.1-beta.jar
tapime.path.findbugs=c:/findbugs-1.3.9
-tapime.path.lib.findbugs=${tapime.path.findbugs}/lib/findbugs-ant.jar
+tapime.path.lib.findbugs=${tapime.path.findbugs}/lib/findbugs-ant.jar
+tapime.path.rim.preverify=C:/EclipseBB/plugins/net.rim.ejde.componentpack5.0.0_5.0.0.25/components/bin/preverify.exe
View
19 build.xml
@@ -35,6 +35,7 @@
<include name="impl/android/**" if="tapime.building.android"/>
<include name="impl/javame/com/twitterapime/parser/JSON**" if="tapime.building.android"/>
<include name="impl/javame/**" if="tapime.building.rim"/>
+ <include name="impl/rim/**" if="tapime.building.rim"/>
</copydir>
<wtkpreprocess srcdir="${tapime.path.src.preprocessed}"
@@ -118,7 +119,23 @@
</path>
</target>
- <target name="-run" depends="-classpath_javame, -classpath_android, -classpath_rim, -compile, -lib_javame, -lib_android, -lib_rim, -findbugs, +javadoc, -package"/>
+ <target name="-preverify_javame" if="tapime.building.javame">
+ <wtkpreverify classpathref="tapime.classpath" jarfile="${tapime.version.path.dist}/${tapime.version.jar}"/>
+ </target>
+
+ <target name="-preverify_rim" if="tapime.building.rim">
+ <exec executable="${tapime.path.rim.preverify}" failonerror="true">
+ <arg line='-classpath "${tapime.path.lib.rim}" -d "${tapime.version.path.dist}" "${tapime.path.lib.jsonorg}"' />
+ </exec>
+ <exec executable="${tapime.path.rim.preverify}" failonerror="true">
+ <arg line='-classpath "${tapime.path.lib.rim}" -d "${tapime.version.path.dist}" "${tapime.path.lib.kxml2}"' />
+ </exec>
+ <exec executable="${tapime.path.rim.preverify}" failonerror="true">
+ <arg line='-classpath "${tapime.path.lib.rim};${tapime.path.lib.jsonorg};${tapime.path.lib.kxml2}" -d "${tapime.version.path.dist}" "${tapime.version.path.dist}/${tapime.version.jar}"' />
+ </exec>
+ </target>
+
+ <target name="-run" depends="-classpath_javame, -classpath_android, -classpath_rim, -compile, -lib_javame, -lib_android, -lib_rim, -preverify_javame, -preverify_rim, -findbugs, +javadoc, -package"/>
<target name="+build_javame">
<antcall target="-run">
Please sign in to comment.
Something went wrong with that request. Please try again.