BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-11-2007, 08:20 PM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Jun 2007
Model: 8800
PIN: N/A
Carrier: GPRS
Posts: 68
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question A strange thing about the compile property

Please Login to Remove!

Hi,everyone:

Yesterday i found a strange thing about the property : i downloaded a demo from network , and it made an error like "Error!: warnings treated as errors". So i went to the project property to see the properties and i found that the property "treat warning as error" was choosed in the compile property. So i canceled the option and rebuilded the project, but the error was still .
The reason was that the option was choosed again.
Why i couldn't change the options of the compile property? I have tested the project in different PC , and the problem is also.
By the way, I can change the other project properties, such as Resources, Application,and so on

Thank you very much !

Stream
Offline  
Old 09-13-2007, 12:12 AM   #2 (permalink)
Talking BlackBerry Encyclopedia
 
Skipper_Joe's Avatar
 
Join Date: Jan 2007
Location: Kharkov, Ukraine
Model: 8300
Carrier: N/A
Posts: 237
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

try to delete cod files in your project directory manually and to set property and rebuild project after this.
Offline  
Old 09-14-2007, 01:03 AM   #3 (permalink)
Thumbs Must Hurt
 
Join Date: Jun 2007
Model: 8800
PIN: N/A
Carrier: GPRS
Posts: 68
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,Skipper_Joe, I try the way you given and it doesn't solve the problem. I delete all files except the ".java" , ".jdp" and ".jdw", and I still can't change the option of compile property.
Finally , I open the .jdp file of the project with UltraEdit-32, and find the sentence as follow:

Options=-quiet -wx -deprecation

the "-wx" makes the property "Treate warming as errors" to be choosed. And when I delete it , the project is worked well.

But there is still a problem of the compile property, why I can't change the option? The .jdp file is produce by system , so I think there is something wrong with my system configuration .

Any ideas?
Thank you very much!
Offline  
Old 09-14-2007, 02:07 AM   #4 (permalink)
Talking BlackBerry Encyclopedia
 
Skipper_Joe's Avatar
 
Join Date: Jan 2007
Location: Kharkov, Ukraine
Model: 8300
Carrier: N/A
Posts: 237
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Can you drop me this demo project? I hope i'll have some time to play with it on weekend.
BTW, what JDE version do you use?
Offline  
Old 09-16-2007, 07:59 PM   #5 (permalink)
Thumbs Must Hurt
 
Join Date: Jun 2007
Model: 8800
PIN: N/A
Carrier: GPRS
Posts: 68
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm using the JDE 4.2.1;
I tryed every project in my PC ,and all have the same problems , so it maybe something wrong with the configuration but not the project.
BlackBerry_JDE_4[1].2.1.exe + j2sdk-1_4_2-windows-i586.exe + jdk-1_5_0_07-windows-i586-p.exe
Offline  




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