Skip to content

Commit a41ebc7

Browse files
author
Tero Piirainen
committed
Separate www and jquerytools build. Removed individual version numbers from tools. Only the main version number (ie 1.2.0) is used. Simpler.
1 parent b78ac74 commit a41ebc7

23 files changed

+42
-113
lines changed

build.properties

Lines changed: 4 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,5 @@
11

2-
# webapp root
3-
www = /opt/flowplayer/webapp/tools
4-
5-
jquery = 1.3.2
6-
sizzle = 0.9.3
7-
8-
# jQuery Tools version numbers
9-
10-
tools = 1.2.0
11-
12-
form.datepicker = 0.9.0
13-
form.slider = 0.9.0
14-
form.styleable = 0.9.0
15-
form.validator = 0.9.1
16-
17-
overlay = 1.2.0
18-
overlay.apple = 1.2.0
19-
20-
scrollable = 1.2.0
21-
scrollable.autoscroll = 1.2.0
22-
scrollable.circular = 0.9.1
23-
scrollable.navigator = 1.2.0
24-
25-
tabs = 1.2.0
26-
tabs.slideshow = 1.2.0
27-
28-
toolbox.drag = 1.0.0
29-
toolbox.flashembed = 1.2.0
30-
toolbox.history = 1.2.0
31-
toolbox.lazyload = 0.9.0
32-
toolbox.mask = 1.0.0
33-
toolbox.mousewheel = 1.0.0
34-
35-
tooltip = 1.2.0
36-
tooltip.dynamic = 1.2.0
37-
tooltip.slide = 1.2.0
38-
2+
# version numbers
3+
tools = 1.2.0
4+
jquery = 1.3.2
5+
sizzle = 0.9.3

build.xml

Lines changed: 3 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22

33
<taskdef resource="net/sf/antcontrib/antlib.xml"/>
44
<property file="build.properties" prefix="v"/>
5-
6-
<property name="www" value="${v.www}-${v.tools}"/>
7-
<property name="js" value="${www}/js"/>
85
<property name="build" value="build/${v.tools}"/>
96

107
<!-- replace @VERSION and @DATE tags -->
@@ -25,22 +22,15 @@
2522

2623
<sequential>
2724

28-
<!-- version number -->
29-
<propertyregex property="tool" input="@{file}" override="yes" replace="\1"
30-
regexp=".+/(.*)\.js"/>
31-
32-
<propertycopy name="version" from="v.${tool}" override="yes"/>
33-
34-
<replaceregexp match="@VERSION" replace="${version}" flags="g" byline="true"
35-
file="@{file}" />
36-
25+
<!-- version number -->
26+
<replaceregexp match="@VERSION" replace="${v.tools}" byline="true" file="@{file}" />
3727

3828
<!-- last modified (via <git log> command) -->
3929
<propertyregex property="source" input="@{file}" override="yes" replace="\1"
4030
regexp=".+/\d.\d.\d/(.*)\.js"/>
4131

4232
<exec executable="git" outputproperty="git.log" >
43-
<arg line="log src/${source}.js"/>
33+
<arg line="log -1 src/${source}.js"/>
4434
</exec>
4535

4636
<propertyregex property="date" input="${git.log}" select="\1">
@@ -76,37 +66,6 @@
7666

7767
</target>
7868

79-
<!-- copy stuff under web folder -->
80-
<target name="www">
81-
82-
<!-- documentation -->
83-
<mkdir dir="${www}"/>
84-
<copy todir="${www}">
85-
<fileset dir="www"/>
86-
</copy>
87-
88-
</target>
89-
90-
<!-- deploy -->
91-
<target name="deploy" depends="www">
92-
93-
<!-- zip -->
94-
<zip destfile="${build}/tools-${v.tools}.zip"
95-
basedir="${build}"
96-
excludes="*.zip" />
97-
98-
<!-- javascript -->
99-
<mkdir dir="${js}"/>
100-
<copy todir="${js}">
101-
<fileset dir="${build}"/>
102-
</copy>
103-
104-
<!-- properties -->
105-
<copy file="build.properties" tofile="${www}/../WEB-INF/tools.properties"/>
106-
107-
</target>
108-
109-
11069
</project>
11170

11271

src/form/form.datepicker.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/**
22
* @license
3-
* form.datepickerer @VERSION - Pick your (HTML5) day.
3+
* jQuery Tools @VERSION Datepicker - Compact HTML5 date picking.
44
*
55
* Copyright (c) 2010 Tero Piirainen
6-
* http://flowplayer.org/tools/form/datepickerer/
6+
* http://flowplayer.org/tools/form/datepicker/
77
*
88
* Dual licensed under MIT and GPL 2+ licenses
99
* http://www.opensource.org/licenses
1010
*
11-
* Since: jQuery Tools 1.2.0 (Mar 2010)
11+
* Since: Mar 2010
1212
* Date: @DATE
1313
*/
1414

src/form/form.slider.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @license
3-
* form.slider @VERSION - HTML5 slider. Implemented.
3+
* jQuery Tools @VERSION Slider - A HTML5 slider component
44
*
55
* Copyright (c) 2010 Tero Piirainen
66
* http://flowplayer.org/tools/form/slider/
@@ -10,7 +10,7 @@
1010
*
1111
* Requires toolbox.drag.js
1212
*
13-
* Since: jQuery Tools 1.2.0 (Mar 2010)
13+
* Since: Mar 2010
1414
* Date: @DATE
1515
*/
1616

src/form/form.styleable.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/**
22
* @license
3-
* form.styleable @VERSION - You waited. Here it is.
4-
*
3+
* jQuery Tools @VERSION Styleable - Forms + CSS. Finally.
4+
*
55
* Copyright (c) 2010 Tero Piirainen
66
* http://flowplayer.org/tools/form/styleable/
77
*
88
* Dual licensed under MIT and GPL 2+ licenses
99
* http://www.opensource.org/licenses
1010
*
11-
* Since: jQuery Tools 1.2.0 (Mar 2010)
11+
* Since: Mar 2010
1212
* Date: @DATE
1313
*/
1414
(function($) {

src/form/form.validator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Dual licensed under MIT and GPL 2+ licenses
99
* http://www.opensource.org/licenses
1010
*
11-
* Since: jQuery Tools 1.2.0 (Mar 2010)
11+
* Since: Mar 2010
1212
* Date: @DATE
1313
*/
1414

src/overlay/overlay.apple.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/**
22
* @license
3-
* overlay.apple @VERSION - Commercial bling bling for all of us
3+
* jQuery Tools @VERSION / Overlay Apple effect.
4+
* Commercial bling bling for all of us
45
*
56
* Copyright (c) 2010 Tero Piirainen
67
* http://flowplayer.org/tools/overlay/apple.html

src/overlay/overlay.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @license
3-
* tools.overlay @VERSION - Overlay base. Extend it.
3+
* jQuery Tools @VERSION Overlay - Overlay base. Extend it.
44
*
55
* Copyright (c) 2010 Tero Piirainen
66
* http://flowplayer.org/tools/overlay/

src/scrollable/scrollable.autoscroll.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @license
3-
* scrollable.autoscroll @VERSION
3+
* jQuery Tools @VERSION / Scrollable Autoscroll
44
*
55
* Copyright (c) 2010 Tero Piirainen
66
* http://flowplayer.org/tools/scrollable/autoscroll.html

src/scrollable/scrollable.circular.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @license
3-
* scrollable.circular @VERSION - Not production ready yet.
3+
* jQuery Tools @VERSION / Scrollable Circular (beta)
44
*
55
* Copyright (c) 2010 Tero Piirainen
66
* http://flowplayer.org/tools/scrollable/circular.html

0 commit comments

Comments
 (0)