-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
124 lines (114 loc) · 3.81 KB
/
Copy pathbuild.xml
File metadata and controls
124 lines (114 loc) · 3.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<?xml version="1.0"?>
<project name="projekt_firma" default="all" basedir=".">
<description>Buduje z cząstek plik SQL</description>
<target name="clean">
<delete file="_all.sql"/>
<delete file="_database.sql"/>
<delete file="_tables.sql"/>
<delete file="_init.sql"/>
<delete file="_procedury.sql"/>
<delete file="_funkcje.sql"/>
<delete file="_transakcje.sql"/>
<delete file="_widoki.sql"/>
</target>
<target name="all" depends="database,tables,init,procedury,funkcje,transakcje,widoki">
<concat encoding="UTF-8" outputencoding="UTF-8" destfile="_all.sql" fixlastline="yes">
<filelist dir=".">
<file name="_database.sql"/>
<file name="_tables.sql"/>
<file name="_init.sql"/>
<file name="_procedury.sql"/>
<file name="_funkcje.sql"/>
<file name="_transakcje.sql"/>
<file name="_widoki.sql"/>
</filelist>
</concat>
</target>
<target name="database">
<concat encoding="UTF-8" outputencoding="UTF-8" destfile="_database.sql" fixlastline="yes">
<filelist dir=".">
<file name="database\drop.sql"/>
<file name="database\create.sql"/>
</filelist>
</concat>
</target>
<target name="tables">
<concat encoding="UTF-8" outputencoding="UTF-8" destfile="_tables.sql" fixlastline="yes">
<filelist dir=".">
<file name="tables\koszyk.sql"/>
<file name="tables\klient.sql"/>
<file name="tables\platnosc.sql"/>
<file name="tables\transport.sql"/>
<file name="tables\stanowisko.sql"/>
<file name="tables\kod_towaru.sql"/>
<file name="tables\importer.sql"/>
<file name="tables\pracownik.sql"/>
<file name="tables\towary.sql"/>
<file name="tables\zamowienia.sql"/>
</filelist>
</concat>
</target>
<target name="init">
<concat encoding="UTF-8" outputencoding="UTF-8" destfile="_init.sql" fixlastline="yes">
<filelist dir=".">
<file name="init\init_stanowisko.sql"/>
<file name="init\init_pracownicy.sql"/>
<file name="init\init_klient.sql"/>
<file name="init\init_kod_towaru.sql"/>
<file name="init\init_importer.sql"/>
<file name="init\init_towary.sql"/>
<file name="init\init_transport.sql"/>
<file name="init\init_platnosci.sql"/>
<file name="init\init_koszyk.sql"/>
<file name="init\init_zamowienia.sql"/>
</filelist>
</concat>
</target>
<target name="procedury">
<concat encoding="UTF-8" outputencoding="UTF-8" destfile="_procedury.sql" fixlastline="yes">
<filelist dir=".">
<file name="procedury\P01.sql"/>
<file name="procedury\P02.sql"/>
<file name="procedury\P03.sql"/>
<file name="procedury\P04.sql"/>
<file name="procedury\P05.sql"/>
<file name="procedury\P06.sql"/>
<file name="procedury\P07.sql"/>
<file name="procedury\P08.sql"/>
<file name="procedury\P09.sql"/>
</filelist>
</concat>
</target>
<target name="funkcje">
<concat encoding="UTF-8" outputencoding="UTF-8" destfile="_funkcje.sql" fixlastline="yes">
<filelist dir=".">
<file name="funkcje\F01.sql"/>
<file name="funkcje\F02.sql"/>
<file name="funkcje\F03.sql"/>
<file name="funkcje\F04.sql"/>
<file name="funkcje\F05.sql"/>
</filelist>
</concat>
</target>
<target name="transakcje">
<concat encoding="UTF-8" outputencoding="UTF-8" destfile="_transakcje.sql" fixlastline="yes">
<filelist dir=".">
<file name="transakcje\T01.sql"/>
<file name="transakcje\T02.sql"/>
<file name="transakcje\T03.sql"/>
<file name="transakcje\T04.sql"/>
</filelist>
</concat>
</target>
<target name="widoki">
<concat encoding="UTF-8" outputencoding="UTF-8" destfile="_widoki.sql" fixlastline="yes">
<filelist dir=".">
<file name="widoki\W01.sql"/>
<file name="widoki\W02.sql"/>
<file name="widoki\W03.sql"/>
<file name="widoki\W04.sql"/>
<file name="widoki\W05.sql"/>
</filelist>
</concat>
</target>
</project>