Thank you very much Robin, but as far as I can see the paths included in
this file are the same.
In fact I've tried with a completely new install and checking out from git
master few days ago.
To be precise, the output of maven is the following:
concat:
[INFO] { generated:
[INFO] { files:
[INFO] [ { dest: '.tmp/concat/scripts/theme.js',
[INFO] src:
[INFO] [ 'vendor/jquery/jquery.min.js',
[INFO] 'vendor/jquery-ui/ui/jquery.ui.core.js',
[INFO] 'vendor/jquery-ui/ui/jquery.ui.datepicker.js',
[INFO] 'vendor/handlebars/handlebars.js',
[INFO] 'vendor/holderjs/holder.js',
[INFO]
'vendor/bootstrap-sass-official/assets/javascripts/bootstrap/affix.js',
[INFO]
'vendor/bootstrap-sass-official/assets/javascripts/bootstrap/alert.js',
[INFO]
'vendor/bootstrap-sass-official/assets/javascripts/bootstrap/button.js',
[INFO]
'vendor/bootstrap-sass-official/assets/javascripts/bootstrap/carousel.js',
[INFO]
'vendor/bootstrap-sass-official/assets/javascripts/bootstrap/collapse.js',
[INFO]
'vendor/bootstrap-sass-official/assets/javascripts/bootstrap/dropdown.js',
[INFO]
'vendor/bootstrap-sass-official/assets/javascripts/bootstrap/modal.js',
[INFO]
'vendor/bootstrap-sass-official/assets/javascripts/bootstrap/scrollspy.js',
[INFO]
'vendor/bootstrap-sass-official/assets/javascripts/bootstrap/tab.js',
[INFO]
'vendor/bootstrap-sass-official/assets/javascripts/bootstrap/tooltip.js',
[INFO]
'vendor/bootstrap-sass-official/assets/javascripts/bootstrap/popover.js',
[INFO]
'vendor/bootstrap-sass-official/assets/javascripts/bootstrap/transition.js',
[INFO] 'scripts/utils.js',
[INFO] 'scripts/search-controls.js',
[INFO] 'scripts/sidebar.js',
[INFO] 'scripts/community-list.js',
[INFO] 'scripts/browse.js',
[INFO] 'scripts/choice-support.js',
[INFO] 'scripts/vocabulary-support.js',
[INFO] 'scripts/access-form-util.js',
[INFO] 'scripts/forms.js',
[INFO] 'scripts/vendor-extensions.js',
[INFO] 'scripts/google-stats-dates.js',
[INFO] 'scripts/templates.js',
[INFO] 'vendor/datatables/media/js/jquery.dataTables.js',
[INFO] 'scripts/person-lookup.js' ] } ] } }
[INFO]
[INFO] uglify:
[INFO] { generated:
[INFO] { files:
[INFO] [ { dest: 'scripts/theme.js',
[INFO] src: [ '.tmp/concat/scripts/theme.js' ] } ] } }
[INFO]
[INFO] cssmin:
[INFO] {}
[INFO]
[INFO] Running "concat:generated" (concat) task
[INFO] File ".tmp/concat/scripts/theme.js" created.
[INFO]
[INFO] Running "uglify:generated" (uglify) task
[INFO] File scripts/theme.js created: 80.14 kB → 33.36 kB
[INFO]
[INFO] Running "usemin:html" (usemin) task
[INFO]
[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] [31m error [0m 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] [31mCompilation failed in 1 files.
I don't know of anyone else could succesfull compile Mirage2
Regards
German
2014-11-04 6:37 GMT-03:00 TAYLOR Robin <[email protected]>:
> 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://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] [31m error[0m 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] [31mCompilation failed in 1 files.
> [WARNING] [31m[0m
> [INFO] [0m
> [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]>:
>
>> 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]>
>> 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]
>>> 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