importing mobile application from eclipse to netbeans

View: New views
4 Messages — Rating Filter:   Alert me  

importing mobile application from eclipse to netbeans

by masterofpuppets :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi everyone
i am a huge fan of netbeans and use that for my core and web development. recently i have had to move to mobile development and practiced and learnt on netbeans, Now i have just been given source code that has been done in eclipse apparently using the eclipseME plugin. (note- i have never used eclipse before)
In netbeans i have installed the plugin to import projects from  eclipse

when i try to import the project, for some reason it doen not think its importing a java ME project meaning when its done and if i right click the project and go to properties, it does not give me any of the ME options like emulator config, application descriptor properties, ME build options etc.

It simply looks like the basic properties that you get with a java SE project

It also complains about all the javax.microedition imports (which i fixed by providing compile time classpaths for cldcapi11.jar and midpapi21.jar)

Can some one please tell me either how to import it such that it behaves like an ME project and gives me all the options, or
to take what looks like a SE application and make it act like a mobile app so i can access and setup configurations like emulator etc and run it?
right now all it does is complain that there is no main class\

I really would like to stick with netbeans if at all possible, i dont feel like switching to and learning eclipse

Edit- i might try, instead of importing, create a mobile project with existing sources and see if that works, but there are quite a few eclipse projects that are linked so i would definitely prefer to figure out how to import properly

Also when i do import, it seems like that the netbeans creates certain build files etc, leaving the original code files intact. Is it preferred to supply a diff directory for that than the original when the wizard asks for a directory? or should i just have it point to the same dir as the orig source?

thanks in advance,

Re: importing mobile application from eclipse to netbeans

by masterofpuppets :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Let me ask a different question that may help solve my prob

Lets say i have a simple JavaSE project

Can i convert it into a JavaME project by somehow attaching the wireless toolkits to it and hence somehow get the javaME properties dialog

so go from



To


Re: importing mobile application from eclipse to netbeans

by Karol Harezlak :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
There is a possibility to import your sources into the NB Mobility
Project. Create new project use "Mobile Project form existing MIDP
Sources" in the New Project Wizard. It is available in Mobility Categories.

Karol

masterofpuppets wrote:

> Let me ask a different question that may help solve my prob
>
> Lets say i have a simple JavaSE project
>
> Can i convert it into a JavaME project by somehow attaching the wireless
> toolkits to it and hence somehow get the javaME properties dialog
>
> so go from
>
> http://www.nabble.com/file/p17177265/javaSe.jpeg 
>
> To
>
> http://www.nabble.com/file/p17177265/javaMe.jpeg 
>  


--
Karol Harezlak <karol.harezlak@...>
Sun Microsystems, Inc. NetBeans Mobility
http://blogs.sun.com/kharezlak/



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: importing mobile application from eclipse to netbeans

by masterofpuppets :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

thanks karol

I;ll try that

just havin to use eclipse is making me wanna quit my job, for the life of me i dont know why anyone would use that for anything other than basic java programming, even if that, i ve spent more time figuring out required plugins , cryptic eclipse project names without decent tutorials, and wiring in servers and databases in eclipse than in actual programming in the past 2 weeks,