mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Ant Build: Fixed references to source files.
Fixes #4896 - Build fails on non-Windows OS.
This commit is contained in:
parent
18e256849c
commit
c868c03f98
@ -59,7 +59,8 @@
|
|||||||
<for param="file">
|
<for param="file">
|
||||||
<path><fileset dir="${dist.dir}/ui/minified/" includes="*.js" /></path>
|
<path><fileset dir="${dist.dir}/ui/minified/" includes="*.js" /></path>
|
||||||
<sequential>
|
<sequential>
|
||||||
<propertyregex override="yes" property="target" input="@{file}" regexp=".+\\(.+)\.min\.js$" replace="\1"/>
|
<basename file="@{file}" property="target" />
|
||||||
|
<propertyregex override="yes" property="target" input="${target}" regexp="(.+)\.min\.js$" replace="\1"/>
|
||||||
<concat destfile="${dist.dir}/ui-headered/${target}.min.js">
|
<concat destfile="${dist.dir}/ui-headered/${target}.min.js">
|
||||||
<header file="${dist.dir}/headers/${target}.js" />
|
<header file="${dist.dir}/headers/${target}.js" />
|
||||||
<fileset file="@{file}" />
|
<fileset file="@{file}" />
|
||||||
@ -86,7 +87,7 @@
|
|||||||
|
|
||||||
<concat destfile="${dist.dir}/ui/${concatenated}.js">
|
<concat destfile="${dist.dir}/ui/${concatenated}.js">
|
||||||
<filelist dir="${src.dir}/" files="${core.files}" />
|
<filelist dir="${src.dir}/" files="${core.files}" />
|
||||||
<fileset dir="${src.dir}/" includes="ui.*.js, effects.*.js" excludes="${core.files}" />
|
<fileset dir="${src.dir}/" includes="jquery.ui.*.js, effects.*.js" excludes="${core.files}" />
|
||||||
</concat>
|
</concat>
|
||||||
<echo message="Concatenated built." />
|
<echo message="Concatenated built." />
|
||||||
|
|
||||||
@ -115,7 +116,7 @@
|
|||||||
|
|
||||||
<apply executable="java" parallel="false">
|
<apply executable="java" parallel="false">
|
||||||
<filelist dir="${dist.dir}/ui/" files="${concatenated}.js" />
|
<filelist dir="${dist.dir}/ui/" files="${concatenated}.js" />
|
||||||
<fileset dir="${src.dir}/" includes="ui.*.js, effects.*.js" />
|
<fileset dir="${src.dir}/" includes="jquery.ui.*.js, jquery.effects.*.js" />
|
||||||
<arg line="-jar" />
|
<arg line="-jar" />
|
||||||
<arg path="${yui-jar}" />
|
<arg path="${yui-jar}" />
|
||||||
<arg value="--charset" />
|
<arg value="--charset" />
|
||||||
@ -129,7 +130,7 @@
|
|||||||
|
|
||||||
<apply executable="java" parallel="false">
|
<apply executable="java" parallel="false">
|
||||||
<filelist dir="${dist.dir}/ui/i18n/" files="${concatenated.i18n}.js" />
|
<filelist dir="${dist.dir}/ui/i18n/" files="${concatenated.i18n}.js" />
|
||||||
<fileset dir="${src.dir}/i18n/" includes="ui.*.js" />
|
<fileset dir="${src.dir}/i18n/" includes="jquery.ui.*.js" />
|
||||||
<arg line="-jar" />
|
<arg line="-jar" />
|
||||||
<arg path="${yui-jar}" />
|
<arg path="${yui-jar}" />
|
||||||
<arg value="--charset" />
|
<arg value="--charset" />
|
||||||
@ -151,7 +152,7 @@
|
|||||||
</copy>
|
</copy>
|
||||||
|
|
||||||
<copy overwrite="true" todir="${dist.dir}/ui/">
|
<copy overwrite="true" todir="${dist.dir}/ui/">
|
||||||
<fileset dir="${src.dir}/" includes="ui.*.js, effects.*.js" />
|
<fileset dir="${src.dir}/" includes="jquery.ui.*.js, jquery.effects.*.js" />
|
||||||
</copy>
|
</copy>
|
||||||
|
|
||||||
<copy overwrite="true" todir="${dist.dir}/ui/i18n/" >
|
<copy overwrite="true" todir="${dist.dir}/ui/i18n/" >
|
||||||
|
Loading…
Reference in New Issue
Block a user