A guide for recompiling is added

git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11044 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
ustcscgyer 2014-06-14 21:43:37 +00:00
parent ab3ff232fd
commit b22fe12690
2 changed files with 18 additions and 3 deletions

9
TDDFPT/ColorCalculator/Install Executable file
View File

@ -0,0 +1,9 @@
# Compile for CoclorCalculator
cd src
javac *.java
jar cfm ColorCalculator5.jar Manifest.txt *.class org com
mv ColorCalculator5.jar ..
cd ..

View File

@ -1,9 +1,9 @@
RGB calculator, by Ge Xiaochuan, Version 5
Modified from version4 by XC.G 21.May.2012
RGB calculator Version 5
Modified from version4 ( Alessandro Da Rugna ) by Ge Xiaochuan 21.May.2012
New features: automatical sorting and interpolation algorithm is added
There are two *.jar in the directory, one for version 4 and one for version 5.
By typing "java -jar ColorCalcolator5.jar" in the terminal the user interface
By typing "java -jar ColorCalculator5.jar" in the terminal the user interface
will be launched and you can choose example input files on the left of the
interface, the corresponding color and RGB values will be displayed on the
right.
@ -18,3 +18,9 @@ For using your own input, just simply create a file ith the suffix .dat in
which the first column is the wavelength(nm) and the second column is the
absorption strength. Keep the input file in the same directory then you can
see it in the UI.
==========================
For modifying and re-compiling
./src/*.java are source files, once been modified, simply run ./Install for recompiling.
Certain packages may be requested for compiling such as javac.