I have been trying to convert the source into an eclipse project so I can build it from within eclipse. As suggested in the readme file I use the command mvn eclipse:clean eclipse:eclipse -DdownloadSources=true. This builds the project successfully but when I open the project in eclipse I get around 32 build path errors. Could you provide some help as to how can I successfully build and run the MicroEmu project from within Eclipse. I would really appreciate it since I am not familiar at all with how eclipse works and I have recently started on j2me to work on emulators.
Regards
Drew
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for your quick reply. I plan to make some modifications to ME2 (I was going to ask you for permission as soon as I can successfully build it) and thats why its important for me to be able to do what I asked for. I was able to execute the jar file easily and saw that the miccroemulator is a good base to build on and learn how j2me emulators work. Any help would be appreciated.
Regards
Drew
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks vlad, I will try to set the M2_REPO classpath variable tomorrow and let you know how that works out. I would also be happy to update / collaborate with you on my project.
Drew
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The above step worked for me. I have no errors (only a whole bunch of warnings which is fine by me :)) and was able to compile/build and run. Do you have an email address I can contact you regarding what I am planning to work on and why I need Microemulator? I would really appreciate your help on this and if what I plan works out, hopefully can provide some support to the project as well (tech and financial).
Regards
Drew
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I also tried to build with maven like suggested in the read-me-developer.txt:
Here is my progress so far:
-used eclipse to checkout the project
-installed maven
-set the JAVA_HOME, SWT_HOME and WTK_HOME
-executed maven with: mvn eclipse:clean eclipse:eclipse -DdownloadSources=true
Then I got the following Error:
-------snip
Downloading: http://repository.codehaus.org/net/sf/jour/jour-maven-plugin/2.0.0-SNAPSHOT/jour-maven-plugin-2.0.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] A required plugin was not found: Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=net.sf.jour -DartifactId=jour-maven-plugin \
-Dversion=2.0.0-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/to/file
Help me please.
I use the command mvn eclipse:clean eclipse:eclipse -DdownloadSources=true.
And i add M2_REPO to Build Path -> classpath Variables
But i get this errors
A cycle was detected in the build path of project 'microemu-demo' microemu-demo
A cycle was detected in the build path of project 'microemu-device-large' microemu-device-large
A cycle was detected in the build path of project 'microemu-device-minimum' microemu-device-minimum
A cycle was detected in the build path of project 'microemu-device-resizable' microemu-device-resizable
A cycle was detected in the build path of project 'microemu-fcview' microemu-fcview
A cycle was detected in the build path of project 'microemu-javase-applet' microemu-javase-applet
A cycle was detected in the build path of project 'microemu-javase-swing' microemu-javase-swing
A cycle was detected in the build path of project 'microemu-javase' microemu-javase
A cycle was detected in the build path of project 'microemu-jsr-75' microemu-jsr-75
A cycle was detected in the build path of project 'microemu-nokiaui' microemu-nokiaui
A cycle was detected in the build path of project 'microemu-siemensapi' microemu-siemensapi
A cycle was detected in the build path of project 'microemu-test-midlet' microemu-test-midlet
The project cannot be built until build path errors are resolved microemu-demo
The project cannot be built until build path errors are resolved microemu-device-large
The project cannot be built until build path errors are resolved microemu-device-minimum
The project cannot be built until build path errors are resolved microemu-device-resizable
The project cannot be built until build path errors are resolved microemu-fcview
The project cannot be built until build path errors are resolved microemu-javase
The project cannot be built until build path errors are resolved microemu-javase-applet
The project cannot be built until build path errors are resolved microemu-javase-swing
The project cannot be built until build path errors are resolved microemu-jsr-75
The project cannot be built until build path errors are resolved microemu-nokiaui
The project cannot be built until build path errors are resolved microemu-siemensapi
The project cannot be built until build path errors are resolved microemu-test-midlet
what i do wrong?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I have been trying to convert the source into an eclipse project so I can build it from within eclipse. As suggested in the readme file I use the command mvn eclipse:clean eclipse:eclipse -DdownloadSources=true. This builds the project successfully but when I open the project in eclipse I get around 32 build path errors. Could you provide some help as to how can I successfully build and run the MicroEmu project from within Eclipse. I would really appreciate it since I am not familiar at all with how eclipse works and I have recently started on j2me to work on emulators.
Regards
Drew
Do you want to build ME2 or your own project?
For ME2 build, Eclipse needs to know the path to the local maven repository. Therefore the classpath variable M2_REPO has to be set.
See: http://maven.apache.org/plugins/maven-eclipse-plugin/overview.html
I would not recommend you to build ME2 in eclipse sine you obviously are new in this field, just use already compiled jar
Dear Vlad,
Thanks for your quick reply. I plan to make some modifications to ME2 (I was going to ask you for permission as soon as I can successfully build it) and thats why its important for me to be able to do what I asked for. I was able to execute the jar file easily and saw that the miccroemulator is a good base to build on and learn how j2me emulators work. Any help would be appreciated.
Regards
Drew
No problem Drew,
Use e-mail to send me the errors you got and I will guide you.
Vlad
Thanks vlad, I will try to set the M2_REPO classpath variable tomorrow and let you know how that works out. I would also be happy to update / collaborate with you on my project.
Drew
Dear Vlad,
The above step worked for me. I have no errors (only a whole bunch of warnings which is fine by me :)) and was able to compile/build and run. Do you have an email address I can contact you regarding what I am planning to work on and why I need Microemulator? I would really appreciate your help on this and if what I plan works out, hopefully can provide some support to the project as well (tech and financial).
Regards
Drew
My e-mail can be found here:
http://www.microemu.org/team-list.html
Hello,
I also tried to build with maven like suggested in the read-me-developer.txt:
Here is my progress so far:
-used eclipse to checkout the project
-installed maven
-set the JAVA_HOME, SWT_HOME and WTK_HOME
-executed maven with: mvn eclipse:clean eclipse:eclipse -DdownloadSources=true
Then I got the following Error:
-------snip
Downloading: http://repository.codehaus.org/net/sf/jour/jour-maven-plugin/2.0.0-SNAPSHOT/jour-maven-plugin-2.0.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] A required plugin was not found: Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=net.sf.jour -DartifactId=jour-maven-plugin \
-Dversion=2.0.0-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/to/file
net.sf.jour:jour-maven-plugin:maven-plugin:2.0.0-SNAPSHOT
from the specified remote repositories:
codehaus.org (http://repository.codehaus.org),
central (http://repo1.maven.org/maven2)
net.sf.jour:jour-maven-plugin:maven-plugin:2.0.0-SNAPSHOT
from the specified remote repositories:
codehaus.org (http://repository.codehaus.org),
central (http://repo1.maven.org/maven2)
----------------snip
I tried to find the file for manual installation, but without success.
Can you give me a hint, what I am doing wrong?
Thanks in advance for any help!
Comment out module microemu-test-midlet in microemu-tests\pom.xml
Thanks! That did it for me.
Additionally I had to comment out
<pluginRepository>
<id>pyx4me-web</id>
<url>http://www.pyx4me.com/maven2-snapshot</url>
</pluginRepository>
in the pom.xml to run a build, so the artifact de.pleumann:antenna:jar:0.9.14 could be found.
Ops I was thinking that I uploaded antenna to central repository. I will fix this.
Help me please.
I use the command mvn eclipse:clean eclipse:eclipse -DdownloadSources=true.
And i add M2_REPO to Build Path -> classpath Variables
But i get this errors
A cycle was detected in the build path of project 'microemu-demo' microemu-demo
A cycle was detected in the build path of project 'microemu-device-large' microemu-device-large
A cycle was detected in the build path of project 'microemu-device-minimum' microemu-device-minimum
A cycle was detected in the build path of project 'microemu-device-resizable' microemu-device-resizable
A cycle was detected in the build path of project 'microemu-fcview' microemu-fcview
A cycle was detected in the build path of project 'microemu-javase-applet' microemu-javase-applet
A cycle was detected in the build path of project 'microemu-javase-swing' microemu-javase-swing
A cycle was detected in the build path of project 'microemu-javase' microemu-javase
A cycle was detected in the build path of project 'microemu-jsr-75' microemu-jsr-75
A cycle was detected in the build path of project 'microemu-nokiaui' microemu-nokiaui
A cycle was detected in the build path of project 'microemu-siemensapi' microemu-siemensapi
A cycle was detected in the build path of project 'microemu-test-midlet' microemu-test-midlet
The project cannot be built until build path errors are resolved microemu-demo
The project cannot be built until build path errors are resolved microemu-device-large
The project cannot be built until build path errors are resolved microemu-device-minimum
The project cannot be built until build path errors are resolved microemu-device-resizable
The project cannot be built until build path errors are resolved microemu-fcview
The project cannot be built until build path errors are resolved microemu-javase
The project cannot be built until build path errors are resolved microemu-javase-applet
The project cannot be built until build path errors are resolved microemu-javase-swing
The project cannot be built until build path errors are resolved microemu-jsr-75
The project cannot be built until build path errors are resolved microemu-nokiaui
The project cannot be built until build path errors are resolved microemu-siemensapi
The project cannot be built until build path errors are resolved microemu-test-midlet
what i do wrong?
I understand what i do, but they work. ))