incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-116) Add Mac OS X support to build script
Date Tue, 13 Dec 2011 01:23:32 GMT

     [ https://issues.apache.org/jira/browse/CB-116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Filip Maj resolved CB-116.
--------------------------

    Resolution: Fixed

Fixed here: https://github.com/callback/callback-blackberry/commit/240c68e3c1cb4448490e0ba3d68720e0b48a752b
                
> Add Mac OS X support to build script
> ------------------------------------
>
>                 Key: CB-116
>                 URL: https://issues.apache.org/jira/browse/CB-116
>             Project: Apache Callback
>          Issue Type: Improvement
>          Components: BlackBerry
>    Affects Versions: 1.2.0
>         Environment: Mac OS X
>            Reporter: Filip Maj
>            Assignee: Filip Maj
>
> With the WebWorks SDK 2.2, we now have Mac OS X support. Yay!
> The ANT build script should be modified to determine the OS at build time and change
the paths to the SDK tools appropriately. Here's a diff:
> --- a/build.xml
> +++ b/build.xml
> @@ -22,7 +22,7 @@
>      <target name="load-device" depends="package-app">
>          <bbwp code-sign="true" />
> -        <exec executable="${properties.bbwp.dir}/bin/JavaLoader.exe" dir="." failonerror="true">
> +        <exec executable="${properties.bbwp.dir}/bin/javaloader" dir="." failonerror="true">
>              <arg value="-u" />
>              <arg value="load" />
>              <arg file="${build.dir}/StandardInstall/${cod.name}.cod" />
> @@ -142,7 +142,7 @@
>          <sequential>
>              <!-- Ensure bbwp executable exists. -->
> -            <property name="properties.bbwp.bin" location="${properties.bbwp.dir}/bbwp.exe"
/>
> +            <property name="properties.bbwp.bin" location="${properties.bbwp.dir}/bbwp"
/>
>              <available file="${properties.bbwp.bin}" property="properties.bbwp.exists"
/>
>              <fail unless="properties.bbwp.exists" message="Cannot find ${properties.bbwp.bin}.
Please edit 'bbwp.dir' in your 'project.properties' file." />
> @@ -178,7 +178,7 @@
>      <!-- CLEAN DEVICE -->
>      <target name="clean-device" depends="generate-cod-name">
> -        <exec executable="${properties.bbwp.dir}/bin/JavaLoader.exe">
> +        <exec executable="${properties.bbwp.dir}/bin/javaloader">
>              <arg value="-usb" />
>              <arg value="erase" />
>              <arg value="-f" />

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message