[Jsxe-cvs] SF.net SVN: jsxe: [1057] trunk/jsxe/build.xml
Status: Inactive
Brought to you by:
ian_lewis
From: <ian...@us...> - 2006-07-21 22:39:14
|
Revision: 1057 Author: ian_lewis Date: 2006-07-21 15:39:09 -0700 (Fri, 21 Jul 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=1057&view=rev Log Message: ----------- Updated build file so that the wrapper exe is not built when building in something other than windows since it doesn't seem to work Modified Paths: -------------- trunk/jsxe/build.xml Modified: trunk/jsxe/build.xml =================================================================== --- trunk/jsxe/build.xml 2006-07-21 21:31:15 UTC (rev 1056) +++ trunk/jsxe/build.xml 2006-07-21 22:39:09 UTC (rev 1057) @@ -59,6 +59,13 @@ <property name="jsmooth.project" value="${root.dir}/jsXe.jsmooth"/> <property name="jsmooth.jar" value="${buildlib.dir}/jsmoothgen-ant.jar"/> + <condition property="windows.build"> + <and> + <os family="windows"/> + <available file="${jsmooth.jar}" property="jsmooth.avail"/> + </and> + </condition> + <!-- Human Readable --> <property name="app.version" value="0.5 pre1"/> <!-- Used in filenames --> @@ -89,8 +96,8 @@ <available file="${plugin.dir}/sourceview/build.xml" property="sourceview.avail"/> <available file="${root.dir}/../web" property="web.avail"/> <available file="${plugin.dir}" property="plugin.avail"/> - <available file="${jsmooth.jar}" property="jsmooth.avail"/> + <echo message="${app.name} ${app.version}"/> <echo message="----------------------------------------------------------"/> </target> @@ -324,7 +331,7 @@ <zip basedir="${build.dir}" excludes="*.class" includes="${app.name}-${app_version}-bin/**" zipfile="${build.dir}/${app.name}-${app_version}-bin.zip"/> </target> - <target name="build-exe" if="jsmooth.avail"> + <target name="build-exe" if="windows.build"> <taskdef name="jsmoothgen" classname="net.charabia.jsmoothgen.ant.JSmoothGen" classpath="${jsmooth.jar}"/> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |