Hi,
my setup is little bit different. I have a separate images for compiling and
running.
here is the docker file I use for compiling if that helps:
FROM centos:7
RUN yum -y install tomcat ant curl git wget which java-1.7.0-openjdk
java-1.7.0-openjdk-devel
ADD maven3/maven.sh /etc/profile.d/
RUN cd /opt/ && \
wget
http://www.nic.funet.fi/pub/mirrors/apache.org/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
&& \
tar -zxvf apache-maven-3.3.9-bin.tar.gz && \
mv /opt/apache-maven-3.3.9 /opt/maven && \
ln -s /opt/maven/bin/mvn /usr/bin/mvn && \
chmod +x /etc/profile.d/maven.sh && \
source /etc/profile.d/maven.sh && \
mvn -version
ADD DSpace /dspace-src/
RUN chown -R tomcat /dspace-src
USER tomcat
WORKDIR /dspace-src
RUN mvn package -Dmirage2.on=true -P !dspace-jspui
WORKDIR /dspace-src/dspace/target/dspace-installer
________________________________
Lähettäjä: [email protected] [[email protected]]
käyttäjän Pedro Amorim [[email protected]] puolesta
Lähetetty: 4. marraskuuta 2016 18:30
Vastaanottaja: DSpace Technical Support
Aihe: [dspace-tech] Re: Compiling DSpace 6 with Mirage2 theme does not generate
CSS files
Hello Ari,
Thanks for coming back.
Please ignore the last post, as by mistake I ran the mvn package command
without the -Dmirage2=true so that error was because the theme was indeed
missing from the build process.
However, after installing DSpace with maven 3.3.9, I still have the problem
(themes/Mirage2/styles/main.css and
themes/Mirage2/vendor/modernizr/modernizr.js missing).
I am also using Docker and here's the whole build:
https://hub.docker.com/r/governoregionalazores/dspace/builds/bjmu5wajuvqhjoxr7ftr2z8/
As far as I can tell, everything went smoothly, including the Mirage2 XMLUI
theme section.
sexta-feira, 4 de Novembro de 2016 às 05:16:10 UTC-1, Ari escreveu:
Hello Pedro,
upgrading maven was enough for me. I'm quite certain that I didn't do anything
else. Did you get any errors on compile?
Ari
On Thursday, 3 November 2016 17:40:17 UTC+2, Pedro Amorim wrote:
Hello Ari. Im having the exact same problem. So I installed maven 3.3.9 and
rebuilt DSpace with mvn package.
However, now XMLUI only shows the error:
FileNotFoundException: dspace/webapps/xmlui/themes/Mirage2/sitemap.xmap
Did you do any other additional procedures ?
Thanks,
Pedro Amorim
--
You received this message because you are subscribed to a topic in the Google
Groups "DSpace Technical Support" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/dspace-tech/2qQvNL2KOB8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
[email protected]<mailto:[email protected]>.
To post to this group, send email to
[email protected]<mailto:[email protected]>.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.