Thanks for your help, here is the build.xml file contained within the feature project
generated from the feature.xml
<?xml version="1.0" encoding="UTF-8"?>
| <project name="org.jboss.ide.eclipse" default="build.update.jar" basedir=".">
|
| <target name="init">
| <property name="feature.temp.folder"
value="${basedir}/feature.temp.folder"/>
| <property name="feature.destination" value="${basedir}"/>
| </target>
|
| <target name="all.plugins" depends="init">
| <ant antfile="build.xml" dir="../org.apache.xalan/" target="${target}">
| </ant>
| <ant antfile="build.xml" dir="../org.jboss.ide.eclipse.core/"
target="${target}">
| </ant>
| <ant antfile="build.xml" dir="../org.jboss.ide.eclipse.launcher.core/"
target="${target}">
| </ant>
| <ant antfile="build.xml" dir="../org.jboss.ide.eclipse.ui/"
target="${target}">
| </ant>
| <ant antfile="build.xml" dir="../org.jboss.ide.eclipse.xdoclet.ui/"
target="${target}">
| </ant>
| <ant antfile="build.xml" dir="../org.jboss.ide.eclipse.xdoclet.core/"
target="${target}">
| </ant>
| <ant antfile="build.xml" dir="../org.jboss.ide.eclipse.deployer.core/"
target="${target}">
| </ant>
| <ant antfile="build.xml" dir="../org.jboss.ide.eclipse.launcher.ui/"
target="${target}">
| </ant>
| <ant antfile="build.xml"
dir="../org.jboss.ide.eclipse.packaging.core/" target="${target}">
| </ant>
| <ant antfile="build.xml"
dir="../org.jboss.ide.eclipse.xdoclet.assist/" target="${target}">
| </ant>
| <ant antfile="build.xml" dir="../org.jboss.ide.eclipse.packaging.ui/"
target="${target}">
| </ant>
| <ant antfile="build.xml" dir="../org.jboss.ide.eclipse.xdoclet.run/"
target="${target}">
| </ant>
| <ant antfile="build.xml" dir="../org.jboss.ide.eclipse.deployer.ui/"
target="${target}">
| </ant>
| </target>
| <target name="all.features" depends="init">
| </target>
| <target name="update.feature" depends="init">
| </target>
|
| <target name="all.children"
depends="init,all.features,all.plugins,update.feature">
| </target>
|
| <target name="children" if="include.children">
| <antcall target="all.children"/>
| </target>
|
| <target name="build.jars" depends="init" description="Build all the jars for
the feature: org.jboss.ide.eclipse.">
| <antcall target="all.children">
| <param name="target" value="build.jars"/>
| </antcall>
| </target>
|
| <target name="build.sources" depends="init">
| <antcall target="all.children">
| <param name="target" value="build.sources"/>
| </antcall>
| </target>
|
| <target name="build.zips" depends="init">
| <antcall target="all.children">
| <param name="target" value="build.zips"/>
| </antcall>
| </target>
|
| <target name="build.update.jar" depends="init" description="Build the feature
jar of: org.jboss.ide.eclipse for an update site.">
| <antcall target="all.children">
| <param name="target" value="build.update.jar"/>
| </antcall>
| <property name="feature.base" value="${feature.temp.folder}"/>
| <delete dir="${feature.temp.folder}"/>
| <mkdir dir="${feature.temp.folder}"/>
| <antcall target="gather.bin.parts" inheritAll="false">
| <param name="arch" value="*"/>
| <param name="ws" value="*"/>
| <param name="nl" value="*"/>
| <param name="os" value="*"/>
| <param name="feature.base" value="${feature.temp.folder}"/>
| </antcall>
| <jar
jarfile="${feature.destination}/org.jboss.ide.eclipse_1.2.330.jar"
basedir="${feature.temp.folder}/features/org.jboss.ide.eclipse_1.2.330"/>
| <delete dir="${feature.temp.folder}"/>
| </target>
|
| <target name="gather.bin.parts" depends="init" if="feature.base">
| <antcall target="children">
| <param name="destination.temp.folder"
value="${feature.base}/plugins"/>
| <param name="target" value="gather.bin.parts"/>
| </antcall>
| <mkdir dir="${feature.base}/features/org.jboss.ide.eclipse_1.2.330"/>
| <copy todir="${feature.base}/features/org.jboss.ide.eclipse_1.2.330">
| <fileset dir="${basedir}" includes="feature.xml,"
/>
| </copy>
| <eclipse.idReplacer
featureFilePath="${feature.base}/features/org.jboss.ide.eclipse_1.2.330/feature.xml"
featureIds=""
pluginIds="org.jboss.ide.eclipse.core,1.2.330,org.jboss.ide.eclipse.deployer.core,1.2.330,org.jboss.ide.eclipse.deployer.ui,1.2.330,org.jboss.ide.eclipse.launcher.core,1.2.330,org.jboss.ide.eclipse.launcher.ui,1.2.330,org.jboss.ide.eclipse.packaging.core,1.2.330,org.jboss.ide.eclipse.packaging.ui,1.2.330,org.jboss.ide.eclipse.ui,1.2.330,org.jboss.ide.eclipse.xdoclet.assist,1.2.330,org.jboss.ide.eclipse.xdoclet.core,1.2.330,org.jboss.ide.eclipse.xdoclet.run,1.2.330,org.jboss.ide.eclipse.xdoclet.ui,1.2.330,org.apache.xalan,2.4.1,"/>
| <antcall target="ROOTFILES${os}_${ws}_${arch}"/>
| </target>
| <target name="ROOTFILES*_*_*">
| </target>
|
| <target name="zip.distribution" depends="init" description="Create a zip
containing all the plug-ins and features for the feature: org.jboss.ide.eclipse.">
| <delete dir="${feature.temp.folder}"/>
| <mkdir dir="${feature.temp.folder}"/>
| <antcall target="gather.bin.parts">
| <param name="arch" value="*"/>
| <param name="ws" value="*"/>
| <param name="nl" value="*"/>
| <param name="include.children" value="true"/>
| <param name="feature.base" value="${feature.temp.folder}"/>
| <param name="os" value="*"/>
| </antcall>
| <zip
zipfile="${feature.destination}/org.jboss.ide.eclipse_1.2.330.bin.dist.zip"
basedir="${feature.temp.folder}" filesonly="false" whenempty="skip"/>
| <delete dir="${feature.temp.folder}"/>
| </target>
|
| <target name="zip.sources" depends="init">
| <delete dir="${feature.temp.folder}"/>
| <mkdir dir="${feature.temp.folder}"/>
| <antcall target="all.children">
| <param name="destination.temp.folder"
value="${feature.temp.folder}/plugins/org.jboss.ide.eclipse.source_1.2.330/src"/>
| <param name="include.children" value="true"/>
| <param name="target" value="gather.sources"/>
| </antcall>
| <zip
zipfile="${feature.destination}/org.jboss.ide.eclipse_1.2.330.src.zip"
basedir="${feature.temp.folder}" filesonly="true" whenempty="skip"/>
| <delete dir="${feature.temp.folder}"/>
| </target>
|
| <target name="zip.logs" depends="init">
| <delete dir="${feature.temp.folder}"/>
| <mkdir dir="${feature.temp.folder}"/>
| <antcall target="all.children" inheritAll="false">
| <param name="destination.temp.folder"
value="${feature.temp.folder}/plugins"/>
| <param name="include.children" value="true"/>
| <param name="target" value="gather.logs"/>
| </antcall>
| <zip
zipfile="${feature.destination}/org.jboss.ide.eclipse_1.2.330.log.zip"
basedir="${feature.temp.folder}" filesonly="true" whenempty="skip"/>
| <delete dir="${feature.temp.folder}"/>
| </target>
|
| <target name="clean" depends="init" description="Clean the feature:
org.jboss.ide.eclipse of all the zips, jars and logs created.">
| <delete
file="${feature.destination}/org.jboss.ide.eclipse_1.2.330.jar"/>
| <delete
file="${feature.destination}/org.jboss.ide.eclipse_1.2.330.bin.dist.zip"/>
| <delete
file="${feature.destination}/org.jboss.ide.eclipse_1.2.330.log.zip"/>
| <delete
file="${feature.destination}/org.jboss.ide.eclipse_1.2.330.src.zip"/>
| <delete dir="${feature.temp.folder}"/>
| <antcall target="all.children">
| <param name="target" value="clean"/>
| </antcall>
| </target>
|
| <target name="refresh" depends="init" if="eclipse.running"
description="Refresh this folder.">
| <eclipse.convertPath
fileSystemPath="C:/Removable/Work/Development/JBoss-IDE/code/contrib/jbosside/feature"
property="resourcePath"/>
| <eclipse.refreshLocal resource="${resourcePath}" depth="infinite"/>
| <antcall target="all.children">
| <param name="target" value="refresh"/>
| </antcall>
| </target>
| <target name="gather.sources">
| <antcall target="children">
| <param name="destination.temp.folder"
value="${feature.temp.folder}/plugins/org.jboss.ide.eclipse.source_1.2.330/src"/>
| <param name="target" value="gather.sources"/>
| </antcall>
| </target>
|
| <target name="gather.logs" depends="init">
| <mkdir dir="${feature.temp.folder}"/>
| <antcall target="all.children" inheritAll="false">
| <param name="destination.temp.folder"
value="${feature.temp.folder}/plugins"/>
| <param name="target" value="gather.logs"/>
| </antcall>
| </target>
|
| </project>
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833220#3833220
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833220
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development