mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Creating zip distributions and got the source feature to work.
This commit is contained in:
parent
d4cfca7836
commit
492f586b96
3 changed files with 40 additions and 0 deletions
|
@ -10,3 +10,4 @@ build.number
|
|||
index.html
|
||||
main.xml
|
||||
site.xml
|
||||
dist
|
||||
|
|
|
@ -87,6 +87,13 @@
|
|||
</move>
|
||||
</xsl:for-each>
|
||||
|
||||
<!-- Prepare the source plugin -->
|
||||
<property name="source.plugin" value="org.eclipse.cdt.source"/>
|
||||
<replace
|
||||
file="build/plugins/${{source.plugin}}/build.properties"
|
||||
token="plugin.properties"
|
||||
value="plugin.properties,src/"/>
|
||||
|
||||
<!-- Generate build.xml files for projects -->
|
||||
<xslt in="manifest.xml" out="build/genscripts.xml" style="genscripts.xsl"/>
|
||||
<chmod perm="+x" file="build/eclipse"/>
|
||||
|
@ -97,6 +104,29 @@
|
|||
</exec>
|
||||
|
||||
<!-- Run the build.xml scripts -->
|
||||
<xsl:for-each select="projects/plugin">
|
||||
<!-- Build the source jars -->
|
||||
<ant target="build.sources">
|
||||
<xsl:attribute name="dir">
|
||||
<xsl:text>build/plugins/</xsl:text>
|
||||
<xsl:value-of select="@name"/>
|
||||
</xsl:attribute>
|
||||
<property name="javacFailOnError" value="true"/>
|
||||
<property name="ws" value="gtk"/>
|
||||
<property name="os" value="linux"/>
|
||||
</ant>
|
||||
<ant target="gather.sources">
|
||||
<xsl:attribute name="dir">
|
||||
<xsl:text>build/plugins/</xsl:text>
|
||||
<xsl:value-of select="@name"/>
|
||||
</xsl:attribute>
|
||||
<property name="javacFailOnError" value="true"/>
|
||||
<property name="ws" value="gtk"/>
|
||||
<property name="os" value="linux"/>
|
||||
<property name="destination.temp.folder" value="../${{source.plugin}}/src"/>
|
||||
</ant>
|
||||
</xsl:for-each>
|
||||
|
||||
<xsl:for-each select="projects/feature">
|
||||
<!-- The default to build the update jars -->
|
||||
<ant>
|
||||
|
|
|
@ -53,6 +53,15 @@
|
|||
</xsl:copy>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template mode="feature" match="url/update">
|
||||
<xsl:copy>
|
||||
<xsl:attribute name="url">
|
||||
<xsl:text>http://update.eclipse.org/tools/cdt/updates/builds/1.2</xsl:text>
|
||||
</xsl:attribute>
|
||||
<xsl:copy-of select="*|@*[not(name()='url')]"/>
|
||||
</xsl:copy>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="@*|*|text()">
|
||||
<xsl:copy>
|
||||
<xsl:apply-templates select="@*|*|text()"/>
|
||||
|
|
Loading…
Add table
Reference in a new issue