why is RTC build replacing my build.xml with a generated build.xml?
We are RTC noobs and we are trying to get our build engine to work correctly. Our project has a build.xml in the repository, but the build engine does not seem to be using it. Instead, it looks like it is generating a build.xml and using that one - and it fails because of references to .apt_generated folder, which does not exist in the repository.
How do we make the builds use our build.xml?
How do we make the builds use our build.xml?
One answer
It is hard to say what might be going on here, as far as I'm aware, the build engine itself does not generate build.xml files. You point it at an ant script to run that gets loaded from your workspace.
If your build engine is set up to use <a href="http://help.eclipse.org/helios/index.jsp?nav=%2F4_2_0">Eclipse PDE/Build</a>, then PDE does generate build.xml files. This is controlled by a <tt>build.properties</tt> file in the root of your project. If you want to use your own build.xml instead of the one generated by PDE/Build, then you should specify <tt>custom=true</tt> in the build.properties file. If you don't have a build.properties file, then I don't think it would be PDE/Build that is doing this.
If your build engine is set up to use <a href="http://help.eclipse.org/helios/index.jsp?nav=%2F4_2_0">Eclipse PDE/Build</a>, then PDE does generate build.xml files. This is controlled by a <tt>build.properties</tt> file in the root of your project. If you want to use your own build.xml instead of the one generated by PDE/Build, then you should specify <tt>custom=true</tt> in the build.properties file. If you don't have a build.properties file, then I don't think it would be PDE/Build that is doing this.