[ooo-build-commit] ooeclipse: Branch 'master'
Cédric Bosdonnat
cbosdo at kemper.freedesktop.org
Fri Jun 11 02:21:36 PDT 2010
build/build.xml | 23 ++++++++++++++++++++---
1 file changed, 20 insertions(+), 3 deletions(-)
New commits:
commit 944519094d53cf03ec3403f139407498d8cc43f4
Author: Cédric Bosdonnat <cedricbosdo at openoffice.org>
Date: Fri Jun 11 11:21:17 2010 +0200
Fxed some build problems for windows
diff --git a/build/build.xml b/build/build.xml
index ad30bd8..d66b628 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -83,10 +83,25 @@
<available file="${office.ure.dir}"/>
</and>
</condition>
+
+ <condition property="office.version3.win" value="true">
+ <and>
+ <os family="windows"/>
+ <isset property="office.version3"/>
+ </and>
+ </condition>
</target>
- <target name="init-env-ooo3" depends="check-ooo-version" if="office.version3">
- <echo message="Initializing the properties for OpenOffice 3.0"/>
+ <target name="init-win-ooo3" depends="check-ooo-version" if="office.version3.win">
+ <loadfile property="office.win.basis" srcfile="${office.basis.dir}" failonerror="false" quiet="true" />
+ <loadfile property="office.win.ure" srcfile="${office.ure.dir}" failonerror="false" quiet="true" />
+
+ <property name="office.basis.dir" value="${openoffice.home}${file.separator}${office.win.basis}"/>
+ <property name="office.ure.dir" value="${office.basis.dir}${file.separator}${office.win.ure}"/>
+ </target>
+
+ <target name="init-env-ooo3" depends="init-win-ooo3" if="office.version3">
+ <echo message="Initializing the properties for OpenOffice 3.x"/>
<path id="office.class.path">
<fileset dir="${office.basis.dir}${file.separator}program${file.separator}classes">
@@ -99,8 +114,10 @@
</target>
<target name="init-env-ooo2" depends="check-ooo-version" unless="office.version3">
+ <echo message="Initializing the properties for OpenOffice 2.x"/>
+
<path id="office.class.path">
- <fileset dir="${office.install.dir}${file.separator}program${file.separator}classes">
+ <fileset dir="${openoffice.home}${file.separator}program${file.separator}classes">
<include name="*.jar"/>
</fileset>
</path>
More information about the ooo-build-commit
mailing list