shepard should define build and source directory
authorJohn Kern <johnk@symbian.org>
Tue, 16 Feb 2010 16:10:34 -0800
changeset 159 137ed78712d1
parent 158 eea70b5d3a93
child 160 9229a5237a62
shepard should define build and source directory
scripts/build.properties
scripts/build.xml
--- a/scripts/build.properties	Tue Feb 16 15:33:55 2010 -0800
+++ b/scripts/build.properties	Tue Feb 16 16:10:34 2010 -0800
@@ -25,7 +25,8 @@
 
 ############# PRODUCT/PACKAGING CONTROL #############
 # product=/plugin or feature id/path/to/.product
-product=/home/symbian/scratch/build_dir/046/workspace/wrttools/org.symbian.tools.wrttools.product/wrt-ide.product
+product=${sourceDirectory}/org.symbian.tools.wrttools.product/wrt-ide.product
+
 runPackager=true
 
 #Set the name of the archive that will result from the product build.
@@ -43,9 +44,7 @@
 # By default the value is *,*,*
 #configs = *, *, *
 configs=win32, win32, x86 & \
-	linux, gtk, x86 & \
- 	macos, cocoa, x86
-
+	linux, gtk, x86 
 
 # By default PDE creates one archive (result) per entry listed in the configs property.
 # Setting this value to true will cause PDE to only create one output containing all 
@@ -109,7 +108,6 @@
 ############## BUILD NAMING CONTROL ################
 # The directory into which the build elements are fetched and where
 # the build takes place.
-buildDirectory=${user.home}/eclipse.build
 
 # Type of build.  Used in naming the build output.  Typically this value is
 # one of I, N, M, S, ...
--- a/scripts/build.xml	Tue Feb 16 15:33:55 2010 -0800
+++ b/scripts/build.xml	Tue Feb 16 16:10:34 2010 -0800
@@ -37,11 +37,12 @@
         into the appropriate build directory folders.
     -->
 
-   <property name="sourceDirectory" location="/home/symbian/wrttools/" />
+
    <target name="init">
         <mkdir dir="${buildDirectory}" />
         <mkdir dir="${buildDirectory}/plugins" />
-	<echo message="${sourceDirectory}" />
+	<echo message="source dir: ${sourceDirectory}" />
+	<echo message="build dir: ${buildDirectory} " />
         <copy todir="${buildDirectory}/plugins">
             <fileset dir="${sourceDirectory}">
                 <include name="org.chromium**/**/*" />
@@ -65,6 +66,8 @@
     -->
     <target name="pde-build">
         <echo message="Executing ${eclipseLocation}/plugins/org.eclipse.equinox.launcher_${equinoxLauncherPluginVersion}.jar"/>
+	<echo message="source dir: ${sourceDirectory}" />
+	<echo message="build dir: ${buildDirectory} " />
         <java classname="org.eclipse.equinox.launcher.Main" fork="true" failonerror="true">
             <arg value="-application" />
             <arg value="org.eclipse.ant.core.antRunner" />