Apache OpenOffice (AOO) Bugzilla – Issue 96896
m37 breaks with HsqlDatabase.java:53: package helper does not exist
Last modified: 2009-08-13 09:28:10 UTC
In m37, configure --disable-qadevooo, connectivity/qa/connectivity/tools breaks with ./HsqlDatabase.java:53: package helper does not exist import helper.URLHelper; ^ ./HsqlDatabase.java:110: cannot find symbol symbol : variable URLHelper location: class connectivity.tools.HsqlDatabase m_databaseDocumentFile = URLHelper.getFileURLFromSystemPath( documentFile ); ^ Note: ./HsqlDatabase.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 2 errors dmake: Error code 1, while making '../../../unxlngi6/misc/ConnectivityTools_dummy.java' This adds a dependency on module qadevOOo. Adding QADEVOOO:qadevOOo to prj/build.lst is not sufficient, more is needed if configured --disable-qadevooo to not attempt to build these tools.
untested patch: Index: qa/connectivity/tools/makefile.mk =================================================================== --- qa/connectivity/tools/makefile.mk (Revision 264849) +++ qa/connectivity/tools/makefile.mk (Arbeitskopie) @@ -42,6 +42,7 @@ @echo "Java not available. Build skipped" .ELSE +.IF "$(BUILD_QADEVOOO)" == "YES" #----- compile .java files ----------------------------------------- JARFILES = ridl.jar unoil.jar jurt.jar juh.jar java_uno.jar OOoRunnerLight.jar @@ -70,6 +71,8 @@ ALL: ALLDEP .ENDIF +.ENDIF + .ENDIF # "$(SOLAR_JAVA)" == "" .INCLUDE : target.mk Index: prj/build.lst =================================================================== --- prj/build.lst (Revision 264849) +++ prj/build.lst (Arbeitskopie) @@ -1,4 +1,4 @@ -cn connectivity : comphelper MOZ:moz SO:moz_prebuilt svtools UNIXODBC:unixODBC unoil javaunohelper HSQLDB:hsqldb NULL +cn connectivity : comphelper MOZ:moz SO:moz_prebuilt svtools UNIXODBC:unixODBC unoil javaunohelper HSQLDB:hsqldb QADEVOOO:qadevOOo NULL cn connectivity usr1 - all cn_mkout NULL cn connectivity\inc nmake - all cn_inc NULL cn connectivity\com\sun\star\sdbcx\comp\hsqldb nmake - all cn_jhsqldbdb cn_hsqldb cn_inc NULL
please tell me where to commit this if it works
I confirm the patch (once wrapped lines are joined ;-) solves the build problem.
fixed as masterfix for m38
actually set to FIXED...
you were too fast for me ... actually, I also wanted to add the BUILD_QADEVOOO YES line to the Common/Environment/Common section of solenv/config/sdev300.ini. Otherwise, non-OOo builds (SO, actually :-\ ) might fail in various modules when running the complex API tests. Well, be it, this remaint is not a "normal" P1 build breaker anymore, and the fix is already committed to another CWS, so ... Thanks for your quick reaction, guys.
Closely related a similar breaker in dbaccess, I'll attach a patch. Reopening and reusing this issue here. @rene: could you please review apply it as masterfix for m38?
Created attachment 58521 [details] patch fixing the issue
yes. (and it even fixes --without-java build ;))
close issue