Working directory of iVProg 2 (version Java). It works under Java 6 (or newer). Repositório de trabalho do IVProg 2 na versão Java.
Since 2014 we do not have any one dedicated to improve iVProg2. Perhaps you can advance the iVProg2 project. This version demands the auxiliary free package "BeanShell", but it is a working version without it (this one runs with Java 4).
The iVProg2 can be used as application (that could register files) or even as "applet" (in this case, you can use the free browser PaleMoon since Firefox and Chrome abolished Java from them...).
If you want to generate the iVProg2 JAR package manually (by command lines), you can follow these steps:
Please, get the package 'https://github.com/LInE-IME-USP/ivp2java/auxilliary_ivprog2.tgz'. It contains:
compile_all # script to compile iVProg2 make_jar # script to prepare JAR mainClass # pointer to iVProg2 main class bin/bsh/* # auxiliary package to run (from http://www.beanshell.org/) bin/ilm/framework/config/defaultConfig.properties # configuration bin/usp/ime/line/ivprog/view/utils/language/ptBR.properties # messages in Portuguese language bin/usp/ime/line/ivprog/view/utils/language/enUS.properties # messages in English language (you can prepare others - please send it to us) bin/usp/ime/line/resources # auxiliary resources (as images)
Make a clone of iVProg2 master directory (usually you will register it as 'ivp2java-master.zip');
Go to the target directory (where you intend to generate iVProg2.jar);
$ mkdir ivp $ cd ivp $ mv /directory/ivp2java-master.zip . $ unzip -x ivp2java-master.zip
To generate an English version of iVProg2 (for now it is not simple as by menu or command line 'lang=enUS') 4.1 Edit the file 'usp/ime/line/ivprog/view/utils/language/ResourceBundleIVP.java' 4.2 Change the following line
'private static final String BUNDLE_NAME = "usp.ime.line.ivprog.view.utils.language.ptBR";
"private static final String BUNDLE_NAME = "usp.ime.line.ivprog.view.utils.language.enUS"; 4.3 You can prepare your other language file as 'usp/ime/line/ivprog/view/utils/language/xxYY.properties'
using 'usp/ime/line/ivprog/view/utils/language/enUS.properties' as model.
In this case, if you feel confortable to distribute it, please send it to me 'firstname.lastname@example.org' ;)
Get the auxiliary binaries (from 'https://github.com/LInE-IME-USP/ivp2java/auxilliary_ivprog2.tgz') and place it at the same directory ('ivp')
$ tar xvfz auxilliary_ivprog2.tgz'
Compile all iVprog2 JAVA files (see the 'java' command line, adapt it to your 'javac' compiler - that must be from version 6 to up):
$ sh compile_all
Pack all CLASS files in a single JAR file ('iVProg2.jar')
$ sh make_jar
Put the 'iVPro2.jar' file generated in any place to run
$ java -jar iVProg2.jar [your_file.ivp2]
or (ir you have any prepared file from iVProg2)
$ java -jar iVProg2.jar your_file.ivp2 lang=enUS
Then you must place the 'iVProg2.jar' in you preferable directory to run as you wish.
There are lot of thinks to adjust, but this version is ready to be used in several situations.