User Tools

Site Tools


java:testpi4j

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
java:testpi4j [2013/12/04 23:56]
rlunaro [Intro]
java:testpi4j [2014/12/24 10:42] (current)
Line 5: Line 5:
 ===== Intro ===== ===== Intro =====
  
-Have you ever wondered to test your PI4J projects directly from your computer. Avoiding this routines of compile - copy into the pi - run?? Me to. This project is to allow precisely this: I've made a testing PI4J library so you can test your development from your computer. When it's ready, the only thing you have to do is deploy it with the //​production//​ PI4J library and that's it!!! You can also debug the java code you are producing.+Have you ever wondered to test your PI4J projects directly from your computer. Avoiding this routines of compile - copy into the pi - run?? Me to. This project is to allow precisely this: I've made a testing PI4J library so you can test your development from your computer. ​
  
-<WRAP center round tip 60%> +Check this out: 
-**Current status ​of the project**+ 
 +{{ :​java:​screenshot_at_2013-12-15_23_21_28.png?​direct&​200 |}} 
 + 
 +It's my eclipse running a PI4J program, directly. The PI calls are packaged, sent over the network to the raspberry pi and there a server executes them, receives the answer and send the answer back to the computer.  
 + 
 +This way, you can develop in your PC while the Pi stuff code is executed in the raspberry pi.  
 + 
 +===== Installation instructions ===== 
 + 
 +Start to work with TestPI4J is easy: you only have download two files in the [[http://​sourceforge.net/​projects/​testpi4j/​files/?​source=navbar|files section]] ​of the project: ''​testpicore-1.0.zip''​ and ''​pi4jserver-1.0.zip''​. Or their Linux equivalents (with tgz extension).  
 + 
 +Once you have downloaded these files, you have to install the server (pi4jserve-1.0.zip) in the raspberry PI: just unpack the contents in a folder and run the pi4jServer.sh file as root.  
 + 
 +Back in your application,​ you have to replace the file pi4j-core.jar with the file testpicore.jar. In eclipse, you should remove from the classpath in Project -> properties and add the new one.  
 + 
 +Place the file ''​testPiCore.properties''​ in the main directory of your project and configure it accordingly. That's it you have to do to start running you PI4J applications directly into your PC.
  
-This project is still until development. I expect to release a first version soon.  
  
-For details, please contact through the mailing list of the project: testpi4j-general[at]lists.sourceforge.net ​ 
-</​WRAP>​ 
  
java/testpi4j.txt · Last modified: 2014/12/24 10:42 (external edit)