convert qadevOOo to gbuild

This commit is contained in:
Peter Foley
2011-09-22 12:17:04 -04:00
parent b78a7ae95b
commit cbe7780544
25 changed files with 152 additions and 947 deletions

View File

@@ -64,6 +64,7 @@ $(eval $(call gb_Module_add_moduledirs,ooo,\
oox \ oox \
padmin \ padmin \
psprint_config \ psprint_config \
qadevOOo \
regexp \ regexp \
reportdesign \ reportdesign \
sane \ sane \
@@ -104,7 +105,6 @@ $(eval $(call gb_Module_add_moduledirs,ooo,\
# these have only migrated subsequentcheck for now # these have only migrated subsequentcheck for now
$(eval $(call gb_Module_add_moduledirs,ooo,\ $(eval $(call gb_Module_add_moduledirs,ooo,\
configmgr \ configmgr \
qadevOOo \
sal \ sal \
ucb \ ucb \
)) ))

74
qadevOOo/Jar_OOoRunner.mk Normal file
View File

@@ -0,0 +1,74 @@
#
# 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))

View File

@@ -0,0 +1,67 @@
#
# 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/*/*/* \
))

View File

@@ -28,6 +28,13 @@
$(eval $(call gb_Module_Module,qadevOOo)) $(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,\ $(eval $(call gb_Module_add_subsequentcheck_targets,qadevOOo,\
JunitTest_qadevOOo_unoapi \ JunitTest_qadevOOo_unoapi \
)) ))

View File

@@ -1,52 +0,0 @@
<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>

View File

@@ -1,51 +0,0 @@
#***************************************************************************
#
# 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

View File

@@ -1,4 +1,2 @@
qa qadevOOo : javaunohelper jurt ridljar unoil NULL qa qadevOOo : javaunohelper jurt ridljar unoil NULL
qa qadevOOo usr1 - all qa_mkout NULL qa qadevOOo\prj nmake - all qa_prj NULL
qa qadevOOo nmake - all qa_runner_ant_build NULL
qa qadevOOo\runner nmake - all qa_make_package qa_runner_ant_build NULL

View File

@@ -1 +0,0 @@
..\%__SRC%\class\OOoRunner*.jar %_DEST%\bin

1
qadevOOo/prj/makefile.mk Normal file
View File

@@ -0,0 +1 @@
.INCLUDE : gbuildbridge.mk

View File

@@ -1,52 +0,0 @@
#*************************************************************************
#
# 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

View File

@@ -1,47 +0,0 @@
#*************************************************************************
#
# 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

View File

@@ -1,46 +0,0 @@
#*************************************************************************
#
# 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

View File

@@ -1,49 +0,0 @@
#*************************************************************************
#
# 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

View File

@@ -1,86 +0,0 @@
#*************************************************************************
#
# 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

View File

@@ -1,76 +0,0 @@
#*************************************************************************
#
# 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

View File

@@ -1,65 +0,0 @@
#*************************************************************************
#
# 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

View File

@@ -1,58 +0,0 @@
#*************************************************************************
#
# 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 = lib
TARGET = runner_lib
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# --- Files --------------------------------------------------------
JARFILES = ridl.jar jurt.jar unoil.jar
JAVAFILES = DynamicClassLoader.java \
SimpleStatus.java \
TestEnvironment.java \
ExceptionStatus.java \
Status.java \
MultiMethodTest.java \
StatusException.java \
TestParameters.java \
TestResult.java \
MultiPropertyTest.java \
TestCase.java
JAVACLASSFILES= $(foreach,i,$(JAVAFILES) $(CLASSDIR)$/$(PACKAGE)$/$(i:b).class)
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk

View File

@@ -1,60 +0,0 @@
#*************************************************************************
#
# 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
TARGET = $(PRJNAME)
# --- Settings -----------------------------------------------------
.INCLUDE: settings.mk
SUBDIRS_TESTS = mod ifc complex
SUBDIRS_RUNNER = util share stats lib complexlib helper basicrunner \
base org$/openoffice convwatch graphical
JARCOMMANDS_TESTS = $(foreach,i,$(SUBDIRS_TESTS) -C $(CLASSDIR) $i)
JARCOMMANDS_RUNNER = $(foreach,i,$(SUBDIRS_RUNNER) -C $(CLASSDIR) $i)
# --- Targets ------------------------------------------------------
.IF "$(SOLAR_JAVA)"=="TRUE" && "$(L10N_framework)"==""
OWNJAR: ALLTAR
.INCLUDE : target.mk
# LLA: parameter v is only verbose, need too long!
OWNJAR: LIGHT
jar cfm $(CLASSDIR)$/$(TARGET).jar manifest -C $(PRJ) objdsc $(JARCOMMANDS_TESTS) $(JARCOMMANDS_RUNNER)
# LLA: parameter v is only verbose, need too long!
LIGHT:
jar cfm $(CLASSDIR)$/$(TARGET)Light.jar manifest $(JARCOMMANDS_RUNNER)
.ELSE
all:
@echo "no java"
.ENDIF

View File

@@ -1,3 +1,2 @@
Class-Path: ridl.jar unoil.jar
RegistrationClassName: org.openoffice.RunnerService RegistrationClassName: org.openoffice.RunnerService

View File

@@ -1,46 +0,0 @@
#*************************************************************************
#
# 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 = org$/openoffice
TARGET = runner_org_openoffice
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# --- Files --------------------------------------------------------
JARFILES = ridl.jar jurt.jar unoil.jar
JAVAFILES = Runner.java RunnerService.java
JAVACLASSFILES= $(foreach,i,$(JAVAFILES) $(CLASSDIR)$/$(PACKAGE)$/$(i:b).class)
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk

View File

@@ -1,52 +0,0 @@
#*************************************************************************
#
# 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 = share
TARGET = runner_share
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# --- Files --------------------------------------------------------
JARFILES = ridl.jar jurt.jar unoil.jar
JAVAFILES = DescEntry.java \
DescGetter.java \
LogWriter.java \
ComplexTest.java \
Watcher.java
JAVACLASSFILES= $(foreach,i,$(JAVAFILES) $(CLASSDIR)$/$(PACKAGE)$/$(i:b).class)
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk

View File

@@ -1,59 +0,0 @@
#*************************************************************************
#
# 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 = stats
TARGET = runner_stats
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# --- Files --------------------------------------------------------
JARFILES = ridl.jar jurt.jar unoil.jar
JAVAFILES = \
DataBaseOutProducer.java \
ComplexDataBaseOutProducer.java \
FatDataBaseOutProducer.java \
FileLogWriter.java \
OutProducerFactory.java \
SQLExecution.java \
SimpleOutProducer.java \
SimpleFileOutProducer.java \
SimpleLogWriter.java \
Summarizer.java \
InternalLogWriter.java
JAVACLASSFILES= $(foreach,i,$(JAVAFILES) $(CLASSDIR)$/$(PACKAGE)$/$(i:b).class)
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk

View File

@@ -1,54 +0,0 @@
#*************************************************************************
#
# 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 = util.compare
TARGET = runner_util_compare
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# --- Files --------------------------------------------------------
JARFILES = ridl.jar unoil.jar jurt.jar juh.jar java_uno.jar
JAVAFILES = \
DocComparatorFactory.java \
DocComparator.java \
GraphicalComparator.java \
PDFComparator.java
# doesn't implement yet.
# PDFComparator.java \
# XMLComparator.java
JAVACLASSFILES= $(foreach,i,$(JAVAFILES) $(CLASSDIR)$/$(PACKAGE)$/$(i:b).class)
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk

View File

@@ -1,87 +0,0 @@
#*************************************************************************
#
# 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 = util
TARGET = runner_util
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
# --- Files --------------------------------------------------------
JARFILES = ridl.jar jurt.jar unoil.jar
JAVAFILES = AccessibilityTools.java \
BasicMacroTools.java \
BookmarkDsc.java \
ControlDsc.java \
dbg.java \
DBTools.java \
DefaultDsc.java \
DesktopTools.java \
DrawTools.java \
DynamicClassLoader.java \
FootnoteDsc.java \
FormTools.java \
FrameDsc.java \
InstCreator.java \
InstDescr.java \
ParagraphDsc.java \
ReferenceMarkDsc.java \
RegistryTools.java \
ShapeDsc.java \
SOfficeFactory.java \
StyleFamilyDsc.java \
PropertyName.java \
SysUtils.java \
TableDsc.java \
TextSectionDsc.java \
XLayerImpl.java \
XLayerHandlerImpl.java \
XSchemaHandlerImpl.java \
UITools.java \
utils.java \
ValueChanger.java \
ValueComparer.java \
WaitUnreachable.java \
WriterTools.java \
XInstCreator.java \
XMLTools.java
JAVACLASSFILES= $(foreach,i,$(JAVAFILES) $(CLASSDIR)$/$(PACKAGE)$/$(i:b).class)
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
TST:
@echo $(JAVACLASSFILES)

View File

@@ -109,7 +109,7 @@ $(call gb_Jar_get_target,$(1)) : PACKAGEFILES += $(2)
$(call gb_Jar_get_target,$(1)) : $(call gb_Jar_get_workdir,$(1))/$(strip $(2)) $(call gb_Jar_get_target,$(1)) : $(call gb_Jar_get_workdir,$(1))/$(strip $(2))
$(call gb_Jar_get_workdir,$(1))/$(strip $(2)) : $(3) $(call gb_JavaClassSet_get_target,$(call gb_Jar_get_classsetname,$(1))) $(call gb_Jar_get_workdir,$(1))/$(strip $(2)) : $(3) $(call gb_JavaClassSet_get_target,$(call gb_Jar_get_classsetname,$(1)))
mkdir -p $$(dir $$@) mkdir -p $$(dir $$@)
cp -f $(3) $$@ cp -rf $(3) $$@
endef endef