BUILD FAILED Target "build_all" does not exist in the project "edu.harvard.i2b2.ontology".

256 views
Skip to first unread message

ak

unread,
Jun 15, 2016, 2:43:43 PM6/15/16
to i2b2 Install Help

I am in the 9.5 Deployment step and they have mentioned the following command to run for windows:


%ANT_HOME%\bin\ant.bat -f master_build.xml clean build-all deploy


I tried running the same and got the build failed error because the "build_all"  is in fact not present in the directory as shown in the screenshot attached and shown below:




Could any one tell me if I need to use any other file name instead of build-all which does not exist?



build_all.PNG

Josh Hahn

unread,
Jun 15, 2016, 2:53:55 PM6/15/16
to i2b2 Install Help
Actually, the Ant command is pointing to the "master_build.xml" earlier in the arguments. The "build-all" is within the master_build.xml. What exactly did the error say?

ak

unread,
Jun 15, 2016, 3:31:00 PM6/15/16
to i2b2 Install Help
Here is the screenshot of the error. It says "BUILD FAILED Target "build_all" does not exist in the project "edu.harvard.i2b2.ontology".

I am wondering where is "build-all" present in the directory? The "master_build.xml" is an earlier argument which seems to me fine. It's the "build-all" which is not present. 

Phillips, Lori C.

unread,
Jun 15, 2016, 3:46:24 PM6/15/16
to i2b2-ins...@googlegroups.com

If you open master_build.xml  you will see the ‘build-all’ target.

 

Did you cut and paste this cmd from a document?  If so you may have some extraneous blind characters. 

Try retyping the targets clean build-all deploy  … or  try each target separately.

 

%ANT_HOME%\bin\ant.bat -f master_build.xml clean

%ANT_HOME%\bin\ant.bat -f master_build.xml build-all

%ANT_HOME%\bin\ant.bat -f master_build.xml deploy

--
You received this message because you are subscribed to the Google Groups "i2b2 Install Help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to i2b2-install-h...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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.

Josh Hahn

unread,
Jun 15, 2016, 3:58:20 PM6/15/16
to i2b2 Install Help
Additionally, are you using the term "build-all" or "build_all"? I've seen it both ways in the messages and your screenshots. "build-all" is the correct term.

Good luck!

ak

unread,
Jun 16, 2016, 2:04:01 PM6/16/16
to i2b2 Install Help
Thanks. It was copy and paste problem.
Reply all
Reply to author
Forward
0 new messages