Kaydet (Commit) cbe77805 authored tarafından Peter Foley's avatar Peter Foley

convert qadevOOo to gbuild

üst b78a7ae9
......@@ -64,6 +64,7 @@ $(eval $(call gb_Module_add_moduledirs,ooo,\
oox \
padmin \
psprint_config \
qadevOOo \
regexp \
reportdesign \
sane \
......@@ -104,7 +105,6 @@ $(eval $(call gb_Module_add_moduledirs,ooo,\
# these have only migrated subsequentcheck for now
$(eval $(call gb_Module_add_moduledirs,ooo,\
configmgr \
qadevOOo \
sal \
ucb \
))
......
#
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Initial Developer of the Original Code is
# Peter Foley <pefoley2@verizon.net>
# Portions created by the Initial Developer are Copyright (C) 2011 the
# Initial Developer. All Rights Reserved.
#
# Major Contributor(s):
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
#
#force debug information for OOoRunner
gb_JavaClassSet_JAVACDEBUG:= -g
$(eval $(call gb_Jar_Jar,OOoRunner,SRCDIR))
$(eval $(call gb_Jar_set_jarclasspath,OOoRunner,\
ridl.jar \
unoil.jar \
))
$(eval $(call gb_Jar_set_manifest,OOoRunner,$(SRCDIR)/qadevOOo/runner/manifest))
$(eval $(call gb_Jar_add_jars,OOoRunner,\
$(OUTDIR)/bin/ridl.jar \
$(OUTDIR)/bin/unoil.jar \
$(OUTDIR)/bin/jurt.jar \
$(OUTDIR)/bin/juh.jar \
$(OUTDIR)/bin/java_uno.jar \
))
$(eval $(call gb_Jar_set_packageroot,OOoRunner,\
base \
basicrunner \
complex \
complexlib \
convwatch \
graphical \
helper \
ifc \
lib \
mod \
org \
share \
stats \
util \
))
$(eval $(call gb_Jar_add_sourcefiles,OOoRunner,\
qadevOOo/runner/*/* \
qadevOOo/runner/*/*/* \
qadevOOo/tests/java/*/*/* \
qadevOOo/tests/java/*/*/*/* \
))
$(eval $(call gb_Jar_add_packagefile,OOoRunner,objdsc,$(SRCDIR)/qadevOOo/objdsc))
#
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Initial Developer of the Original Code is
# Peter Foley <pefoley2@verizon.net>
# Portions created by the Initial Developer are Copyright (C) 2011 the
# Initial Developer. All Rights Reserved.
#
# Major Contributor(s):
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
#
#force debug information for OOoRunnerLight
gb_JavaClassSet_JAVACDEBUG := -g
$(eval $(call gb_Jar_Jar,OOoRunnerLight,SRCDIR))
$(eval $(call gb_Jar_set_jarclasspath,OOoRunnerLight,\
ridl.jar \
unoil.jar \
))
$(eval $(call gb_Jar_set_manifest,OOoRunnerLight,$(SRCDIR)/qadevOOo/runner/manifest))
$(eval $(call gb_Jar_add_jars,OOoRunnerLight,\
$(OUTDIR)/bin/ridl.jar \
$(OUTDIR)/bin/unoil.jar \
$(OUTDIR)/bin/jurt.jar \
$(OUTDIR)/bin/juh.jar \
$(OUTDIR)/bin/java_uno.jar \
))
$(eval $(call gb_Jar_set_packageroot,OOoRunnerLight,\
base \
basicrunner \
complexlib \
convwatch \
graphical \
helper \
lib \
org \
share \
stats \
util \
))
$(eval $(call gb_Jar_add_sourcefiles,OOoRunnerLight,\
qadevOOo/runner/*/* \
qadevOOo/runner/*/*/* \
))
......@@ -28,6 +28,13 @@
$(eval $(call gb_Module_Module,qadevOOo))
ifeq ($(SOLAR_JAVA),TRUE)
$(eval $(call gb_Module_add_targets,qadevOOo,\
Jar_OOoRunnerLight \
Jar_OOoRunner \
))
endif
$(eval $(call gb_Module_add_subsequentcheck_targets,qadevOOo,\
JunitTest_qadevOOo_unoapi \
))
......
<project name="qadevOOo" default="main" basedir=".">
<description>
Build file for qadevOOo project
</description>
<!-- set global properties for this build -->
<property name="qadevOOo.output" location="${out}"/>
<property name="qadevOOo.class" location="${qadevOOo.output}/class"/>
<property name="qadevOOo.runner" location="${prj}/runner"/>
<property name="qadevOOo.tests" location="${prj}/tests/java"/>
<property name="qadevOOo.office_jars" location="${solar.jar}"/>
<!-- ================================================================================== -->
<!-- the main target -->
<target name="main" depends="qadevOOo_tests_build,qadevOOo_runner_build"/>
<!-- ================================================================================== -->
<!-- target for building the runner -->
<target name="qadevOOo_runner_build">
<javac srcdir="${qadevOOo.runner}" destdir="${qadevOOo.class}" includes="**/*.java" debug="${debug}" source="${build.source}" encoding="utf-8" fork="true" includeantruntime="false">
<classpath>
<pathelement location="${qadevOOo.class}"/>
<fileset dir="${qadevOOo.office_jars}">
<include name="**/ridl.jar"/>
<include name="**/unoil.jar"/>
<include name="**/jurt.jar"/>
<include name="**/juh.jar"/>
<include name="**/java_uno.jar"/>
</fileset>
</classpath>
</javac>
</target>
<!-- target for building the tests -->
<target name="qadevOOo_tests_build" depends="qadevOOo_runner_build">
<javac srcdir="${qadevOOo.tests}" destdir="${qadevOOo.class}" includes="**/*.java" debug="${debug}" source="${build.source}" includeantruntime="false">
<classpath>
<pathelement location="${qadevOOo.class}"/>
<fileset dir="${qadevOOo.office_jars}">
<include name="**/ridl.jar"/>
<include name="**/unoil.jar"/>
<include name="**/jurt.jar"/>
<include name="**/juh.jar"/>
<include name="**/java_uno.jar"/>
</fileset>
</classpath>
</javac>
</target>
</project>
#***************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#***************************************************************************
PRJNAME = OOoRunner
TARGET=qadevOOo
PRJ=.
# ------------------------------------------------
# NEVER REMOVE THIS!
# The OOoRunner.jar and OOoRunnerLight.jar should build with debug information all the time, also in the .pro builds.
# If you have any questions about this, ask the qadevOOo Maintainer.
debug=true
# ------------------------------------------------
.INCLUDE : ant.mk
TST:
echo $(SOLAR_JAVA)
.IF "$(SOLAR_JAVA)"=="TRUE"
.IF "$(ANT_HOME)"!="NO_ANT_HOME"
ANT_FLAGS+=-Dbuild.source=$(JAVA_SOURCE_VER)
.IF "$(L10N_framework)"==""
ALLTAR: ANTBUILD
.ENDIF
.ENDIF
.ENDIF
qa qadevOOo : javaunohelper jurt ridljar unoil NULL
qa qadevOOo usr1 - all qa_mkout NULL
qa qadevOOo nmake - all qa_runner_ant_build NULL
qa qadevOOo\runner nmake - all qa_make_package qa_runner_ant_build NULL
qa qadevOOo\prj nmake - all qa_prj NULL
..\%__SRC%\class\OOoRunner*.jar %_DEST%\bin
.INCLUDE : gbuildbridge.mk
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..$/..
PRJNAME = OOoRunner
PACKAGE = base
TARGET = runner_base
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# --- Files --------------------------------------------------------
JARFILES = ridl.jar jurt.jar unoil.jar
JAVAFILES = TestBase.java \
java_complex.java \
java_fat.java \
java_fat_service.java \
java_cmp.java \
basic_fat.java
JAVACLASSFILES= $(foreach,i,$(JAVAFILES) $(CLASSDIR)$/$(PACKAGE)$/$(i:b).class)
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..$/..$/..
PRJNAME = OOoRunner
PACKAGE = basicrunner$/basichelper
TARGET = runner_basichelper
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# --- Files --------------------------------------------------------
JARFILES = ridl.jar jurt.jar unoil.jar
JAVAFILES = AttributeList.java DocumentHandler.java Filter.java \
Connector.java DispatchProviderInterceptor.java \
ThreadRunner.java
JAVACLASSFILES = $(foreach,i,$(JAVAFILES) $(CLASSDIR)$/$(PACKAGE)$/$(i:b).class)
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..$/..
PRJNAME = OOoRunner
PACKAGE = basicrunner
TARGET = runner_basicrunner
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# --- Files --------------------------------------------------------
JARFILES = ridl.jar jurt.jar unoil.jar
JAVAFILES = BasicException.java BasicIfcTest.java BasicHandler.java BasicTestCase.java BasicHandlerProvider.java
JAVACLASSFILES = $(foreach,i,$(JAVAFILES) $(CLASSDIR)$/$(PACKAGE)$/$(i:b).class)
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..$/..
PRJNAME = OOoRunner
PACKAGE = complexlib
TARGET = runner_complexlib
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# --- Files --------------------------------------------------------
JARFILES = ridl.jar jurt.jar unoil.jar
JAVAFILES = ComplexTestCase.java MethodThread.java ShowTargets.java
JAVACLASSFILES= $(foreach,i,$(JAVAFILES) $(CLASSDIR)$/$(PACKAGE)$/$(i:b).class)
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..$/..
PRJNAME = OOoRunner
PACKAGE = convwatch
TARGET = runner_convwatch
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# --- Files --------------------------------------------------------
JARFILES = ridl.jar unoil.jar jurt.jar juh.jar java_uno.jar
JAVAFILES = \
TriState.java \
IniFile.java \
BuildID.java \
GfxCompare.java \
FilenameHelper.java \
NameHelper.java \
HTMLOutputter.java \
LISTOutputter.java \
INIOutputter.java \
PropertyName.java \
StatusHelper.java \
ConvWatchException.java \
ConvWatchCancelException.java \
OfficePrint.java \
PRNCompare.java \
FileHelper.java \
OSHelper.java \
PixelCounter.java \
ImageHelper.java \
BorderRemover.java \
ConvWatch.java \
DirectoryHelper.java \
ConvWatchStarter.java \
ReferenceBuilder.java \
EnhancedComplexTestCase.java \
MSOfficePrint.java \
GraphicalTestArguments.java \
GraphicalDifferenceCheck.java \
DocumentConverter.java\
DBHelper.java\
DB.java\
ValueNotFoundException.java \
GlobalLogWriter.java \
CrashLoopTest.java \
ReportDesignerTest.java \
DateHelper.java \
TimeHelper.java
JAVACLASSFILES= $(foreach,i,$(JAVAFILES) $(CLASSDIR)$/$(PACKAGE)$/$(i:b).class)
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..$/..
PRJNAME = OOoRunner
PACKAGE = convwatch
TARGET = runner_convwatch
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# --- Files --------------------------------------------------------
JARFILES = ridl.jar unoil.jar jurt.jar juh.jar jut.jar java_uno.jar
JAVAFILES = \
BuildID.java \
DateHelper.java \
DirectoryHelper.java \
EnhancedComplexTestCase.java \
FileHelper.java \
GlobalLogWriter.java \
HTMLResult.java \
IDocument.java \
IOffice.java \
ImageHelper.java \
IniFile.java \
JPEGComparator.java \
JPEGCreator.java \
JPEGEvaluator.java \
MSOfficePostscriptCreator.java \
Office.java \
OfficeException.java \
OpenOfficeDatabaseReportExtractor.java \
OpenOfficePostscriptCreator.java \
ParameterHelper.java \
PerformanceContainer.java \
PixelCounter.java \
PostscriptCreator.java \
PropertyName.java \
TimeHelper.java \
WrongEnvironmentException.java \
WrongSuffixException.java \
Tolerance.java
# GraphicalComparator.java
JAVACLASSFILES= $(foreach,i,$(JAVAFILES) $(CLASSDIR)$/$(PACKAGE)$/$(i:b).class)
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..$/..
PRJNAME = OOoRunner
PACKAGE = helper
TARGET = runner_helper
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# --- Files --------------------------------------------------------
JARFILES = ridl.jar jurt.jar juh.jar unoil.jar
JAVAFILES = APIDescGetter.java \
ConfigurationRead.java \
StreamSimulator.java \
AppProvider.java \
URLHelper.java \
CfgParser.java \
SimpleMailSender.java \
WindowListener.java \
ClParser.java \
OfficeWatcher.java \
OfficeProvider.java \
ComplexDescGetter.java \
InetTools.java \
ProcessHandler.java \
ContextMenuInterceptor.java \
UnoProvider.java\
PropertyHelper.java\
FileTools.java
JAVACLASSFILES= $(foreach,i,$(JAVAFILES) $(CLASSDIR)$/$(PACKAGE)$/$(i:b).class)
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..$/..
PRJNAME