BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 12-02-2008, 11:07 PM   #1
honestsuccess
New Member
 
Join Date: Dec 2008
Model: 7100T
PIN: N/A
Carrier: Tmobile
Posts: 14
Default Development on linux

Please Login to Remove!

Hello to all.

I am begineer in development in blackberry. I am using linux ubuntu. Can i do development in linux ?
__________________
Kartik Trivedi

(Sun Certified Java Developer)

(Forum Nokia Champion)

(Software Developer-J2ME)

(Saltriver Infosystem)
Offline  
Old 12-03-2008, 12:02 AM   #2
Iare Tosevite
CrackBerry Addict
 
Iare Tosevite's Avatar
 
Join Date: Nov 2007
Location: Between chair and monitor at WA.
Model: 8830
PIN: N/A
Carrier: Sprint
Posts: 565
Default

Yeah Netbeans can be used on both windows and linux.

I'm just not sure how to setup blackberry dev on liunux, though.
__________________
"There is no reason anyone would want a computer in their home."
- Ken Olson, 1977
( And we now wear them! Blackberries are computers too! )
Offline  
Old 12-03-2008, 12:14 AM   #3
honestsuccess
New Member
 
Join Date: Dec 2008
Model: 7100T
PIN: N/A
Carrier: Tmobile
Posts: 14
Default configure on netbeans

Thanks for your reply. I know that netbeans can run but as far as i know blackberry set up is seprate so i am confuse. Can some one reply me ?
__________________
Kartik Trivedi

(Sun Certified Java Developer)

(Forum Nokia Champion)

(Software Developer-J2ME)

(Saltriver Infosystem)
Offline  
Old 12-04-2008, 07:23 AM   #4
oli77za
New Member
 
Join Date: Dec 2008
Model: 8310
PIN: N/A
Carrier: o2
Posts: 3
Default

your best bet is to use bb-ant. I do all my BlackBerry development using eclipse on a ubuntu box.
Offline  
Old 12-04-2008, 07:56 AM   #5
honestsuccess
New Member
 
Join Date: Dec 2008
Model: 7100T
PIN: N/A
Carrier: Tmobile
Posts: 14
Default Thanks

Quote:
Originally Posted by oli77za View Post
your best bet is to use bb-ant. I do all my BlackBerry development using eclipse on a ubuntu box.
Thanks for your reply. Do you mean that i will have to run using ant. From where i can download the plugins ? Can you please give more details ?
__________________
Kartik Trivedi

(Sun Certified Java Developer)

(Forum Nokia Champion)

(Software Developer-J2ME)

(Saltriver Infosystem)
Offline  
Old 12-04-2008, 08:48 AM   #6
oli77za
New Member
 
Join Date: Dec 2008
Model: 8310
PIN: N/A
Carrier: o2
Posts: 3
Default

I'm not using the eclipse plugin for linux. I set my dev environment in the following way:

1) create a directory with the whole JDE (install it on a windows box and copy it across on linux)
2) Install the Sun WTK (you will need it to run preverify)
3) in your ant script import bb-ant (which you would havepreviously downloaded) and have the correct targets
Code:
	<property name="jde.home" value="${user.home}/dev/bbjde" />
	<property name="output.basename" value="MyApplication" />
	<property name="src" value="../src" />

	<taskdef resource="bb-ant-defs.xml" />
	<target name="build">
		<mkdir dir="${build.dir}" />
		<rapc output="${output.basename}" srcdir="${src}" destdir="${build.dir}" quiet="false">
			<jdp title="My Blackberry Client" vendor="MySelf" version="1.1.4" type="cldc" runonstartup="true" startuptier="7" icon="../resources/icon.png" />
		</rapc>
	</target>

	<target name="sign" depends="build">
		<sigtool codfile="${build.dir}/${output.basename}.cod" password="znetworks"/>
		<delete file="LogFile.txt" />
	</target>
4) Make sure that the bb-ant is in your ant classpath
5) Make sure that, when you run eclipse, you have the bin directory of WTK and the JDE in your path
6) Just build from the ant task

Unfortunately I couldn't get the simulator running on Linux yet, so I just mount the build directory in a directory on a windows virtual box and run it from there



Hope this helps,
Oliver
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


1PC USED A54MA30B Mitsubishi F500/A500/A540 Series 30-37KW Mainboard #CZ picture

1PC USED A54MA30B Mitsubishi F500/A500/A540 Series 30-37KW Mainboard #CZ

$228.00



1PC USED A54MA55B BC186A413G52 Mitsubishi A500/F540 Series 55KW Drive Board #CZ picture

1PC USED A54MA55B BC186A413G52 Mitsubishi A500/F540 Series 55KW Drive Board #CZ

$317.00



Mitsubishi A500 Variable Freq. Drive VFD AC Inverter 480V 3 PH 6.7A 3 HP Max picture

Mitsubishi A500 Variable Freq. Drive VFD AC Inverter 480V 3 PH 6.7A 3 HP Max

$299.99



NSK TiMAX NL95M/ A500/ A500L/ AK500L/ AS500L /AW500L CERAMIC BEARINGS  picture

NSK TiMAX NL95M/ A500/ A500L/ AK500L/ AS500L /AW500L CERAMIC BEARINGS

$80.75



Mitsubishi FR-A540-0.75K-NA AC DRIVE INVERTER 1 HP 380-480 VAC 50/60 HZ 4.1 AMP  picture

Mitsubishi FR-A540-0.75K-NA AC DRIVE INVERTER 1 HP 380-480 VAC 50/60 HZ 4.1 AMP

$649.99



Dentistry Replacement NSK TiMAX NL95M/ A500/ A500L/ AK500L/ AS500L /AW500L NEW picture

Dentistry Replacement NSK TiMAX NL95M/ A500/ A500L/ AK500L/ AS500L /AW500L NEW

$79.95







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.