Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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?

0 votes



One answer

Permanent link
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.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,121

Question asked: Jun 22 '12, 9:10 a.m.

Question was seen: 4,829 times

Last updated: Jun 22 '12, 11:30 a.m.

Confirmation Cancel Confirm