Default target build does not exist in this project

3,084 views
Skip to first unread message

Frank Langel

unread,
Nov 3, 2014, 5:32:54 AM11/3/14
to bndtool...@googlegroups.com
Hi, 

in bndtools 2.3.0, i get the following warning  : Default target build does not exist in this 

 project in the build.xml file of the respective project

It marks the project  tag as invalid/not found.

The entire project is now marked as erroneous.

I changed build.bnd and added two global settings, but removing the settings again doesn't help. Any idea 

 

<?xml version="1.0" encoding="UTF-8"?>

<project name="project" default="build">

 <!-- -->

 <import file="../cnf/build.xml" />

</project>

Thanks a lot

Frank


Peter Kriens

unread,
Nov 3, 2014, 5:39:12 AM11/3/14
to bndtool...@googlegroups.com
The message says that your cnf/build.xml does not provide a 'build' target. It might be that ../cnf/build.xml is not found because your project and the cnf project are not in the same directory?

Kind regards,

Peter Kriens



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

Frank Langel

unread,
Nov 3, 2014, 11:51:40 AM11/3/14
to bndtool...@googlegroups.com
True. the cnf project does not contain a build.xml file at all.
I went into the root directory, and tried to run ant, but ant could not be found.

Seems that I should find and put ANT in the path.
Its strange, I never "missed" ant.

Thanks for the pointer
Reply all
Reply to author
Forward
0 new messages