Sunday, November 16, 2008
Thus, if I want to test only the module formula, I am doing the following:
$ rm dist/jar/cdk-formula.jar
$ rm dist/jar/cdk-test-formula.jar
$ rm reports/result-formula.txt
$ ant -Dmodule=formula -Dsource=src/main compile-module
$ ant -Dmodule=test-formula -Dsource=src/test compile-module
$ ant -Dmodule=formula test-module
$ cat reports/results-formula.txt
The three first line remove all code related to formula. Afterwards the module, the test is compiled. Finally the tests are tested.
One of the inconvenient which I come across is that I had to write each time the same thing and when I changed of module rewrite again. In short I would like to write only the module to test. That is the origin I wrote a small script which may be it can interest somebody.
# Script to compile specific module of the Chemistry Development kit with the #
# the Ant build.xml system. #
if [ ! -f $BUILD ]
echo "Build file [$BUILD] not found - Aborting"
if [ $# -ne 1 ]
echo "Error in $0 - Invalid Argument Count"
echo "Syntax: $0 module_name"
if [ -f $modJ ]
echo "removing "$modJ
if [ -f $mod_testJ ]
echo "removing "$mod_testJ
if [ -f $mod_report ]
echo "removing "$mod_report
script1=$ANT" -f "$BUILD" -Dmodule="$1" -Dsource=src/main compile-module"
echo "building: "$script1
script2=$ANT" -f "$BUILD" -Dmodule=test-"$1" -Dsource=src/test compile-module"
echo "building: "$script2
script3=$ANT" -f "$BUILD" -Dmodule="$1" test-module"
echo "building: "$script3
Posted by Miguel Rojas Cherto at 3:27 AM
Saturday, October 4, 2008
Saturday, September 20, 2008
It is nice to see that CDK it is one of the strongest in JAVA tools.
Posted by Miguel Rojas Cherto at 11:19 AM
Wednesday, September 10, 2008
The research group, leaded by Prof. Xavier Correig Blanchar, has initiated to inspecte some issues in the filed of metabolomics applications. I am very happy to see that progress from a city which I love.
Posted by Miguel Rojas Cherto at 5:58 AM
Sunday, June 8, 2008
So, I hacked up in Bioclipse code to provide this functionality with a new RDFEditor plugin. It is following the same structure than the SDFEditor plugin.
Apart from reading and rendering the reaction, it also reads and displays properties in a table. Important feature to find similarities and dissimilarities between reactions.