To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90952
                 Issue #|90952
                 Summary|--with-system-jfreereport breaks
               Component|Database access
                 Version|DEV300m20
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P2
            Subcomponent|SRB
             Assigned to|oj
             Reported by|rene





------- Additional comments from [EMAIL PROTECTED] Sat Jun 21 16:07:45 +0000 
2008 -------
since m20 build of reportdesign with system-jfreereport fails:

/home/rene/Debian/Pakete/OpenOffice.org/openoffice.org-3.0.0/ooo-build/build/current/reportdesign/java/com/sun/star/report/function/metadata
/usr/lib/jvm/java-gcj/bin/javac -classpath
".:../../../../../../../unxlngx6.pro/class:" -d
../../../../../../../unxlngx6.pro/class  @/tmp/mkhbIG9Z
----------
1. ERROR in AuthorFunction.java (at line 33)
        import org.jfree.formula.EvaluationException;
               ^^^^^^^^^
The import org.jfree cannot be resolved
----------
2. ERROR in AuthorFunction.java (at line 34)
        import org.jfree.formula.FormulaContext;
               ^^^^^^^^^
The import org.jfree cannot be resolved
----------
3. ERROR in AuthorFunction.java (at line 35)
        import org.jfree.formula.LibFormulaErrorValue;
               ^^^^^^^^^
The import org.jfree cannot be resolved
----------
4. ERROR in AuthorFunction.java (at line 36)
        import org.jfree.formula.function.Function;
               ^^^^^^^^^
The import org.jfree cannot be resolved
----------
5. ERROR in AuthorFunction.java (at line 37)
        import org.jfree.formula.function.ParameterCallback;
               ^^^^^^^^^
The import org.jfree cannot be resolved
----------
6. ERROR in AuthorFunction.java (at line 38)
        import org.jfree.formula.lvalues.TypeValuePair;
               ^^^^^^^^^
The import org.jfree cannot be resolved
----------
7. ERROR in AuthorFunction.java (at line 39)
        import org.jfree.formula.typing.coretypes.TextType;
               ^^^^^^^^^
The import org.jfree cannot be resolved
----------
8. ERROR in AuthorFunction.java (at line 45)
        public class AuthorFunction implements Function
                                               ^^^^^^^^
Function cannot be resolved to a type
----------
9. ERROR in AuthorFunction.java (at line 57)
        public TypeValuePair evaluate(final FormulaContext context,final
ParameterCallback parameters)
               ^^^^^^^^^^^^^
TypeValuePair cannot be resolved to a type
----------
10. ERROR in AuthorFunction.java (at line 57)
        public TypeValuePair evaluate(final FormulaContext context,final
ParameterCallback parameters)
                                            ^^^^^^^^^^^^^^
FormulaContext cannot be resolved to a type
----------
11. ERROR in AuthorFunction.java (at line 57)
        public TypeValuePair evaluate(final FormulaContext context,final
ParameterCallback parameters)
                                                                         
^^^^^^^^^^^^^^^^^
ParameterCallback cannot be resolved to a type
----------
12. ERROR in AuthorFunction.java (at line 58)
        throws EvaluationException
               ^^^^^^^^^^^^^^^^^^^
EvaluationException cannot be resolved to a type
----------
13. ERROR in AuthorFunction.java (at line 62)
        throw new 
EvaluationException(LibFormulaErrorValue.ERROR_ARGUMENTS_VALUE);
                  ^^^^^^^^^^^^^^^^^^^
EvaluationException cannot be resolved to a type
----------
14. ERROR in AuthorFunction.java (at line 62)
        throw new 
EvaluationException(LibFormulaErrorValue.ERROR_ARGUMENTS_VALUE);
                                      ^^^^^^^^^^^^^^^^^^^^
LibFormulaErrorValue cannot be resolved
----------
15. ERROR in AuthorFunction.java (at line 65)
        return new TypeValuePair(TextType.TYPE,
context.getConfiguration().getConfigProperty(ReportEngineParameterNames.AUTHOR));
                   ^^^^^^^^^^^^^
TypeValuePair cannot be resolved to a type
----------
16. ERROR in AuthorFunction.java (at line 65)
        return new TypeValuePair(TextType.TYPE,
context.getConfiguration().getConfigProperty(ReportEngineParameterNames.AUTHOR));
                                 ^^^^^^^^
TextType cannot be resolved
----------
----------
17. ERROR in AuthorFunctionDescription.java (at line 42)
        public class AuthorFunctionDescription extends 
AbstractFunctionDescription
                                                       
^^^^^^^^^^^^^^^^^^^^^^^^^^^
AbstractFunctionDescription cannot be resolved to a type
----------
----------
18. ERROR in TitleFunction.java (at line 45)
        public class TitleFunction implements Function
                                              ^^^^^^^^
Function cannot be resolved to a type
----------
----------
19. ERROR in TitleFunctionDescription.java (at line 42)
        public class TitleFunctionDescription extends 
AbstractFunctionDescription
                                                      
^^^^^^^^^^^^^^^^^^^^^^^^^^^
AbstractFunctionDescription cannot be resolved to a type
----------
----------
20. ERROR in MetaDataFunctionCategory.java (at line 39)
        public class MetaDataFunctionCategory extends AbstractFunctionCategory
                                                      ^^^^^^^^^^^^^^^^^^^^^^^^
AbstractFunctionCategory cannot be resolved to a type
----------
20 problems (20 errors)dmake:  Error code 255, while making
'../../../../../../../unxlngx6.pro/misc/sun-report-builder_dummy.java'

ERROR: Error 65280 occurred while making
/home/rene/Debian/Pakete/OpenOffice.org/openoffice.org-3.0.0/ooo-build/build/current/reportdesign/java/com/sun/star/report/function/metadata


This is because libformula is not in the -classpath call, which is because no
JARFILES were defines before (note the commented out line) and thus it has to be
CLASSPATH here and not XCLASSPATH.

Trivial fix:

--- reportdesign/java/com/sun/star/report/function/metadata/makefile.mk-old 
2008-06-21 17:57:30.000000000 +0200
+++ reportdesign/java/com/sun/star/report/function/metadata/makefile.mk     
2008-06-21 17:56:11.000000000 +0200
@@ -40,7 +40,7 @@
 
 # JARFILES        = ridl.jar unoil.jar jurt.jar juh.jar jut.jar java_uno.jar
 .IF "$(SYSTEM_JFREEREPORT)" == "YES"
-XCLASSPATH!:=$(XCLASSPATH)$(PATH_SEPERATOR)$(JCOMMON_JAR)$(PATH_SEPERATOR)$(LIBFORMULA_JAR)
+CLASSPATH!:=$(CLASSPATH)$(PATH_SEPERATOR)$(JCOMMON_JAR)$(PATH_SEPERATOR)$(LIBFORMULA_JAR)
 .ELSE
 JARFILES += jcommon-1.0.10.jar libformula-0.1.14.jar
 .ENDIF

oj: please fix ASAP

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to