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


VEVOR 7.5KW 10HP Variable Frequency Drive Inverter Convert 1 To 3 Phase VFD 220V picture

VEVOR 7.5KW 10HP Variable Frequency Drive Inverter Convert 1 To 3 Phase VFD 220V

$299.99



Single To 3 Phase 7.5KW 10HP 220V Variable Frequency Drive Inverter CNC VFD VSD picture

Single To 3 Phase 7.5KW 10HP 220V Variable Frequency Drive Inverter CNC VFD VSD

$169.90



LENZE E82EV751_4B INVERTER 0.75kW 0-400/500V USED DRIVE picture

LENZE E82EV751_4B INVERTER 0.75kW 0-400/500V USED DRIVE

$288.88



205A MMA ARC Welding Machine 110/220V Dual Volt IGBT Inverter Welder Machine picture

205A MMA ARC Welding Machine 110/220V Dual Volt IGBT Inverter Welder Machine

$118.99



Lenze Inverter E82EV551_4C 8200 Vector USED picture

Lenze Inverter E82EV551_4C 8200 Vector USED

$488.33



195A ARC Welder 110/220V Dual Volt IGBT Inverter MMA Stick Welding Machine picture

195A ARC Welder 110/220V Dual Volt IGBT Inverter MMA Stick Welding Machine

$108.99







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