Forum: Building VoltDB Applications

Post: build.xml vs. deployment.xml

build.xml vs. deployment.xml
akh2103
Oct 16, 2013
I am trying to open a volt project in Eclipse. I built a very simple application in a folder called "bus" (I basically compiled and started a single table database, as if I had gotten up to this point in the documentation: http://voltdb.com/docs/GettingStarted/HWtest.php).

But when I go to try to import this as a project in Eclipse, I can't find a build.xml file anywhere in the bus directory that I used to create the Volt project -- like I would expect to find baseed on the documentation http://voltdb.com/docs/GettingStarted/EclipseAnt.php.

Am I doing something wrong? Why don't I see a build.xml?

memsql@memsql-virtual-machine:~$ find ./voltdb-3.6/bus/ -name build.xml -print //returns empty results //also can't find this when searching all folders using Eclipse GUI.
dremella
Oct 22, 2013
Hi,

Sorry about the confusion. The eclipse integration is an externalized one. I have attached along with this response a build.xml (attached as .txt - please rename to .xml when downloaded). You can create a standard Java project. Make sure to add voltdb-3.6.jar from the voltdb directory and guava-12.0.jar from the lib directory to your build path. Get your java classes into the project. Then you can just drop the build.xml and make the appropriate modifications to the variables corresponding to your machines. Please let us know if this helped you.

Thanks,
Dheeraj


I am trying to open a volt project in Eclipse. I built a very simple application in a folder called "bus" (I basically compiled and started a single table database, as if I had gotten up to this point in the documentation: http://voltdb.com/docs/GettingStarted/HWtest.php).

But when I go to try to import this as a project in Eclipse, I can't find a build.xml file anywhere in the bus directory that I used to create the Volt project -- like I would expect to find baseed on the documentation http://voltdb.com/docs/GettingStarted/EclipseAnt.php.

Am I doing something wrong? Why don't I see a build.xml?

memsql@memsql-virtual-machine:~$ find ./voltdb-3.6/bus/ -name build.xml -print //returns empty results //also can't find this when searching all folders using Eclipse GUI.