aboutsummaryrefslogtreecommitdiffstats
path: root/client-compiled
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-09-04 00:33:58 +0300
committerArtur Signell <artur@vaadin.com>2012-09-09 11:23:10 +0300
commite722b038d48f19201637267fbc58e0471405ec83 (patch)
tree9895c5ad45581ee7db30e94c3efeedeabfa84e0c /client-compiled
parent1d6f0611a8dc7478caf2126ccd191d4284259cba (diff)
downloadvaadin-framework-e722b038d48f19201637267fbc58e0471405ec83.tar.gz
vaadin-framework-e722b038d48f19201637267fbc58e0471405ec83.zip
Client-compiled-cache artifact (#9299)
Diffstat (limited to 'client-compiled')
-rw-r--r--client-compiled/build.xml99
-rw-r--r--client-compiled/ivy.xml3
2 files changed, 65 insertions, 37 deletions
diff --git a/client-compiled/build.xml b/client-compiled/build.xml
index 8cead01a79..6533ce2744 100644
--- a/client-compiled/build.xml
+++ b/client-compiled/build.xml
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
-<project name="vaadin-client-compiler" basedir="." default="publish-local" xmlns:ivy="antlib:org.apache.ivy.ant">
+<project name="vaadin-client-compiled" basedir="." default="publish-local" xmlns:ivy="antlib:org.apache.ivy.ant">
<description>
Compiled (JS+HTML) version of client side
</description>
@@ -12,6 +12,17 @@
<!-- global properties -->
<property name="module.name" value="vaadin-client-compiled" />
<property name="result.dir" value="result" />
+ <property name="gwtar.dir" location="${result.dir}/gwtar" />
+ <property name="work.dir" location="${result.dir}/work" />
+ <property name="module.output.dir" location="${result.dir}/VAADIN/widgetsets" />
+ <property name="compiled.jar" location="${result.dir}/lib/${module.name}-${vaadin.version}.jar" />
+ <property name="compiled-cache.jar" location="${result.dir}/lib/${module.name}-cache-${vaadin.version}.jar" />
+
+ <target name="default-widgetset-cache">
+ <antcall target="compile-module-cache">
+ <param name="module" value="com.vaadin.DefaultWidgetSet" />
+ </antcall>
+ </target>
<target name="default-widgetset">
<antcall target="compile-module">
@@ -20,40 +31,50 @@
</target>
+ <target name="compile-module-cache">
+ <fail unless="module" message="You must give the module to compile in the 'module' parameter" />
+ <ivy:resolve resolveid="common" conf="compile-module" />
+ <ivy:cachepath pathid="classpath.compile.widgetset" conf="compile-module" />
+ <echo>Creating gwtar files for ${module} in ${gwtar.dir}</echo>
+
+ <!-- Produce gwtar files for the separate JAR -->
+ <java classname="com.google.gwt.dev.CompileModule" classpathref="classpath.compile.widgetset" failonerror="yes" fork="yes" maxmemory="512m">
+ <arg value="-out" />
+ <arg value="${gwtar.dir}" />
+ <arg value="-strict" />
+ <arg value="${module}" />
+
+ <jvmarg value="-Xss8M" />
+ <jvmarg value="-XX:MaxPermSize=256M" />
+ <jvmarg value="-Djava.awt.headless=true" />
+ </java>
+ </target>
+
<target name="compile-module">
<fail unless="module" message="You must give the module to compile in the 'module' parameter" />
- <property name="result.dir" location="result" />
<property name="style" value="OBF" />
<property name="localWorkers" value="2" />
<property name="extraParams" value="" />
- <property name="module.output.dir" location="${result.dir}/VAADIN/widgetsets" />
<ivy:resolve resolveid="common" conf="compile-module" />
<ivy:cachepath pathid="classpath.compile.widgetset" conf="compile-module" />
- <echo>Compiling ${module} to ${module.output.dir}</echo>
<mkdir dir="${module.output.dir}" />
- <!-- Disabled to reduce JAR size: precompile the widgetset to a .gwtar file -->
- <!--
- <java classname="com.google.gwt.dev.CompileModule" classpathref="compile.classpath.widgetset" failonerror="yes" fork="yes" maxmemory="512m">
- <arg value="-out" />
- <arg value="${result-precompiled-widgetsets}" />
- <arg value="-strict" />
- <arg value="${widgetset}" />
-
- <jvmarg value="-Xss8M"/>
- <jvmarg value="-XX:MaxPermSize=256M"/>
- <jvmarg value="-Djava.awt.headless=true"/>
- </java>
- -->
-
- <!-- compile the widgetset -->
+ <echo>Compiling ${module} to ${module.output.dir}</echo>
+
+ <!-- compile the module -->
<java classname="com.google.gwt.dev.Compiler" classpathref="classpath.compile.widgetset" failonerror="yes" fork="yes" maxmemory="512m">
+ <classpath location="${compiled-cache.jar}" />
+ <arg value="-workDir" />
+ <arg value="${work.dir}" />
+ <arg value="-logLevel" />
+ <arg value="TRACE" />
<arg value="-war" />
<arg value="${module.output.dir}" />
<arg value="-style" />
<arg value="${style}" />
+
<arg value="-localWorkers" />
<arg value="${localWorkers}" />
<arg value="-strict" />
@@ -67,41 +88,47 @@
<jvmarg value="-Djava.awt.headless=true" />
</java>
- <!--<antcall target="remove-gwt-tmp" />-->
+ </target>
- <echo>Compiled ${module}</echo>
+ <target name="client-compiled-cache.jar" depends="default-widgetset-cache">
+ <jar file="${compiled-cache.jar}" compress="true">
+ <fileset dir="${gwtar.dir}">
+ <include name="**/*.gwtar" />
+ <include name="pom.xml" />
+ </fileset>
+ <union refid="client-compiled-cache.gwt.includes" />
+ <fileset refid="common.files.for.all.jars" />
+ </jar>
</target>
- <target name="jar" depends="default-widgetset">
+ <target name="client-compiled.jar" depends="default-widgetset">
<antcall target="common.pom.xml">
</antcall>
- <property name="result.jar" location="${result.dir}/lib/${module.name}-${vaadin.version}.jar" />
- <jar file="${result.jar}" compress="true">
+ <jar file="${compiled.jar}" compress="true">
<fileset dir="${result.dir}">
- <include name="VAADIN/widgetsets/**" />
+ <include name="VAADIN/widgetsets/com.vaadin*/**" />
<include name="pom.xml" />
- <exclude name="VAADIN/widgetsets/WEB-INF"/>
</fileset>
<fileset refid="common.files.for.all.jars" />
</jar>
+
+
</target>
- <target name="publish-local" depends="jar">
+ <target name="publish-local" depends="client-compiled.jar, client-compiled-cache.jar">
<antcall target="common.publish-local">
<param name="conf" value="build" />
</antcall>
- </ivy:publish>
--->
</target>
-<target name="clean">
- <antcall target="common.clean" />
-</target>
+ <target name="clean">
+ <antcall target="common.clean" />
+ </target>
-<target name="tests">
- <!--<antcall target="common.tests.run" />-->
- <echo>WHAT? No tests for ${module.name}!</echo>
-</target>
+ <target name="tests">
+ <!--<antcall target="common.tests.run" />-->
+ <echo>WHAT? No tests for ${module.name}!</echo>
+ </target>
</project> \ No newline at end of file
diff --git a/client-compiled/ivy.xml b/client-compiled/ivy.xml
index 7c0fcf0162..496177682a 100644
--- a/client-compiled/ivy.xml
+++ b/client-compiled/ivy.xml
@@ -11,7 +11,8 @@
<conf name="compile-module" visibility="private" />
</configurations>
<publications>
- <artifact type="jar"></artifact>
+ <artifact type="jar" name="vaadin-client-compiled"/>
+ <artifact type="jar" name="vaadin-client-compiled-cache"/>
</publications>
<dependencies>
<dependency org="com.vaadin" name="vaadin-server"
rt/48094/stable29'>backport/48094/stable29 Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
summaryrefslogtreecommitdiffstats
path: root/apps/files/l10n/fi.json
blob: be67389a4d0428bd48847b7816e1085d9929a6a3 (plain)
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175