OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Visiscript 0.4.3
freizugheit
post May 4 2006, 12:51 AM
Post #1





Group: Members
Posts: 409
Joined: 7-November 03
Member No.: 811



The new version Visiscript 0.4.3 works smoothly on my SL-5600.

Can someone shed some lights how to configure it to run various scripting langugaes, like python or other programming languages?
Go to the top of the page
 
+Quote Post
freizugheit
post May 7 2006, 05:57 PM
Post #2





Group: Members
Posts: 409
Joined: 7-November 03
Member No.: 811



Got the solution for python programming.

It presumed that python compiler is properly installed.

Click View, select Configuration.

Click Script tab, the preprogrammed "Miniscript" is in the Command field. Press and hold the button labelled "Miniscript", a list of pretyped scirpting and programming languages are available. Select "python ".

Close the Configuration windows.

Create your python code, eg 123.py in a tab window, press the Run button. It should be running.


Voila!!!!!
Go to the top of the page
 
+Quote Post
Hrw
post May 8 2006, 03:31 AM
Post #3





Group: Members
Posts: 1,376
Joined: 11-January 04
From: Poznań, Poland
Member No.: 1,413



freizugheit: thx for info about 0.4.3 release - updated Visiscript in OpenEmbedded and OpenZaurus 3.5.4
Go to the top of the page
 
+Quote Post
Darth_Sith
post Jun 6 2006, 12:23 AM
Post #4





Group: Members
Posts: 128
Joined: 6-June 06
Member No.: 10,068



Hi all.
It's possible run a java program?

Thanks.
Go to the top of the page
 
+Quote Post
freizugheit
post Jun 12 2006, 09:38 AM
Post #5





Group: Members
Posts: 409
Joined: 7-November 03
Member No.: 811



QUOTE(Darth_Sith @ Jun 6 2006, 12:23 AM)
Hi all.
It's possible run a java program?

Thanks.
*


Yes.

Preconditons:


Installation of JDK 1.1.8 classes.zip from Sun and to be stored under /mnt/cf/java/classes
Installation of Jikes Java Compiler and to be stored under /mnt/cf/java

Installation of Ewe Java Virtual Machine for Zaurus

Unzip Ewe149-Developer-SDK.zip and move the whole classes directory to /mnt/cf/java


Steps for compilation and actvattion of java code using HelloWorld.java supplied by Ewe SDK as example:

- Use Visiscript to open /mnt/cf/java/classes/tests/HelloWorld.java. You may wish to modify the java code.

- Create the following script file j.sh and save it under /mnt/cf/java using Visiscript (one-time creation):


CODE
#!/bin/bash
cd /mnt/cf/java/classes
rm $1.classs
echo "Compiling"
jikes -classpath classes.zip:CompileEwe.zip $1.java &> Aerr
echo "Displaying Errors"
cat Aerr |more
echo "Activating"
ewe $1


- In Visiscript's Main Window, click View Menu and select Configuration.
- Select the Script tab
- Type "/mnt/cf/java/j.sh tests/HelloWorld" into the field next to the Command label.
- Click OK to return to Visiscript's Main Window where text files were created.

- Press the Play button to activate the command line you have just entered.
- The script file j.sh will be executed.
- Your java code will be compiled by Jikes and activated using Ewe VM.

Voila!!!!!
Go to the top of the page
 
+Quote Post
freizugheit
post Jun 20 2006, 01:08 AM
Post #6





Group: Members
Posts: 409
Joined: 7-November 03
Member No.: 811



Has anyone successfully configured VisiScript to run Zgcc?

Please enlighten!!!!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 28th August 2014 - 03:16 PM