Description Resource Path Location Type
The project cannot be built until build path errors are resolved ardublock Unknown Java Problem
The project cannot be built until build path errors are resolved openblocks Unknown Java Problem
Project ‘ardublock’ is missing required library: ‘D:\maven\repo\arduino\pde\1.0\pde-1.0.jar’ ardublock Build path Build Path Problem
Project ‘openblocks’ is missing required library: ‘D:\maven\repo\jfree\jfreechart\1.0.12\jfreechart-1.0.12.jar’ openblocks Build path Build Path Problem
Project ‘openblocks’ is missing required library: ‘D:\maven\repo\jfree\jcommon\1.0.15\jcommon-1.0.15.jar’ openblocks Build path Build Path Problem
Project ‘openblocks’ is missing required library: ‘D:\maven\repo\net\sourceforge\cssparser\cssparser.9.6\cssparser-0.9.6.jar’ openblocks Build path Build Path Problem
Project ‘openblocks’ is missing required library: ‘D:\maven\repo\org\w3c\css\sac\1.3\sac-1.3.jar’ openblocks Build path Build Path Problem
Project ‘openblocks’ is missing required library: ‘D:\maven\repo\junit\junit\4.8.1\junit-4.8.1.jar’ openblocks Build path Build Path Problem
I’ve integrated the src code of ardublocks into eclipse and i’ve tried to edit and add more features to tht and while execution m getting “Error: Could not find or load main class com.ardublock.Main” and after loading the main method also m getting the same error……Plzz help me!!!
Thanks in advance……….
I keep getting the same eclipse build path errors as posted by the other guys before, mostly because maven can’t install the files needed into my repository.
Could someone please post a more detailed installation manual or a quick tip on how to setup maven, as I am not very experienced with it?
I’d like to develop custom blocks for an university-project, it would be nice if someone could help me with this so I can start working.
Thanks in advance!!
I’m trying to make my blocks in ArduBlocks for a university project, but I’m having some problems. Before I show my errors I’ll set up some directories:
Maven Directory: ‘D:\Maven’
Workspace: ‘C:\workspace’
Ardublocks-master: ‘C:\ardublocks-master’
Openblocks-master: ‘C:\openblocks-master’
What I did:
1. Created the workspace. Import openblocks-master and ardublocks-master. But I found the same error than “Daniel” reported
2. I made what the “Leonilde” said, and the result is equal than “guy” reported.
3. Then I executed the “mvn eclipse:eclipse” inside of openblocks-master’s folder, and was OK. I made the same inside of ardublocks-master, and got an error
4. I tried various tutorials but don’t got any good result
5. I want to know, what I need to do. After create a workspace, import both -master projects and setup the M2_REPO to Maven Directory, where I need to execute “mvn eclipse:eclipse”? Inside of workspace folder or any -master folder?
Sorry for my newbie questions, but I never used Eclipse neither Maven and I really need to configure this 😀
Exception in thread “main” java.util.MissingResourceException: Can’t find bundle for base name com/ardublock/block/ardublock, locale zh_TW
at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
at java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.util.ResourceBundle.getBundle(Unknown Source)
at com.ardublock.core.Context.resetWorksapce(Context.java:106)
at com.ardublock.core.Context.(Context.java:76)
at com.ardublock.core.Context.getContext(Context.java:63)
at com.ardublock.ui.OpenblocksFrame.(OpenblocksFrame.java:71)
at com.ardublock.Main.startOpenblocksFrame(Main.java:30)
at com.ardublock.Main.startArdublock(Main.java:24)
at com.ardublock.Main.main(Main.java:19)
Wow. This is not for the faint of heart (i.e. beginner). After much struggling, I got it to run from Eclipse 4.3 in a Linux virtual box and modify it. Now I having trouble building the executable jar. If I export it from Eclipse, it get the following errors when launching Arduino:
java.lang.NullPointerException
at javax.swing.ImageIcon.(ImageIcon.java:204)
at edu.mit.blocks.codeblocks.JComponentDragHandler.createHandCursor(JComponentDragHandler.java:94)
at edu.mit.blocks.codeblocks.JComponentDragHandler.initHandCursors(JComponentDragHandler.java:82)
at edu.mit.blocks.codeblocks.JComponentDragHandler.(JComponentDragHandler.java:77)
at edu.mit.blocks.renderable.RenderableBlock.(RenderableBlock.java:232)
at edu.mit.blocks.renderable.RenderableBlock.(RenderableBlock.java:186)
at edu.mit.blocks.renderable.FactoryRenderableBlock.(FactoryRenderableBlock.java:40)
at edu.mit.blocks.workspace.PageDrawerLoadingUtils.loadBlockDrawerSets(PageDrawerLoadingUtils.java:236)
at edu.mit.blocks.workspace.Workspace.loadWorkspaceFrom(Workspace.java:849)
at edu.mit.blocks.controller.WorkspaceController.loadFreshWorkspace(WorkspaceController.java:397)
at com.ardublock.core.Context.resetWorksapce(Context.java:110)
at com.ardublock.core.Context.(Context.java:76)
at com.ardublock.core.Context.getContext(Context.java:63)
at com.ardublock.ui.OpenblocksFrame.(OpenblocksFrame.java:71)
at com.ardublock.ui.ArduBlockToolFrame.(ArduBlockToolFrame.java:3)
at com.ardublock.ArduBlockTool.init(ArduBlockTool.java:28)
at processing.app.Editor.addTools(Editor.java:801)
at processing.app.Editor.buildToolsMenu(Editor.java:678)
at processing.app.Editor.buildMenuBar(Editor.java:482)
at processing.app.Editor.(Editor.java:204)
at processing.app.Base.handleOpen(Base.java:700)
at processing.app.Base.handleOpen(Base.java:665)
at processing.app.Base.handleNew(Base.java:561)
at processing.app.Base.(Base.java:301)
at processing.app.Base.main(Base.java:190)
If i try $mvn clean package from the command line I get:
[INFO] Scanning for projects…
[INFO]
[INFO] ————————————————————————
[INFO] Building ArduBlock 0.1.0-SNAPSHOT
[INFO] ————————————————————————
[WARNING] The POM for edu.mit:openblocks:jar:1.0.2-SNAPSHOT is missing, no dependency information available
[INFO] ————————————————————————
[INFO] BUILD FAILURE
[INFO] ————————————————————————
[INFO] Total time: 0.761s
[INFO] Finished at: Fri Jan 31 16:09:40 PST 2014
[INFO] Final Memory: 5M/15M
[INFO] ————————————————————————
[ERROR] Failed to execute goal on project ardublock: Could not resolve dependencies for project org.ardublock:ardublock:jar:0.1.0-SNAPSHOT: Failure to find edu.mit:openblocks:jar:1.0.2-SNAPSHOT in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
Wait, I got it.
I ran the “install_openblocks” from the command line and now maven is happy. Is there any way to configure Eclipse to run Arduino & ArduBlocks together?
Can you give me some indications to create blocks for COMUNICATIONS ? Can I buy some blocks for Ardublock ?
– if (Serial)
– Serial.available ()
– Serial.read ()
– Serial.peek ()
I’m newbie and using eclipse Luna. I can’t import an ardublock and openblocks form file in your download link (above), under maven:
for openblock and ardublock:
Could not get the value for parameter encoding for plugin execution default-resources
Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to collect dependencies at org.apache.maven.plugins:maven-resources-plugin:jar:2.6 -> org.apache.maven.shared:maven-filtering:jar:1.1
Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-install-plugin:2.5:install-file
(execution: install-arduino-pde, phase: validate)
Hi,
I chose the ignore option in eclipse for the error shown above. It should not affect anything because the final compiling is done using maven. Pls correct if I am wrong.
You don’t need Eclipse to hack ardublock .
If you want to change value in class file you can do it with ce 2.23 class editor
example :Partie_Emetteur.class file in ardublock product wrong code
emettreTexte(“Emetteur”);
just delete “” and save class file >Then put it back to jar file.
If you want to write new code :
example;
1.load Partie_Emetteur.class to class editor
2.Write to string emettreTexte(“Emetteur”);_Serial.print(“Greece”);_Serial.print(“kastoria)”;_
3.modify and save
4.load hex editor (HXD)
5.load class file
6.find the symbol “_” and change in hex editor (left) with 0A .You will see (right ) the symbol “.” tha means \n next line.DO and the other “_”
7.save and exit
8.put back class file to jar .
If you want make new block its very simple to do.
JUST edit 3 files in ardublock .
I’m getting this error:
Unbound classpath variable: ‘M2_REPO/arduino/pde/1.0/pde-1.0.jar’ in project ‘ardublock’
Unbound classpath variable: ‘M2_REPO/jfree/jcommon/1.0.15/jcommon-1.0.15.jar’ in project ‘openblocks’
Unbound classpath variable: ‘M2_REPO/jfree/jfreechart/1.0.12/jfreechart-1.0.12.jar’ in project ‘openblocks’
Unbound classpath variable: ‘M2_REPO/junit/junit/4.8.1/junit-4.8.1.jar’ in project ‘openblocks’
Unbound classpath variable: ‘M2_REPO/net/sourceforge/cssparser/cssparser/0.9.6/cssparser-0.9.6.jar’ in project ‘openblocks’
Unbound classpath variable: ‘M2_REPO/org/w3c/css/sac/1.3/sac-1.3.jar’ in project ‘openblocks’
Do you know how can i fix it?
Thank you
Try this
http://www.mkyong.com/maven/how-to-configure-m2_repo-variable-in-eclipse-ide/
regards
HI
i try that.
but i can not solve the problem.
Description Resource Path Location Type
The project cannot be built until build path errors are resolved ardublock Unknown Java Problem
The project cannot be built until build path errors are resolved openblocks Unknown Java Problem
Project ‘ardublock’ is missing required library: ‘D:\maven\repo\arduino\pde\1.0\pde-1.0.jar’ ardublock Build path Build Path Problem
Project ‘openblocks’ is missing required library: ‘D:\maven\repo\jfree\jfreechart\1.0.12\jfreechart-1.0.12.jar’ openblocks Build path Build Path Problem
Project ‘openblocks’ is missing required library: ‘D:\maven\repo\jfree\jcommon\1.0.15\jcommon-1.0.15.jar’ openblocks Build path Build Path Problem
Project ‘openblocks’ is missing required library: ‘D:\maven\repo\net\sourceforge\cssparser\cssparser.9.6\cssparser-0.9.6.jar’ openblocks Build path Build Path Problem
Project ‘openblocks’ is missing required library: ‘D:\maven\repo\org\w3c\css\sac\1.3\sac-1.3.jar’ openblocks Build path Build Path Problem
Project ‘openblocks’ is missing required library: ‘D:\maven\repo\junit\junit\4.8.1\junit-4.8.1.jar’ openblocks Build path Build Path Problem
Best Regards
Try
$ mvn eclipse:eclipse
I’ve integrated the src code of ardublocks into eclipse and i’ve tried to edit and add more features to tht and while execution m getting “Error: Could not find or load main class com.ardublock.Main” and after loading the main method also m getting the same error……Plzz help me!!!
Thanks in advance……….
Hello,
I keep getting the same eclipse build path errors as posted by the other guys before, mostly because maven can’t install the files needed into my repository.
Could someone please post a more detailed installation manual or a quick tip on how to setup maven, as I am not very experienced with it?
I’d like to develop custom blocks for an university-project, it would be nice if someone could help me with this so I can start working.
Thanks in advance!!
We will test this out with clean installation of the system.
Try
$ mvn eclipse:eclipse
I’m trying to make my blocks in ArduBlocks for a university project, but I’m having some problems. Before I show my errors I’ll set up some directories:
Maven Directory: ‘D:\Maven’
Workspace: ‘C:\workspace’
Ardublocks-master: ‘C:\ardublocks-master’
Openblocks-master: ‘C:\openblocks-master’
What I did:
1. Created the workspace. Import openblocks-master and ardublocks-master. But I found the same error than “Daniel” reported
2. I made what the “Leonilde” said, and the result is equal than “guy” reported.
3. Then I executed the “mvn eclipse:eclipse” inside of openblocks-master’s folder, and was OK. I made the same inside of ardublocks-master, and got an error
4. I tried various tutorials but don’t got any good result
5. I want to know, what I need to do. After create a workspace, import both -master projects and setup the M2_REPO to Maven Directory, where I need to execute “mvn eclipse:eclipse”? Inside of workspace folder or any -master folder?
Sorry for my newbie questions, but I never used Eclipse neither Maven and I really need to configure this 😀
Will try to replicate the error… What’s the version of Eclipse you are using?
Hi
I have a error, Plzz help me!!!
Exception in thread “main” java.util.MissingResourceException: Can’t find bundle for base name com/ardublock/block/ardublock, locale zh_TW
at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
at java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.util.ResourceBundle.getBundle(Unknown Source)
at com.ardublock.core.Context.resetWorksapce(Context.java:106)
at com.ardublock.core.Context.(Context.java:76)
at com.ardublock.core.Context.getContext(Context.java:63)
at com.ardublock.ui.OpenblocksFrame.(OpenblocksFrame.java:71)
at com.ardublock.Main.startOpenblocksFrame(Main.java:30)
at com.ardublock.Main.startArdublock(Main.java:24)
at com.ardublock.Main.main(Main.java:19)
Please let us know more about your setup.
Hello David
I use Eclipse Standard 4.3.1
Java Version is 1.7.0_15
lib have
org.apache.commons.io.jar
pde.jar
poi-3.9.jar
poi-ooxml-3.9.jar
xmlbeans-5.1.2.jar
Have you install maven and have the maven plugin installed for the Eclipse?
Hello David
I have not install maven plugin for the Eclipse
Wow. This is not for the faint of heart (i.e. beginner). After much struggling, I got it to run from Eclipse 4.3 in a Linux virtual box and modify it. Now I having trouble building the executable jar. If I export it from Eclipse, it get the following errors when launching Arduino:
java.lang.NullPointerException
at javax.swing.ImageIcon.(ImageIcon.java:204)
at edu.mit.blocks.codeblocks.JComponentDragHandler.createHandCursor(JComponentDragHandler.java:94)
at edu.mit.blocks.codeblocks.JComponentDragHandler.initHandCursors(JComponentDragHandler.java:82)
at edu.mit.blocks.codeblocks.JComponentDragHandler.(JComponentDragHandler.java:77)
at edu.mit.blocks.renderable.RenderableBlock.(RenderableBlock.java:232)
at edu.mit.blocks.renderable.RenderableBlock.(RenderableBlock.java:186)
at edu.mit.blocks.renderable.FactoryRenderableBlock.(FactoryRenderableBlock.java:40)
at edu.mit.blocks.workspace.PageDrawerLoadingUtils.loadBlockDrawerSets(PageDrawerLoadingUtils.java:236)
at edu.mit.blocks.workspace.Workspace.loadWorkspaceFrom(Workspace.java:849)
at edu.mit.blocks.controller.WorkspaceController.loadFreshWorkspace(WorkspaceController.java:397)
at com.ardublock.core.Context.resetWorksapce(Context.java:110)
at com.ardublock.core.Context.(Context.java:76)
at com.ardublock.core.Context.getContext(Context.java:63)
at com.ardublock.ui.OpenblocksFrame.(OpenblocksFrame.java:71)
at com.ardublock.ui.ArduBlockToolFrame.(ArduBlockToolFrame.java:3)
at com.ardublock.ArduBlockTool.init(ArduBlockTool.java:28)
at processing.app.Editor.addTools(Editor.java:801)
at processing.app.Editor.buildToolsMenu(Editor.java:678)
at processing.app.Editor.buildMenuBar(Editor.java:482)
at processing.app.Editor.(Editor.java:204)
at processing.app.Base.handleOpen(Base.java:700)
at processing.app.Base.handleOpen(Base.java:665)
at processing.app.Base.handleNew(Base.java:561)
at processing.app.Base.(Base.java:301)
at processing.app.Base.main(Base.java:190)
If i try $mvn clean package from the command line I get:
[INFO] Scanning for projects…
[INFO]
[INFO] ————————————————————————
[INFO] Building ArduBlock 0.1.0-SNAPSHOT
[INFO] ————————————————————————
[WARNING] The POM for edu.mit:openblocks:jar:1.0.2-SNAPSHOT is missing, no dependency information available
[INFO] ————————————————————————
[INFO] BUILD FAILURE
[INFO] ————————————————————————
[INFO] Total time: 0.761s
[INFO] Finished at: Fri Jan 31 16:09:40 PST 2014
[INFO] Final Memory: 5M/15M
[INFO] ————————————————————————
[ERROR] Failed to execute goal on project ardublock: Could not resolve dependencies for project org.ardublock:ardublock:jar:0.1.0-SNAPSHOT: Failure to find edu.mit:openblocks:jar:1.0.2-SNAPSHOT in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
Any ideas?
Wait, I got it.
I ran the “install_openblocks” from the command line and now maven is happy. Is there any way to configure Eclipse to run Arduino & ArduBlocks together?
I can’t import an ardublock and openblocks form file in your download link (above), pls help me.
Could you post your error? Thanks.
Can you give me some indications to create blocks for COMUNICATIONS ? Can I buy some blocks for Ardublock ?
– if (Serial)
– Serial.available ()
– Serial.read ()
– Serial.peek ()
I see very limited support for Grove modules. Are there a library I can import into Ardublock to expand with additional Grove modules?
We are working with SeeedStudio to expand the support.
I’m newbie and using eclipse Luna. I can’t import an ardublock and openblocks form file in your download link (above), under maven:
for openblock and ardublock:
Could not get the value for parameter encoding for plugin execution default-resources
Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to collect dependencies at org.apache.maven.plugins:maven-resources-plugin:jar:2.6 -> org.apache.maven.shared:maven-filtering:jar:1.1
pls help me.
Do a “mvn eclipse:eclipse” in both openblocks and ardublock.
Hello! after many hours and configuring maven ( and do mvn eclipse:eclipse) ; I still have these errors when loading ardublock:
Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-install-plugin:2.5:install-file
(execution: install-arduino-pde, phase: validate)
And:
Project ‘ardublock-master’ is missing required library: ‘C:\Users\mimid\.m2\repository\edu\mit\openblocks\1.0.2-SNAPSHOT\openblocks-1.0.2-SNAPSHOT.jar’
Do you know how can i fix it?
Thank you
i have same problem
Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-install-plugin:2.5:install-file
(execution: install-arduino-pde, phase: validate)
Hi,
I chose the ignore option in eclipse for the error shown above. It should not affect anything because the final compiling is done using maven. Pls correct if I am wrong.
Hi,
a lot of people are becoming crazy with the install of eclipse, maven, open block, etc……
Please help us !!!
I can find nowhere a complete documentation, step by step, to install ardublock and create blocks easily !
I’m sorry, but we really need help, not only advice one by one.
Can’t it be possible to provide a portable version of eclipse with evrything installed/configured ?
I hope you could help us to help us to enhance this project.
Thanks a lot !
Will be creating a new set of document soon!
if you have problems with dependencies, you can download all the needed jar files here: http://jar-download.com/index.php
Al importar los dos proyectos me dice que nose puede (que no hay), help
you dont need maven. paste the maven xml on this site: http://jar-download.com/index.php
Hi, somebody have a recipe to setup development Ardublock in Windows 8.1 x64? i tried for couple of weeks an no have idea to do this..
Is there a way to ad a RTC clock with ardublock?? thank you
I want to know, if you know a guide to learn how to edit ardublock in eclipse ide, please
Hello,
I’m trying to implement the offical “motor shield Rev3” from Arduino Is someone has still completed this job ?
Best regards
Eric
You don’t need Eclipse to hack ardublock .
If you want to change value in class file you can do it with ce 2.23 class editor
example :Partie_Emetteur.class file in ardublock product wrong code
emettreTexte(“Emetteur”);
just delete “” and save class file >Then put it back to jar file.
If you want to write new code :
example;
1.load Partie_Emetteur.class to class editor
2.Write to string emettreTexte(“Emetteur”);_Serial.print(“Greece”);_Serial.print(“kastoria)”;_
3.modify and save
4.load hex editor (HXD)
5.load class file
6.find the symbol “_” and change in hex editor (left) with 0A .You will see (right ) the symbol “.” tha means \n next line.DO and the other “_”
7.save and exit
8.put back class file to jar .
If you want make new block its very simple to do.
JUST edit 3 files in ardublock .
hi, I would like to know if ardublock has built-in library for ADXL345 accelerometer?