lib/build/customize.build in uppercutbuild-1.4.0.0 vs lib/build/customize.build in uppercutbuild-1.4.1.0
- old
+ new
@@ -4,14 +4,14 @@
<!-- DO NOT EDIT THIS FILE - Add custom tasks in BuildTasks.Custom folder with file by the same name - find out more at http://uppercut.pbwiki.com -->
<property name="build.config.settings" value="__NONE__" overwrite="false" />
<include buildfile="${build.config.settings}" if="${file::exists(build.config.settings)}" />
<property name="path.separator" value="${string::trim(path::combine(' ', ' '))}" />
<property name="file.current.no_extension" value="customize" />
- <property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
- <property name="path.to.toplevel" value=".." />
+ <property name="dirs.current" value="${directory::get-current-directory()}" />
+ <property name="dirs.current.file" value="${directory::get-parent-directory(project::get-buildfile-path())}" />
<property name="folder.build_scripts_custom" value="build.custom" overwrite="false" />
- <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.build_scripts_custom}" />
+ <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${folder.build_scripts_custom}" />
<property name="customize.step.name" value="__REPLACE__" overwrite="false" />
<property name="customize.step.type" value="__REPLACE__" overwrite="false" />
<property name="customize.step.type.lowered" value="${string::to-lower(customize.step.type)}" />
<property name="file.customize.template" value="item.template" />
<property name="file.customized" value="" readonly="false" />
@@ -65,13 +65,9 @@
<target name="replace_template_values">
<xmlpoke
file="${dirs.build_scripts_custom}${path.separator}${file.customized}"
xpath="/project/@name"
value="CUSTOM ${string::to-upper(customize.step.type)} ${string::to-upper(path::get-file-name-without-extension(customize.step.name))}" />
- <xmlpoke
- file="${dirs.build_scripts_custom}${path.separator}${file.customized}"
- xpath="/project/property[@name = 'path.to.toplevel']/@value"
- value="..${path.separator}.." if="${path.to.custom_file !=''}" />
</target>
<target name="report_finish_time">
<echo level="Warning" message="Customize finished at ${datetime::now()}. Please make any customizations you need to now to ${dirs.build_scripts_custom}${path.separator}${file.customized} and don't forget to add it to source control." />
</target>
\ No newline at end of file