BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 02-23-2012, 04:15 AM   #1 (permalink)
New Member
Join Date: Dec 2011
Model: 8520
Carrier: Vodafone
Posts: 14
Post Thanks: 2
Thanked 0 Times in 0 Posts
Default How to exclude a file before compilation

Please Login to Remove!


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 .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?
Closed Thread

Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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 10: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

Copyright 2004-2014
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.