BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 10-22-2010, 02:48 PM   #1 (permalink)
New Member
 
Join Date: Mar 2010
Model: 8330
PIN: N/A
Carrier: sprint
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Adding jar file in a project

Please Login to Remove!

I am using eclipse 3.5 and jde component pack 5.0.

I have two projects: one main BlackBerry Application project and another Library Application with about 40 classes.

I have created a jar file from "library application" and exported to "lib" folder of "main BlackBerry Application".

I also added that jar file in "Libraries" of "Build Path" and "Order and Export" too.

While running, it gives error as
"Path C:\Users\PersonalComp\Documents\Projects\Workspace \My Project\deliverables\Standard\5.0.0\My_Project.err is not inside any non-cloaked working folder."

And when I opened My_Project.err file, it contains the following:
"Error!: Error: preverifier failed: C:\Program Files (x86)\Eclipse 3.5\plugins\net.rim.ejde.componentpack5.0.0_5.0.0. 25\components\bin\pr ..."

Someone please help me.

Thanks in advance.
Roshan
Offline  
Old 10-22-2010, 02:53 PM   #2 (permalink)
New Member
 
Join Date: Mar 2010
Model: 8330
PIN: N/A
Carrier: sprint
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

When I execute preverify.exe command, it creates a temp folder and says JAR file creation failed.

Here is the command I used.

C:\Program Files (x86)\Eclipse 3.5\plugins\net.rim.ejde.componentpack5.0.0_5.0.0
.25\components\bin>preverify.exe -classpath "C:\Program Files (x86)\Eclipse 3.5\
plugins\net.rim.ejde.componentpack5.0.0_5.0.0.25\c omponents\lib\net_rim_api.jar"
"C:\Users\PersonalComp\Documents\Projects\Workspac e\My Project\lib\myJar.jar"

JAR file creation failed with error -1
The preverified classes if any are in tmp19254. See jar log of errors in output\
jarlog.txt

Anyone help me pls.
Offline  
Old 10-25-2010, 10:27 AM   #3 (permalink)
New Member
 
Join Date: Mar 2010
Model: 8330
PIN: N/A
Carrier: sprint
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

MY_Project.err is auto generated file while building the application.
Why does it give this error message?
"Path C:\Users\PersonalComp\Documents\Projects\Workspace \My Project\deliverables\Standard\5.0.0\My_Project.err is not inside any non-cloaked working folder."

I tried with adding "Class Folder" but it is not working again.

Someone pls help me soon.
Roshan
Offline  




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