XSL-FO module test added even if module is not built

Bug #955040 reported by Sorin Marian Nasoi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Fix Released
Medium
Rodolfo Ochoa

Bug Description

Here is a CMake output:

-- Looking for Java
-- Looking for JNI
-- Variable XSL_FOP_HOME not defined, trying defaults:  /usr/share/java/ /usr/share/java/fop/
-- XSL-FOP HOME :/usr/share/java//usr/share/java/fop/
-- fop.jar and all its dependecies not found skiping data-formating module
--
-- End modules
-- Added 1 tests in /home/spungi/work/zorba/tmp/zorba_modules/data-formatting/test

As you see the test for XSL-FO module is added even if the module is not built because not all dependencies were found.

Related branches

Revision history for this message
Cezar Andrei (cezar-andrei) wrote :

Rodolfo,

With your change you introduced a bug:
http://bazaar.launchpad.net/~zorba-coders/zorba/data-formatting-module/revision/25.1.1

If ZORBA_WITH_FOP is used by user the data-formating modules is skiped. But the intent of this flag is to force Zorba to have FOP, if some dependency is not satisfied it should stop with an error. I'm assigning this bug to you to fix this part.

Changed in zorba:
assignee: Cezar Andrei (cezar-andrei) → Rodolfo Ochoa (rodolfo-ochoa)
Changed in zorba:
milestone: 2.2 → none
Revision history for this message
Rodolfo Ochoa (rodolfo-ochoa) wrote :

ZORBA_WITH_FOP variable was checked in an upper level to avoid Java checking, if this feature is not enabled there is no case on checking for Java.

Changed in zorba:
status: New → In Progress
Changed in zorba:
milestone: none → 2.5
Changed in zorba:
status: In Progress → Fix Committed
Changed in zorba:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.