Hi German,

I think your problem might lie in the file 
../dspace-xmlui-mirage2/src/main/webapp/styles/bootstrap_color_scheme/_main.scss.
 If you compare yours with the one in the current DSpace master branch

https://github.com/DSpace/DSpace/blob/master/dspace-xmlui-mirage2/src/main/webapp/styles/bootstrap_color_scheme/_main.scss
 I think you might see that the path to 'bootstrap' has changed. Unfortunately 
this was beyond our control, the Bootstrap maintainers moved it.


Cheers, Robin.



[https://avatars0.githubusercontent.com/u/428620?v=2&s=400]<https://github.com/DSpace/DSpace/blob/master/dspace-xmlui-mirage2/src/main/webapp/styles/bootstrap_color_scheme/_main.scss>

DSpace/_main.scss at master · DSpace/DSpace · GitHub
(Official) The DSpace digital asset management system that powers your 
Institutional Repository
Read 
more...<https://github.com/DSpace/DSpace/blob/master/dspace-xmlui-mirage2/src/main/webapp/styles/bootstrap_color_scheme/_main.scss>



Robin Taylor
Main Library
University of Edinburgh
________________________________
From: Germán Biozzoli <[email protected]>
Sent: 01 November 2014 20:21
To: Hilton Gibson; DSpace techlist techlist; 
[email protected]
Subject: Re: [Dspace-tech] Mirage2 build problem

Hi Hilton

I've tried with a fresh Ubuntu14 following your instructions, but it first has 
shown a problem with a GEM_HOME env setting, once solved appears again this 
problem:
....

[INFO] Processing as HTML - scripts-dist.xml
[INFO] Update the HTML to reference our concat/min/revved script files
[INFO] Update the HTML with the new css filenames
[INFO] Update the HTML with the new img filenames
[INFO] Update the HTML with data-main tags
[INFO] Update the HTML with data-* tags
[INFO] Update the HTML with background imgs, case there is some inline style
[INFO] Update the HTML with anchors images
[INFO] Update the HTML with reference in input
[INFO]
[INFO] Done, without errors.
[INFO] ------ (Mirage2) de.saumya.mojo:gem-maven-plugin:1.0.6:exec
[INFO]     error styles/main.scss (Line 16: File to import not found 
or unreadable: ../vendor/bootstrap-sass-official/assets/stylesheets/bootstrap.
[INFO] Load paths:
[INFO]   Compass::SpriteImporter
[INFO]   
/home/germanb/Dspace/dspace/modules/xmlui-mirage2/target/themes/Mirage2/styles
[INFO]   
/home/germanb/Dspace/dspace/modules/xmlui-mirage2/target/rubygems/gems/compass-core-1.0.1/stylesheets)
[INFO] Compilation failed in 1 files.
[WARNING] 
[INFO] 
[ERROR] PluginManagerException:
org.apache.maven.plugin.PluginExecutionException: Execution null of goal 
de.saumya.mojo:gem-maven-plugin:1.0.6:exec failed: Java returned: 1
at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
at 
com.soebes.maven.plugins.iterator.ExecutorMojo.executeMojo(ExecutorMojo.java:302)
at com.soebes.maven.plugins.iterator.ExecutorMojo.execute(ExecutorMojo.java:235)
at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org

....

Any hint?

Thanks a lot
German


2014-11-01 6:57 GMT-03:00 Hilton Gibson 
<[email protected]<mailto:[email protected]>>:
Perhaps this will help: 
http://wiki.lib.sun.ac.za/index.php/SUNScholar/XMLUI_Theme/M2

Hilton Gibson
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758

On 1 November 2014 11:52, Germán Biozzoli 
<[email protected]<mailto:[email protected]>> wrote:
Hi everybody

I'm guessing if somebody has succesfully compiled DSpace using mirage2 from git 
master. I'm compiling with the option

mvn package -Dmirage2.on=true

After a lot of time the build finishes OK, the ant deployment also, and in 
general DSpace works OK using previous Mirage theme. When I try to use Mirage 
2, appears some kind of error message in the browser

Error File to import not found or unreadeable:
../vendor/bootstrap-sass-oficial/assets/style/bootstrap

Load path:

Compass::SpriteImporter
    <paths>

and after that a blank Dspace home, without any style. The strange thing is 
that the paths that are shown refer to the build location. It looks like 
finally could not build entirely OK the theme isn't it?

Any help to solve this issue?

Regards & thanks
German

------------------------------------------------------------------------------

_______________________________________________
DSpace-tech mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
------------------------------------------------------------------------------
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to