BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 02-23-2012, 04:15 AM   #1
Rubiya
New Member
 
Join Date: Dec 2011
Model: 8520
PIN: N/A
Carrier: Vodafone
Posts: 14
Default How to exclude a file before compilation

Please Login to Remove!

Hi,

My issue is that I have to develop an app which should work in both OS 5.0 and Os 6.0. In version 5 json is not there so I had added the Json classes to it.This worked fien for me.But when I tried to run it using JRE version 6.0 I got an Error saying Duplicate file exists JSOnArray.java .This is because in version 6.0 we have the JSON classes already inbulit and the classes I added is causing the duplication error.

How can this be solved?I want to run the App in both 5 and 6 versions.Also I came to know that this can be solved using preprocessors.How can this be done? How can I exclude the JSON classes when running in versions greater than 5.0?
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

Similar Threads for: How to exclude a file before compilation
Thread Thread Starter Forum Replies Last Post
import contacts from excel or csv to BB ultra99 General 9700 Series Discussion - Bold 2 12 01-08-2010 01:43 PM
Transferring / Importing Contacts from CSV file 0x80040057 error - How to fix tkessler2 General BlackBerry Discussion 1 01-08-2010 09:19 AM
BES 4.1.3 / BES 4.1.4 - Export Filters to File Agriv8 BES Admin Corner 4 09-24-2008 09:06 AM
Sync Error....What could it be? kurrupt_1 General 8300 Series Discussion - Curve 7 11-22-2007 07:41 PM
Funambol 3.0.7 jad file riskable Linux Users Corner 3 11-14-2007 07:46 PM


10 x  SIEMENS QA120AFCN PLUG ON NEUTRAL 20A AFCI ARC FAULT BREAKERS NEW picture

10 x SIEMENS QA120AFCN PLUG ON NEUTRAL 20A AFCI ARC FAULT BREAKERS NEW

$329.95



Siemens 3VA4130-4ED34-0AA0 20A Molded Case Breaker -  3 Pole 480v 30amp picture

Siemens 3VA4130-4ED34-0AA0 20A Molded Case Breaker - 3 Pole 480v 30amp

$159.99



LOT OF 10 SIEMENS QA115AFCN 15A AFCI PLUG ON NEUTRAL (NO PIGTAIL WIRE) NEW picture

LOT OF 10 SIEMENS QA115AFCN 15A AFCI PLUG ON NEUTRAL (NO PIGTAIL WIRE) NEW

$358.99



Siemens 3RT1046-1AP60 Contactor picture

Siemens 3RT1046-1AP60 Contactor

$387.00



LOT OF 10 SIEMENS Q115DF 15A DUAL FUNCTION AFCI/GFCI BREAKERS NEW picture

LOT OF 10 SIEMENS Q115DF 15A DUAL FUNCTION AFCI/GFCI BREAKERS NEW

$439.99



SIEMENS 6ES7 214-1AG40-0XB0 / 6ES72141AG400XB0 SIMATIC S7-1200 CPU 1214C picture

SIEMENS 6ES7 214-1AG40-0XB0 / 6ES72141AG400XB0 SIMATIC S7-1200 CPU 1214C

$199.99







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