Wednesday, May 1, 2013

BioMart 0.8 :: ant :: Build Failed

Follow the step as mentioned in BioMart 0.8 User manual

$ git clone https://github.com/biomart/biomart-rc6.git
biomart-rc6/
$ cd biomart-rc6/
$ ant
:
[mkdir] Created dir: /home/user/Desktop/biomart-rc6/dist/registry/linkindices
:
BUILD FAILED
/home/user/Desktop/biomart-rc6/build.xml:137: /home/user/Desktop/biomart-rc6/registry/linkindices does not exist.

Unable to find a fix on the internet
- Since I know the linkindices directory was created.
- I opened the file build.xml
- Change the entry at line number 138 from
<fileset dir="${basedir}/registry/linkindices" includes="*"/>
- To
<fileset dir="${basedir}/dist/registry/linkindices" includes="*"/>

I rerun the ant command
$ ant
BUILD SUCCESSFUL

It worked

No comments:

Post a Comment