Hello,
I am working on enabling the Mirage2 theme for our Dspace 4 instance. I have
checked in the dspace-xmlui-mirage2 project and dspace/modules/xmului-mirage2
modules into our codebase. The build succeeds, but one of the ruby tasks failed
with the following error:
$ mvn -Denv=local -Dmirage2.on=true package
……
[INFO] ------ (Mirage2) de.saumya.mojo:gem-maven-plugin:1.0.0-rc:exec
[INFO] error styles/main.scss (Line 16: File to import not found or
unreadable:
../vendor/bootstrap-sass-official/assets/stylesheets/bootstrap/bootstrap.
[INFO] Load paths:
[INFO]
/apps/git/drum/dspace/modules/xmlui-mirage2/target/themes/Mirage2/styles
[INFO]
/apps/git/drum/dspace/modules/xmlui-mirage2/target/rubygems/gems/compass-0.12.2/frameworks/blueprint/stylesheets
[INFO]
/apps/git/drum/dspace/modules/xmlui-mirage2/target/rubygems/gems/compass-0.12.2/frameworks/compass/stylesheets
[INFO] Compass::SpriteImporter)
[INFO] overwrite main.css
[WARNING]
[ERROR] PluginManagerException:
org.apache.maven.plugin.PluginExecutionException: Execution null of goal
de.saumya.mojo:gem-maven-plugin:1.0.0-rc: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)
…..
Caused by: Java returned: 1
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:87)
at de.saumya.mojo.ruby.script.AntLauncher.doExecute(AntLauncher.java:96)
... 30 more
This seems to caused by a structural change in bootstrap-sass gem’s content. I
was able to fix it by making the following change:
https://github.com/umd-lib/drum/commit/723e297ed927376d21560bc022873ff41a0a029a
(Changed
../vendor/bootstrap-sass-official/assets/stylesheets/bootstrap/bootstrap. To
../vendor/bootstrap-sass-official/assets/stylesheets/bootstrap.)
Is this an isolated case for our setup?
As maven is handling all the gems and their version, I doubt this could happen
for other as well. I wanted to give a heads up to the techlist.
Thanks
Mohamed
~~~
Mohamed Mohideen Abdul Rasheed
Software Developer, SSDR,
University of Maryland Libraries
B0114 McKeldin Library
College Park, Maryland 20742-7011
(301) 314-2720
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
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