1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-05 16:56:04 +02:00
cdt/debug/org.eclipse.cdt.debug.application/configGenerator.xml
Marc-Andre Laperle 36f66d36b2 Generate config.ini for stand-alone debugger based on debug.product
Before this change, we had to remember to edit the config.ini every time
a dependency was modified in debug.product. This change introduces a
script during the build that generates the config.ini with the same list
of plugins specified in debug.product.

The cdtdebug.sh start-up script was simplified in the process because
the config.ini includes all platform-specific plugins now and they just
won't get loaded if they are not a match for the environment.

Change-Id: I658b0dd8688088e203966a154e6154f1b2c851f4
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2017-03-17 00:31:07 -04:00

15 lines
596 B
XML

<!-- This generates the config.ini file, based on the debug.product -->
<project name="Build specific targets and properties" default="generate.configuration">
<target name="generate.configuration" description="Generates config.ini file">
<java classname="org.eclipse.cdt.debug.application.ConfigGenerator" failonerror="true">
<arg value="-product"/>
<arg value="${product_path}"/>
<arg value="-out"/>
<arg value="${config_path}"/>
<classpath>
<pathelement path="bin"/>
<pathelement path="target/classes"/>
</classpath>
</java>
</target>
</project>