roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject [02/16] roller git commit: ROL-2086 Build fails for source code that obtained from GitHub
Date Sat, 28 Jan 2017 22:22:36 GMT
ROL-2086 Build fails for source code that obtained from GitHub

git-svn-id: https://svn.apache.org/repos/asf/roller/trunk@1720877 13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/roller/repo
Commit: http://git-wip-us.apache.org/repos/asf/roller/commit/38e9c3f0
Tree: http://git-wip-us.apache.org/repos/asf/roller/tree/38e9c3f0
Diff: http://git-wip-us.apache.org/repos/asf/roller/diff/38e9c3f0

Branch: refs/heads/bootstrap-ui
Commit: 38e9c3f029b4d053dc7e852c47f4d6eb081166d5
Parents: 66d8b22
Author: Kohei Nozaki <kohei@apache.org>
Authored: Sat Dec 19 01:40:20 2015 +0000
Committer: Kohei Nozaki <kohei@apache.org>
Committed: Sat Dec 19 01:40:20 2015 +0000

----------------------------------------------------------------------
 app/pom.xml | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/roller/blob/38e9c3f0/app/pom.xml
----------------------------------------------------------------------
diff --git a/app/pom.xml b/app/pom.xml
index c5e1125..75c1e92 100644
--- a/app/pom.xml
+++ b/app/pom.xml
@@ -520,6 +520,19 @@
             <plugin>
                 <artifactId>maven-antrun-plugin</artifactId>
                 <version>1.7</version>
+                <dependencies>
+                    <dependency>
+                        <groupId>ant-contrib</groupId>
+                        <artifactId>ant-contrib</artifactId>
+                        <version>1.0b3</version>
+                        <exclusions>
+                            <exclusion>
+                                <groupId>ant</groupId>
+                                <artifactId>ant</artifactId>
+                            </exclusion>
+                        </exclusions>
+                    </dependency>
+                </dependencies>
 
                 <executions>
                     <execution>
@@ -530,6 +543,16 @@
                         </goals>
                         <configuration>
                             <target>
+                                <!-- Workaround for git distribution that doesn't keep
empty directories.
+                                     For detail check [ROL-2086] -->
+                                <taskdef resource="net/sf/antcontrib/antlib.xml" />
+                                <property file="${basedir}/src/main/resources/sql/dbscripts.properties"
/>
+                                <for list="${databases}" param="database" delimiter="
">
+                                    <sequential>
+                                        <mkdir dir="${basedir}/target/dbscripts/@{database}"
/>
+                                    </sequential>
+                                </for>
+
                                 <taskdef name="texen"
                                          classname="org.apache.velocity.texen.ant.TexenTask"
                                          classpathref="maven.compile.classpath"/>


Mime
View raw message