Discussion:
Trouble adding external JAR and deploying them
María Amor Vázquez
2008-10-27 14:25:26 UTC
Permalink
Dear Craig and EclipseME users,

I'm having problems adding external libraries. I've already read the
help contents that explain the difference between Hardware JAR files and
Application JAR files.
The file I want to use in my project is an application JAR file, more
precisely an XML parser library. For that purpose, I've configured the
build path so that it includes this library, and I've checked the
library in the "Order and Export" tab. It builds fine, but when I try to
run/debug it it doesn´t work because it cannot locate the MIDlet Class
(It throws ClassNotFoundException).
Also, when I try to deploy my MIDlet (using the Create Package option),
it gives the following error:

Errors during build.
Errors running builder 'Preverification' on project 'Parseador_kXML'.

org.eclipse.jdt.internal.core.JavaModel.getTarget(Lorg/eclipse/core/resources/IContainer;Lorg/eclipse/core/runtime/IPath;Z)Ljava/lang/Object;

org.eclipse.jdt.internal.core.JavaModel.getTarget(Lorg/eclipse/core/resources/IContainer;Lorg/eclipse/core/runtime/IPath;Z)Ljava/lang/Object;

I think I'm doing something wrong, but I cannot see what it is.
Can anyone help me?

Thank you very much

Regards,
María

Ps. I'm using Eclipse 3.4.1 and Eclipse ME 1.7.9


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Setera Craig
2008-10-28 10:46:44 UTC
Permalink
Maria,

You are using the wrong combination of Eclipse and EclipseME and are
hitting a bug in that combination. You need the version at http://eclipseme.org/testversions
if you are running Eclipse 3.4.

With that said, I'd like to ask you to make the switch over to the
Eclipse Mobile Tools for Java project (MTJ). The 0.9 release of MTJ
started with the EclipseME code and contains a lot of new features and
bug fixes. I will not be making any new changes to EclipseME from
here on.

Thanks,
Craig
Post by María Amor Vázquez
Dear Craig and EclipseME users,
I'm having problems adding external libraries. I've already read the
help contents that explain the difference between Hardware JAR files and
Application JAR files.
The file I want to use in my project is an application JAR file, more
precisely an XML parser library. For that purpose, I've configured the
build path so that it includes this library, and I've checked the
library in the "Order and Export" tab. It builds fine, but when I try to
run/debug it it doesn´t work because it cannot locate the MIDlet Class
(It throws ClassNotFoundException).
Also, when I try to deploy my MIDlet (using the Create Package
option),
Errors during build.
Errors running builder 'Preverification' on project 'Parseador_kXML'.
org.eclipse.jdt.internal.core.JavaModel.getTarget(Lorg/eclipse/core/
resources/IContainer;Lorg/eclipse/core/runtime/IPath;Z)Ljava/lang/
Object;
org.eclipse.jdt.internal.core.JavaModel.getTarget(Lorg/eclipse/core/
resources/IContainer;Lorg/eclipse/core/runtime/IPath;Z)Ljava/lang/
Object;
I think I'm doing something wrong, but I cannot see what it is.
Can anyone help me?
Thank you very much
Regards,
María
Ps. I'm using Eclipse 3.4.1 and Eclipse ME 1.7.9
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Eclipseme-users mailing list
https://lists.sourceforge.net/lists/listinfo/eclipseme-users
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
María Amor Vázquez
2008-10-28 11:03:25 UTC
Permalink
Thanks Craig,

I think I'll switch over to MTJ. I was a bit reluctant because I'm just
learning how to use EclipseME and beginning to feel confident with it.
But I think it will be worth it.

Regards,
María
Post by Setera Craig
Maria,
You are using the wrong combination of Eclipse and EclipseME and are
hitting a bug in that combination. You need the version at http://eclipseme.org/testversions
if you are running Eclipse 3.4.
With that said, I'd like to ask you to make the switch over to the
Eclipse Mobile Tools for Java project (MTJ). The 0.9 release of MTJ
started with the EclipseME code and contains a lot of new features and
bug fixes. I will not be making any new changes to EclipseME from
here on.
Thanks,
Craig
Post by María Amor Vázquez
Dear Craig and EclipseME users,
I'm having problems adding external libraries. I've already read the
help contents that explain the difference between Hardware JAR files and
Application JAR files.
The file I want to use in my project is an application JAR file, more
precisely an XML parser library. For that purpose, I've configured the
build path so that it includes this library, and I've checked the
library in the "Order and Export" tab. It builds fine, but when I try to
run/debug it it doesn´t work because it cannot locate the MIDlet Class
(It throws ClassNotFoundException).
Also, when I try to deploy my MIDlet (using the Create Package option),
Errors during build.
Errors running builder 'Preverification' on project 'Parseador_kXML'.
org.eclipse.jdt.internal.core.JavaModel.getTarget(Lorg/eclipse/core/
resources/IContainer;Lorg/eclipse/core/runtime/IPath;Z)Ljava/lang/
Object;
org.eclipse.jdt.internal.core.JavaModel.getTarget(Lorg/eclipse/core/
resources/IContainer;Lorg/eclipse/core/runtime/IPath;Z)Ljava/lang/
Object;
I think I'm doing something wrong, but I cannot see what it is.
Can anyone help me?
Thank you very much
Regards,
María
Ps. I'm using Eclipse 3.4.1 and Eclipse ME 1.7.9
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Eclipseme-users mailing list
https://lists.sourceforge.net/lists/listinfo/eclipseme-users
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Eclipseme-users mailing list
https://lists.sourceforge.net/lists/listinfo/eclipseme-users
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Loading...