scripts/build.xml
changeset 159 137ed78712d1
parent 157 c68f6790ea55
child 160 9229a5237a62
equal deleted inserted replaced
158:eea70b5d3a93 159:137ed78712d1
    35         
    35         
    36         This tutorial simply copies the projects directly from your workspace
    36         This tutorial simply copies the projects directly from your workspace
    37         into the appropriate build directory folders.
    37         into the appropriate build directory folders.
    38     -->
    38     -->
    39 
    39 
    40    <property name="sourceDirectory" location="/home/symbian/wrttools/" />
    40 
    41    <target name="init">
    41    <target name="init">
    42         <mkdir dir="${buildDirectory}" />
    42         <mkdir dir="${buildDirectory}" />
    43         <mkdir dir="${buildDirectory}/plugins" />
    43         <mkdir dir="${buildDirectory}/plugins" />
    44 	<echo message="${sourceDirectory}" />
    44 	<echo message="source dir: ${sourceDirectory}" />
       
    45 	<echo message="build dir: ${buildDirectory} " />
    45         <copy todir="${buildDirectory}/plugins">
    46         <copy todir="${buildDirectory}/plugins">
    46             <fileset dir="${sourceDirectory}">
    47             <fileset dir="${sourceDirectory}">
    47                 <include name="org.chromium**/**/*" />
    48                 <include name="org.chromium**/**/*" />
    48             </fileset>
    49             </fileset>
    49            <fileset dir="${sourceDirectory}">
    50            <fileset dir="${sourceDirectory}">
    63         This target actually executes the PDE Build process by launching the 
    64         This target actually executes the PDE Build process by launching the 
    64         Eclipse antRunner application.
    65         Eclipse antRunner application.
    65     -->
    66     -->
    66     <target name="pde-build">
    67     <target name="pde-build">
    67         <echo message="Executing ${eclipseLocation}/plugins/org.eclipse.equinox.launcher_${equinoxLauncherPluginVersion}.jar"/>
    68         <echo message="Executing ${eclipseLocation}/plugins/org.eclipse.equinox.launcher_${equinoxLauncherPluginVersion}.jar"/>
       
    69 	<echo message="source dir: ${sourceDirectory}" />
       
    70 	<echo message="build dir: ${buildDirectory} " />
    68         <java classname="org.eclipse.equinox.launcher.Main" fork="true" failonerror="true">
    71         <java classname="org.eclipse.equinox.launcher.Main" fork="true" failonerror="true">
    69             <arg value="-application" />
    72             <arg value="-application" />
    70             <arg value="org.eclipse.ant.core.antRunner" />
    73             <arg value="org.eclipse.ant.core.antRunner" />
    71             <arg value="-buildfile" />
    74             <arg value="-buildfile" />
    72             <arg value="${eclipseLocation}/plugins/org.eclipse.pde.build_${pdeBuildPluginVersion}/scripts/productBuild/productBuild.xml" />
    75             <arg value="${eclipseLocation}/plugins/org.eclipse.pde.build_${pdeBuildPluginVersion}/scripts/productBuild/productBuild.xml" />