Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
guperez
Posts: 37
Registered: ‎07-17-2008
My Device: Not Specified
Accepted Solution

Error building project

Hi,

 

When building the project I am getting the following error:

 

I/O Error: Invalid key name in property: '.mine'.
Error while building project

 

Any ideas on how to solve this? I Googled for without success.

 

Thank you 

Please use plain text.
Administrator
MSohm
Posts: 14,241
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: Error building project

What type of project are you creating, a BlackBerry CLDC application or MIDlet?  Are you building the application from source code or converting a JAR file into a COD file?  Is there a JAD file added to the project?
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
Developer
guperez
Posts: 37
Registered: ‎07-17-2008
My Device: Not Specified

Re: Error building project

Thank you for the prompt reply, MSohm. The answers to your questions follow:

 

1. What type of project are you creating, a BlackBerry CLDC application or MIDlet? 

 

It is a BlackBerry CLDC application 

 

2. Are you building the application from source code or converting a JAR file into a COD file?

 

We have both source code and a JAR file. The JAR file is added as a library (kxml.jar) 

 

3. Is there a JAD file added to the project?

 

We don't add a JAD. We do have a JAR file as I mentioned in the previous answer. 

 

Thank you.

 

Please use plain text.
Administrator
MSohm
Posts: 14,241
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: Error building project

What version of the BlackBerry JDE are you using?
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
Developer
guperez
Posts: 37
Registered: ‎07-17-2008
My Device: Not Specified

Re: Error building project

JDE 4.2


Thank you

Please use plain text.
Administrator
MSohm
Posts: 14,241
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: Error building project

Can you search for a .mine entry?  This could be in the .jad, .rapc or in a mainfist file. 

 

How are you making use of the library file?  The link below explains how to create a library cod file from a jar.

 

 

Or if you just want to incorporate the classes from the kxml.jar into your application, then you should add the .jar file to the project, not reference it as a library.

 

How To - Compile a jar file into a BlackBerry Library
Article Number: DB-00042

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800738/800901/How_To_...

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
New Developer
lanceo
Posts: 22
Registered: ‎07-17-2008
My Device: Not Specified

Re: Error building project

This is an artifact of a failed update from subversion or CVS or another source code control system.  Clean out your directory, do a fresh checkout from SVN, and try it again.

 

The .mine is from your version of a source file under source control.

Please use plain text.
Developer
guperez
Posts: 37
Registered: ‎07-17-2008
My Device: Not Specified

Re: Error building project

Thank you, guys. We do use SVN.

 

We did a cleanup of the folder and then did a fresh checkout as you recommend. We also did a search in the entire folder for the .mine and could not find any file with it. Any other ideas?

 

Thank you 

 

 

Please use plain text.
Administrator
MSohm
Posts: 14,241
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: Error building project

Can you try building the jar file into its own library?  This will isolate the jar file in case the issue resides with it.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
Developer
guperez
Posts: 37
Registered: ‎07-17-2008
My Device: Not Specified

Re: Error building project

Sorry, I did not make it clear. We already have the JAR file in its own library and we still get the error. When also get the error if the library is already built (from a previous build when it used to work) and we still get the error.

 

thank you 

Please use plain text.