Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Thomas Rehm
ARSnova Mobile
Commits
25ca8c7c
Commit
25ca8c7c
authored
Jul 30, 2012
by
Christoph Thelen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Run legacy Ant targets with Maven
parent
6be3e4ac
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
4 deletions
+36
-4
.gitignore
.gitignore
+6
-0
build.xml
build.xml
+4
-3
pom.xml
pom.xml
+26
-1
No files found.
.gitignore
View file @
25ca8c7c
...
...
@@ -2,3 +2,9 @@
.classpath
.settings/*
target/*
# Output files
src/main/webapp/lib/sencha1.1.1/arsnovaCombined.js
src/main/webapp/lib/sencha1.1.1/arsnovaCombined-debug.js
src/main/webapp/lib/sencha1.1.1/pkgs/arsnovaCombined.js
src/main/webapp/resources/css/arsnova_min.css
build.xml
View file @
25ca8c7c
<project
name=
"ARSnova"
default=
"run"
>
<property
name=
"lib.dir"
value=
"lib"
/>
<property
name=
"main.dir"
value=
"src/main/webapp"
/>
<property
name=
"lib.dir"
value=
"${main.dir}/lib"
/>
<property
name=
"sencha.dir"
value=
"${lib.dir}/sencha1.1.1"
/>
<target
name=
"min:js"
>
...
...
@@ -13,8 +14,8 @@
</target>
<target
name=
"min:css"
>
<java
jar=
"${sencha.dir}/jsbuilder/ycompressor/ycompressor.jar"
fork=
"true"
failonerror=
"true"
output=
"resources/css/arsnova_min.css"
>
<arg
value=
"resources/css/arsnova_new.css"
/>
<java
jar=
"${sencha.dir}/jsbuilder/ycompressor/ycompressor.jar"
fork=
"true"
failonerror=
"true"
output=
"
${main.dir}/
resources/css/arsnova_min.css"
>
<arg
value=
"
${main.dir}/
resources/css/arsnova_new.css"
/>
</java>
</target>
...
...
pom.xml
View file @
25ca8c7c
...
...
@@ -4,4 +4,29 @@
<artifactId>
arsnova-legacy-js
</artifactId>
<version>
1.0.0-SNAPSHOT
</version>
<packaging>
war
</packaging>
</project>
\ No newline at end of file
<build>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-antrun-plugin
</artifactId>
<version>
1.7
</version>
<executions>
<execution>
<phase>
compile
</phase>
<configuration>
<target>
<ant
target=
"min:css"
/>
<ant
target=
"min:js"
/>
</target>
</configuration>
<goals>
<goal>
run
</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment