On Tue, Jan 19, 2016 at 6:55 PM, gil <puntogil@xxxxxxxxx> wrote:
hi
now seem landed @ https://github.com/SpagoBILabs/SpagoBI
Il 19/01/2016 12:16, Sandro Bonazzola ha scritto:
war format is not supported (ask to mizdebsk)Hi,I started trying to package Spago BI ( http://spagobi.com/ ) for Fedora.
An initial spec file I created mostly to understand what's being built is here:
The output of maven install is a set of war files which includes libraries and _javascript_ libraries from external sources / projects (maven central mostly).
can you post somewhere a build.log?During the build, several jar files are created and not installed by mvn install.
Started splitting up some things:
spagobi-utils-json : https://gerrit.ovirt.org/#/c/52500/1/specs/spagobi-utils-json/spagobi-utils-json.spec.in
now following the build sequence, I should build spagobi-utils but just running "xmvn -o package" in the source tree I have:
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /NotBackedUp/sbonazzo/upstream/spagobi-5.2.0/SpagoBIUtils/src/main/java/it/eng/spagobi/tools/dataset/bo/CustomDataSet.java:[26,24] cannot find symbol
symbol: class LogMF
location: package org.apache.log4j
[ERROR] /NotBackedUp/sbonazzo/upstream/spagobi-5.2.0/SpagoBIUtils/src/main/java/it/eng/spagobi/tools/dataset/persist/temporarytable/DatasetTemporaryTableUtils.java:[20,24] cannot find symbol
symbol: class LogMF
location: package org.apache.log4j
[ERROR] /NotBackedUp/sbonazzo/upstream/spagobi-5.2.0/SpagoBIUtils/src/main/java/it/eng/spagobi/commons/bo/CustomJDBCAppender.java:[11,29] package org.apache.log4j.jdbc does not exist
[ERROR] /NotBackedUp/sbonazzo/upstream/spagobi-5.2.0/SpagoBIUtils/src/main/java/it/eng/spagobi/commons/bo/CustomJDBCAppender.java:[21,41] cannot find symbol
symbol: class JDBCAppender
[ERROR] /NotBackedUp/sbonazzo/upstream/spagobi-5.2.0/SpagoBIUtils/src/main/java/it/eng/spagobi/tools/dataset/bo/AbstractCustomDataSet.java:[30,24] cannot find symbol
symbol: class LogMF
location: package org.apache.log4j
[ERROR] /NotBackedUp/sbonazzo/upstream/spagobi-5.2.0/SpagoBIUtils/src/main/java/it/eng/spagobi/tools/dataset/ckan/CKANClient.java:[53,48] cannot find symbol
symbol: class ApacheHttpClientExecutor
location: package org.jboss.resteasy.client.core.executors
[ERROR] /NotBackedUp/sbonazzo/upstream/spagobi-5.2.0/SpagoBIUtils/src/main/java/it/eng/spagobi/tools/dataset/ckan/CKANClient.java:[70,17] cannot find symbol
symbol: class ApacheHttpClientExecutor
location: class it.eng.spagobi.tools.dataset.ckan.CKANClient
[ERROR] /NotBackedUp/sbonazzo/upstream/spagobi-5.2.0/SpagoBIUtils/src/main/java/it/eng/spagobi/security/oauth2/OAuth2Client.java:[19,24] cannot find symbol
symbol: class LogMF
location: package org.apache.log4j
[INFO] 8 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.124 s
[INFO] Finished at: 2016-01-20T14:28:25+01:00
[INFO] Final Memory: 31M/286M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project SpagoBIUtils: Compilation failure: Compilation failure:
[ERROR] /NotBackedUp/sbonazzo/upstream/spagobi-5.2.0/SpagoBIUtils/src/main/java/it/eng/spagobi/tools/dataset/bo/CustomDataSet.java:[26,24] cannot find symbol
[ERROR] symbol: class LogMF
[ERROR] location: package org.apache.log4j
[ERROR] /NotBackedUp/sbonazzo/upstream/spagobi-5.2.0/SpagoBIUtils/src/main/java/it/eng/spagobi/tools/dataset/persist/temporarytable/DatasetTemporaryTableUtils.java:[20,24] cannot find symbol
[ERROR] symbol: class LogMF
[ERROR] location: package org.apache.log4j
[ERROR] /NotBackedUp/sbonazzo/upstream/spagobi-5.2.0/SpagoBIUtils/src/main/java/it/eng/spagobi/commons/bo/CustomJDBCAppender.java:[11,29] package org.apache.log4j.jdbc does not exist
[ERROR] /NotBackedUp/sbonazzo/upstream/spagobi-5.2.0/SpagoBIUtils/src/main/java/it/eng/spagobi/commons/bo/CustomJDBCAppender.java:[21,41] cannot find symbol
[ERROR] symbol: class JDBCAppender
[ERROR] /NotBackedUp/sbonazzo/upstream/spagobi-5.2.0/SpagoBIUtils/src/main/java/it/eng/spagobi/tools/dataset/bo/AbstractCustomDataSet.java:[30,24] cannot find symbol
[ERROR] symbol: class LogMF
[ERROR] location: package org.apache.log4j
[ERROR] /NotBackedUp/sbonazzo/upstream/spagobi-5.2.0/SpagoBIUtils/src/main/java/it/eng/spagobi/tools/dataset/ckan/CKANClient.java:[53,48] cannot find symbol
[ERROR] symbol: class ApacheHttpClientExecutor
[ERROR] location: package org.jboss.resteasy.client.core.executors
[ERROR] /NotBackedUp/sbonazzo/upstream/spagobi-5.2.0/SpagoBIUtils/src/main/java/it/eng/spagobi/tools/dataset/ckan/CKANClient.java:[70,17] cannot find symbol
[ERROR] symbol: class ApacheHttpClientExecutor
[ERROR] location: class it.eng.spagobi.tools.dataset.ckan.CKANClient
[ERROR] /NotBackedUp/sbonazzo/upstream/spagobi-5.2.0/SpagoBIUtils/src/main/java/it/eng/spagobi/security/oauth2/OAuth2Client.java:[19,24] cannot find symbol
[ERROR] symbol: class LogMF
[ERROR] location: package org.apache.log4j
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
I suspect something related to log4j API changes, any hint?
wildfly, if it is not already happened, it should be retired (ask to mgoldman)I've searched for a packaging guidelines wiki page about packaging wildfly webapps and in IRC I've been pointed to thermostat package as example.I'm not realy sure to have understood what's expected from the package:- is it ok to just have the final war file in the package?- is it ok to have libraries (jar and js) from other packages included in the war file? (I know, I'm using mvn and not maven-local since I don't have packaged dependencies yet, but supposing they're in fedora, is it allowed to have them in the war file?
regardsHelp with the packaging effort is welcome :-)
.g
--
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
-- java-devel mailing list java-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/java-devel
--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/java-devel
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
-- java-devel mailing list java-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/java-devel