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
New Developer
Posts: 3
Registered: ‎11-18-2008
My Device: Not Specified

How to edit jad file with BlackBerry eclipse plugin?

Hello,

 

I need to edit the jad file to add some custom application descriptors that are used by j2meunit. It seems there is no way to do it in the Eclipse IDE  for BlackBerry projects. I can edit the jad file directly using notepad. However, once the project is built, the jad file gets overwritten.

 

Thanks!

 

-- Mingyu

Developer
Posts: 68
Registered: ‎10-26-2008
My Device: Not Specified

Re: How to edit jad file with BlackBerry eclipse plugin?

I was also wondering about this. How do you edit the JAD file if developing from Eclipse?  Do you need to install EclipseME?
Developer
Posts: 1,415
Registered: ‎07-30-2008
My Device: Not Specified

Re: How to edit jad file with BlackBerry eclipse plugin?

I've never used ecclipse but rather I use awk for editing my jad file. If you can specifiy arbitrary tools,

you may want to consider this or just write your own bash script.

Developer
Posts: 68
Registered: ‎10-26-2008
My Device: Not Specified

Re: How to edit jad file with BlackBerry eclipse plugin?

Oh, there's gotta be a way to edit the JAD from Eclipse. Does ANYONE know how to do this?
BlackBerry Development Advisor
Posts: 15,727
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: How to edit jad file with BlackBerry eclipse plugin?

The jad file needs to be added to the project to prevent it from being overwritten.
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
Developer
Posts: 68
Registered: ‎10-26-2008
My Device: Not Specified

Re: How to edit jad file with BlackBerry eclipse plugin?

JAD file editing can be done from Eclipse with the EclipseME plug in, but for Blackberry projects, there is no such editor. It seems simple enough to add. Is there a way to request this feature from the group building/maintaining the Eclipse plugin tool?
Developer
Posts: 1,415
Registered: ‎07-30-2008
My Device: Not Specified

Re: How to edit jad file with BlackBerry eclipse plugin?

I've never used ecclipse but from what i can tell it can invoke arbitrary tools from an xml file.

As part of my build scripts, I use awk to modify the jad file for things like absolute urls and various

names. At least for now, why can't you add an awk step to your build process? I assume by edit

you mean change something based on the build settings, presumably this is just text substitution.

 

Developer
Posts: 68
Registered: ‎10-26-2008
My Device: Not Specified

Re: How to edit jad file with BlackBerry eclipse plugin?

Well, I don't like using AWK or other tedious building methods. Eclispe is so great because it lets you do everything from the GUI and click one button to build, package and launch the application...
Developer
Posts: 1,415
Registered: ‎07-30-2008
My Device: Not Specified

Re: How to edit jad file with BlackBerry eclipse plugin?

your one click can invoke a jar signer or ftp but it can't invoke awk?

my up-arrow cr can rebuild too Smiley Happy

I have to admit one think I miss is the pop ups offering method signature reminders.

Sometimes this does help but usually not a big problem.

With java, I rarely even benefit from the emulator as I don't have many wierd modes to

track down...

 

Highlighted
BlackBerry Development Advisor
Posts: 15,727
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: How to edit jad file with BlackBerry eclipse plugin?

I have passed this feedback along to our development team.
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