'ant -f data_build.xml create_metadata_tables_release_1-5'
Means it is looking for the file 'data_build.xml' in the dir
/opt/data/edu.harvard.i2b2.data/Release_1-5/NewInstall/Metadata
So it was not necessary to copy over the build.xml file (you probably want to
delete it
as it may cause problems)
It almost sounds as if your version of ant does not recognize the -f command
switch.
What does the command 'ant -h' return? It should show a '-f' setting.
-----Original Message-----
From: i2b2-ins...@googlegroups.com
[mailto:i2b2-ins...@googlegroups.com] On Behalf Of NoviceSortOf
Sent: Friday, April 22, 2011 2:38 PM
To: i2b2 Install Help
Subject: problem with ant -f data_build.xml ... can't find build.xml Target -f
does not exist
Working with Data Installation Guide 1.5.1.
when as instructed I issue command
ant -f data_build.xml create_metadata_tables_release_1-5
It returns
Buildfile: build.xml does not exist!
The only i2b2 build.xml file I can find is in /opt/server/default/
deploy/i2b2.war/axis2-web/scripts
but I'm uncertain that is the the file this command is looking for.
If I copy /opt/server/default/deploy/i2b2.war/axis2-web/scripts/
build.xml to
/opt/data/edu.harvard.i2b2.data/Release_1-5/NewInstall/Metadata
and then attempt
ant -f data_build.xml create_metadata_tables_release_1-5
I get
BUILD FAILED
Target `-f' does not exist in this project.
Any suggestions appreciated
The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.