Packager Support for Linux and Mac OS X #10

Closed
wants to merge 3 commits into
from

Conversation

Projects
None yet
7 participants
@NotDaveLane

I've modified the packager to support execution on Linux and Mac OS X. It fixes folder separators and file paths for non-Windows OSes.

Since Linux and Mac users won't be able to use the preverify tool currently included with the installer for "Command Line Tools for BlackBerry Smartphone Apps", I have also added support to BBWPProperties for a "preverify_directory" value (this should be the path to the directory which contains the preverify executable).

David Lane added some commits Jun 24, 2011

David Lane
Adds support for building on Mac OS X and Linux. A custom preverify t…
…ool may now be specified by adding a "preverify_directory" tag to your bbwp.properties file.
David Lane
Adds support for building on Mac OS X and Linux. A custom preverify t…
…ool may now be specified by adding a "preverify_directory" tag to your bbwp.properties file.
@filmaj

This comment has been minimized.

Show comment Hide comment
@filmaj

filmaj Jun 25, 2011

thank you

filmaj commented Jun 25, 2011

thank you

@MartinMReed

This comment has been minimized.

Show comment Hide comment
@MartinMReed

MartinMReed Jun 26, 2011

Why not use File.separator to avoid situations like this:

if( OperatingSystems.isWindows() ) {
  _rapc = _sessionHome + "\\" + _rapc;
}
else{
  _rapc = _sessionHome + "/" + _rapc;
}

Why not use File.separator to avoid situations like this:

if( OperatingSystems.isWindows() ) {
  _rapc = _sessionHome + "\\" + _rapc;
}
else{
  _rapc = _sessionHome + "/" + _rapc;
}
@jasonschroeder

This comment has been minimized.

Show comment Hide comment
@jasonschroeder

jasonschroeder Jul 5, 2011

Agree with @MartinMReed's comment.

Agree with @MartinMReed's comment.

@tneil

This comment has been minimized.

Show comment Hide comment
@tneil

tneil Aug 2, 2011

Member

Hi David,

I've attached this issue to the Golf milestone. We will be adding Mac support for the WebWorks Smartphone SDK and this code should come in handy

Member

tneil commented Aug 2, 2011

Hi David,

I've attached this issue to the Golf milestone. We will be adding Mac support for the WebWorks Smartphone SDK and this code should come in handy

@popoffka

This comment has been minimized.

Show comment Hide comment
@popoffka

popoffka Aug 18, 2011

I'm sorry if I'm wrong, but isn't Adobe AIR SDK required for the WebWorks packaging process? And, AFAIK, AIR SDK works only under Windows and Mac OS, so there's no point in porting the packager to Linux, unfortunately :(

I'm sorry if I'm wrong, but isn't Adobe AIR SDK required for the WebWorks packaging process? And, AFAIK, AIR SDK works only under Windows and Mac OS, so there's no point in porting the packager to Linux, unfortunately :(

@tneil

This comment has been minimized.

Show comment Hide comment
@tneil

tneil Aug 18, 2011

Member

For the PlayBook SDK we already support Mac/Windows but no Linux. You are correct Alexey, the Tablet SDK is Mac and Windows, Adobe is dropping Linux support because of lack of demand vs cost of maintenance.

Currently our Smartphone SDK only runs on Windows, but we are now adding Mac support for the Smartphone SDK.

We will also ensure that the current /o style parameters will allow -o style parameters on Mac and Windows to be more cross platform compliant

Member

tneil commented Aug 18, 2011

For the PlayBook SDK we already support Mac/Windows but no Linux. You are correct Alexey, the Tablet SDK is Mac and Windows, Adobe is dropping Linux support because of lack of demand vs cost of maintenance.

Currently our Smartphone SDK only runs on Windows, but we are now adding Mac support for the Smartphone SDK.

We will also ensure that the current /o style parameters will allow -o style parameters on Mac and Windows to be more cross platform compliant

@bert2002

This comment has been minimized.

Show comment Hide comment
@bert2002

bert2002 Sep 27, 2011

Looking forward for the Linux support. This will improve everything for me :)

Looking forward for the Linux support. This will improve everything for me :)

@tneil

This comment has been minimized.

Show comment Hide comment
@tneil

tneil Sep 27, 2011

Member

@bert2002 We've indicated that we will be having Mac support.. but no Linux support for the SDK

Member

tneil commented Sep 27, 2011

@bert2002 We've indicated that we will be having Mac support.. but no Linux support for the SDK

@popoffka

This comment has been minimized.

Show comment Hide comment
@popoffka

popoffka Sep 27, 2011

As I already said above, I'm pretty sure that Linux support isn't possible.

As I already said above, I'm pretty sure that Linux support isn't possible.

@bert2002

This comment has been minimized.

Show comment Hide comment
@bert2002

bert2002 Sep 27, 2011

ooohh right. Apparently I was too excited to read all comments. But at least Mac support will be added. Weill done.

ooohh right. Apparently I was too excited to read all comments. But at least Mac support will be added. Weill done.

@tneil

This comment has been minimized.

Show comment Hide comment
@tneil

tneil Sep 27, 2011

Member

Yup.. we'll have support for both Mac & Windows for:

  • WebWorks SDK for Smartphones
  • WebWorks SDK for Tablet OS
  • Ripple Emulator
Member

tneil commented Sep 27, 2011

Yup.. we'll have support for both Mac & Windows for:

  • WebWorks SDK for Smartphones
  • WebWorks SDK for Tablet OS
  • Ripple Emulator

@tneil tneil closed this Oct 28, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment