Re: [Dspace-tech] Mirage 2/Compass Question

2015-06-18 Thread Adam Strohm
Hi Hilton,

Thanks for sending along that customization link! I think it's gotten me on
the right track, as I hadn't seen the /*source
*/dspace-xmlui-mirage2/src/main/webapp/styles/
 directory and was attempting to edit in src/dspace/modules/xmlui-mirage2 as
suggested on github.

I'm still having Compass issues, though, and perhaps you can help elucidate
things.

I'm editing the _bootstrap_variables.scss file located at
 /src/dspace-xmlui-mirage2/src/main/webapp/styles/classic_mirage_color_scheme,
and have used the compass watch command in the
/dspace/webapps/xmlui/themes/Mirage2 directory, but the edits I make aren't
being noticed by Compass, so the css isn't being re-compiled.

The config.rb file for Compass, located at
/dspace/webapps/xmlui/themes/Mirage2 is set with an http_path of
"/themes/boostrap/" and the css and scss directories set to "styles".

Perhaps there's some issue with our directory structure, as I notice your
suggestions refer to $HOME/webapp and $HOME/source, where we have
$HOME/dspace/webapps and $HOME/src/ and no source or src directory within
$HOME/dspace.

Any thoughts?

Thanks again,
Adam

Adam Strohm
Digital Initiatives Librarian
Paul V. Galvin Library
Illinois Institute of Technology
astr...@iit.edu
312.567.5107

On Thu, Jun 18, 2015 at 11:42 AM, Hilton Gibson 
wrote:

> Hi Adam,
>
> Perhaps this will help:
> http://wiki.lib.sun.ac.za/index.php/SUNScholar/XMLUI_Theme/M2/Customisation
>
> Cheers
>
> hg
>
> *Hilton Gibson*
> Ubuntu Linux Systems Administrator
> Stellenbosch University Library
> http://staff.lib.sun.ac.za/~hgibson/docs/cv/cv.html
>
>
> On 18 June 2015 at 16:40, Adam Strohm  wrote:
>
>> We recently updated to Dpsace 5.1, and would like to explore using the
>> Mirage 2 theme, but I'm running into a little trouble getting Compass to
>> see and compile the changes we're making.
>>
>> The readme.md file on github indicates that edits should be made in
>> src/dspace/modules/xmlui-mirage2, and that Compass should be set to watch
>> the webapp's xmlui/themes/Mirage2 folder. I'm having trouble, though,
>> getting compass to see the edits I make in the xmlui-mirage2 folder (either
>> editing the provided _style.scss folder, or adding new files to overwrite
>> the default Mirage 2 files), and even when we changed Compass' sass
>> location in the config.rb file, Compass noticed the edits, but didn't
>> update anything in the xmlui/themes/Mirage2 directory.
>>
>> Is there something obvious that I'm missing, or is there any reason that
>> I can't just edit the files in the webapp's xmlui/themes/Mirage2 directory?
>> Any pointers or advice would be appreciated. I'm familiar with Sass and
>> Compass, but the Mirage 2 customization process seems much more complicated
>> than others I've worked with.
>>
>> Thanks,
>> Adam
>>
>> Adam Strohm
>> Digital Initiatives Librarian
>> Paul V. Galvin Library
>> Illinois Institute of Technology
>> astr...@iit.edu
>> 312.567.5107
>>
>>
>> --
>>
>> ___
>> DSpace-tech mailing list
>> DSpace-tech@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>> List Etiquette:
>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>
>
>
--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Mirage 2/Compass Question

2015-06-18 Thread Hilton Gibson
Hi Adam,

Perhaps this will help:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/XMLUI_Theme/M2/Customisation

Cheers

hg

*Hilton Gibson*
Ubuntu Linux Systems Administrator
Stellenbosch University Library
http://staff.lib.sun.ac.za/~hgibson/docs/cv/cv.html


On 18 June 2015 at 16:40, Adam Strohm  wrote:

> We recently updated to Dpsace 5.1, and would like to explore using the
> Mirage 2 theme, but I'm running into a little trouble getting Compass to
> see and compile the changes we're making.
>
> The readme.md file on github indicates that edits should be made in
> src/dspace/modules/xmlui-mirage2, and that Compass should be set to watch
> the webapp's xmlui/themes/Mirage2 folder. I'm having trouble, though,
> getting compass to see the edits I make in the xmlui-mirage2 folder (either
> editing the provided _style.scss folder, or adding new files to overwrite
> the default Mirage 2 files), and even when we changed Compass' sass
> location in the config.rb file, Compass noticed the edits, but didn't
> update anything in the xmlui/themes/Mirage2 directory.
>
> Is there something obvious that I'm missing, or is there any reason that I
> can't just edit the files in the webapp's xmlui/themes/Mirage2 directory?
> Any pointers or advice would be appreciated. I'm familiar with Sass and
> Compass, but the Mirage 2 customization process seems much more complicated
> than others I've worked with.
>
> Thanks,
> Adam
>
> Adam Strohm
> Digital Initiatives Librarian
> Paul V. Galvin Library
> Illinois Institute of Technology
> astr...@iit.edu
> 312.567.5107
>
>
> --
>
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Mirage 2/Compass Question

2015-06-18 Thread Adam Strohm
We recently updated to Dpsace 5.1, and would like to explore using the
Mirage 2 theme, but I'm running into a little trouble getting Compass to
see and compile the changes we're making.

The readme.md file on github indicates that edits should be made in
src/dspace/modules/xmlui-mirage2, and that Compass should be set to watch
the webapp's xmlui/themes/Mirage2 folder. I'm having trouble, though,
getting compass to see the edits I make in the xmlui-mirage2 folder (either
editing the provided _style.scss folder, or adding new files to overwrite
the default Mirage 2 files), and even when we changed Compass' sass
location in the config.rb file, Compass noticed the edits, but didn't
update anything in the xmlui/themes/Mirage2 directory.

Is there something obvious that I'm missing, or is there any reason that I
can't just edit the files in the webapp's xmlui/themes/Mirage2 directory?
Any pointers or advice would be appreciated. I'm familiar with Sass and
Compass, but the Mirage 2 customization process seems much more complicated
than others I've worked with.

Thanks,
Adam

Adam Strohm
Digital Initiatives Librarian
Paul V. Galvin Library
Illinois Institute of Technology
astr...@iit.edu
312.567.5107
--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Mirage 2

2015-03-29 Thread Bram Luyten
Hi Keith,

could you post the entire output of your maven build (preferably as a
pastebin.com link)?

The snippet "DSpace kernel cannot be null" shows some google results with
upgrade related issues from the past, including the discussion at
https://jira.duraspace.org/browse/DS-1452

So at the moment I'm not 100% convinced that the problem is Mirage 2
related and not upgrade related (more broadly).

cheers,

Bram

-- 
[image: logo]
*Bram Luyten*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
www.atmire.com



On 27 March 2015 at 20:43, Keith Jones  wrote:

>
> Hi All,
>
> I'm in the process of upgrading a test instance of DSPACE from 3.2 to 5.1.
> I have it up and running with Mirage but when I re-compiled to use the
> Mirage 2 theme the system is up but does not display properly.
>
> Here is the error I'm seeing in the tomcat logs:
>
> Mar 26, 2015 11:39:27 AM org.apache.catalina.core.ApplicationContext log
> INFO: Initializing Spring root WebApplicationContext
> Mar 26, 2015 11:39:28 AM org.apache.catalina.core.ApplicationContext log
> INFO: Apache Cocoon Spring Configurator v1.0.2 is running in mode 'prod'.
> Mar 26, 2015 11:39:28 AM org.apache.catalina.core.StandardContext
> listenerStart
> SEVERE: Exception sending context initialized event to listener instance
> of class org.springframework.web.context.Conte
> xtLoaderListener
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'dspace.eventService' defined in
>  ServletContext resource [/WEB-INF/spring/applicationContext.xml]:
> Instantiation of bean failed; nested exception is or
> g.springframework.beans.factory.BeanDefinitionStoreException: Factory
> method [public org.dspace.services.EventService o
> rg.dspace.utils.DSpace.getEventService()] threw exception; nested
> exception is java.lang.IllegalStateException: DSpace
> kernel cannot be null
> at
> org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResol
> ver.java:581)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(A
> bstractAutowireCapableBeanFactory.java:1015)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAuto
> wireCapableBeanFactory.java:911)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCa
> pableBeanFactory.java:485)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapa
> bleBeanFactory.java:456)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
> at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegi
> stry.java:225)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
> at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListabl
> eBeanFactory.java:585)
> at
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractAppli
> cationContext.java:913)
> at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
> at
> org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:38
> 5)
> at
> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)
> at
> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
> at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
> at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
> at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
> at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
> at
> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114)
> at
> org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1673)
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> at java.util.co

[Dspace-tech] Mirage 2

2015-03-27 Thread Keith Jones
Hi All,

I'm in the process of upgrading a test instance of DSPACE from 3.2 to 5.1.
I have it up and running with Mirage but when I re-compiled to use the
Mirage 2 theme the system is up but does not display properly.

Here is the error I'm seeing in the tomcat logs:

Mar 26, 2015 11:39:27 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Mar 26, 2015 11:39:28 AM org.apache.catalina.core.ApplicationContext log
INFO: Apache Cocoon Spring Configurator v1.0.2 is running in mode 'prod'.
Mar 26, 2015 11:39:28 AM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Exception sending context initialized event to listener instance of
class org.springframework.web.context.Conte
xtLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'dspace.eventService' defined in
 ServletContext resource [/WEB-INF/spring/applicationContext.xml]:
Instantiation of bean failed; nested exception is or
g.springframework.beans.factory.BeanDefinitionStoreException: Factory
method [public org.dspace.services.EventService o
rg.dspace.utils.DSpace.getEventService()] threw exception; nested exception
is java.lang.IllegalStateException: DSpace
kernel cannot be null
at
org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResol
ver.java:581)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(A
bstractAutowireCapableBeanFactory.java:1015)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAuto
wireCapableBeanFactory.java:911)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCa
pableBeanFactory.java:485)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapa
bleBeanFactory.java:456)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegi
stry.java:225)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListabl
eBeanFactory.java:585)
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractAppli
cationContext.java:913)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
at
org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:38
5)
at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)
at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114)
at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1673)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException:
Factory method [public org.dspace.services.E
ventService org.dspace.utils.DSpace.getEventService()] threw exception;
nested exception is java.lang.IllegalStateExcep
tion: DSpace kernel cannot be null
at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrateg
y.java:169)
at
org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResol
ver.java:570)
... 28 more
Caused by: java.lang.IllegalStateException: DSp

Re: [Dspace-tech] Mirage 2

2015-01-29 Thread Andrea Schweer

  
  
Hi,

On 30/01/15 01:19, Massimiliano Cilurzo
  wrote:


  
  
  
   
  We have just installed DSPACE 5.0 on our test environment, and
  we would like to use the Mirage 2 theme.
But
after  installing it we have this problem:
Syntax
error: File to import not found or unreadable:
../vendor/bootstrap-sass-official/assets/stylesheets/bootstrap.
 
Load paths:
   
Compass::SpriteImporter
   
/usr/local/src/dspace-5.0-src-release/dspace/modules/xmlui-mirage2/target/themes/Mirage2/styles
   
/usr/local/src/dspace-5.0-src-release/dspace/modules/xmlui-mirage2/target/rubygems/gems/compass-core-1.0.3/stylesheets
    on
line 16 of styles/main.scss
  


I just had this problem a couple of days ago. For me, maven said
that the build had been successful, but in reality it had failed to
download some files. This is because the server I was running the
build on has restricted access to the outside world. For me,
configuring git to use the https protocol rather than the git
protocol did the trick. You do also need to have git installed on
the machine where you're running maven. Have a look here for common
Mirage 2 build issues: 
https://wiki.duraspace.org/display/DSDOC5x/Mirage+2+Configuration+and+Customization#Mirage2ConfigurationandCustomization-CommonBuildIssues

cheers,
Andrea

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand
  


--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Mirage 2

2015-01-29 Thread Massimiliano Cilurzo
Dear All,

  We have just installed DSPACE 5.0 on our test environment, and we would
like to use the Mirage 2 theme.

But after  installing it we have this problem:

Syntax error: File to import not found or unreadable:
../vendor/bootstrap-sass-official/assets/stylesheets/bootstrap.

  Load paths:

Compass::SpriteImporter

 
/usr/local/src/dspace-5.0-src-release/dspace/modules/xmlui-mirage2/target/th
emes/Mirage2/styles

 
/usr/local/src/dspace-5.0-src-release/dspace/modules/xmlui-mirage2/target/ru
bygems/gems/compass-core-1.0.3/stylesheets

on line 16 of styles/main.scss

Could someone help us?

Thanks

Best regards

Massimiliano Cilurzo

 

 

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Mirage 2 community list with "dot" handles

2014-12-23 Thread Hilton Gibson
Hi All

My community list fails to expand when the toggle button is clicked.
See: http://scholar.sun.ac.za/community-list

Googling around I found this:
https://jira.duraspace.org/browse/DS-2191

Has any progress been made with this?

Cheers

*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
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Mirage 2 autocomplete js problem

2014-12-03 Thread Germán Biozzoli
Yep. thank you very much Euler.
BTW, I followed your instructions to make Mirage2, I mean to install all
products and verify paths for the maven execution and it's working under
OSX and Win at least, I didn't tested yet in CentOS.

Regards & thanks again.
German




2014-12-03 12:46 GMT-03:00 euler :

> Hello  Germán,
>
> I think you are experiencing what I have reported here:  DS-2291
>   . What I did in my case was I
> used lookup in choices.presentation instead of suggest.
>
> Regards,
> euler
>
>
>
> --
> View this message in context:
> http://dspace.2283337.n4.nabble.com/Mirage-2-autocomplete-js-problem-tp4675758p4675761.html
> Sent from the DSpace - Tech mailing list archive at Nabble.com.
>
>
> --
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Mirage 2 autocomplete js problem

2014-12-03 Thread euler
Hello  Germán,

I think you are experiencing what I have reported here:  DS-2291
  . What I did in my case was I
used lookup in choices.presentation instead of suggest.

Regards,
euler



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Mirage-2-autocomplete-js-problem-tp4675758p4675761.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Mirage 2 autocomplete js problem

2014-12-03 Thread Germán Biozzoli
Sorry, already reported in
https://jira.duraspace.org/browse/DS-2291?jql=project%20%3D%20DS%20AND%20status%20%3D%20Received%20ORDER%20BY%20key%20ASC%2C%20priority%20DESC


2014-12-03 10:58 GMT-03:00 Germán Biozzoli :

> Hi everybody
>
> I have a problem with an autocomplete field using Mirage2. The same
> input-forms works OK over Mirage theme. The error that appears in browser
> is:
>
> [image: Imágenes integradas 1]
>
> (Type Error: h.autocomplete is not a function) in theme.js
>
> Any advise?
> Regards & thanks
>
> Germán
>
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Mirage 2 autocomplete js problem

2014-12-03 Thread Germán Biozzoli
Hi everybody

I have a problem with an autocomplete field using Mirage2. The same
input-forms works OK over Mirage theme. The error that appears in browser
is:

[image: Imágenes integradas 1]

(Type Error: h.autocomplete is not a function) in theme.js

Any advise?
Regards & thanks

Germán
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Mirage 2 build problem - repost

2014-11-25 Thread euler
Hello Germán,

I have successfully deployed Mirage 2 in my test server using windows 7.
Have you tried running mvn clean -U package -Dmirage2.on=true? Regarding
about your post a few weeks ago about Mirage 2 theme without any styling, I
noticed that this happens when some tasks failed to execute during the
building of DSpace XML-UI Mirage2 Theme :: Local Customisations even though
it will still result in "BUILD SUCCESS". I have installed all the
prerequisite softwares for Mirage 2 but I only use the option
-Dmirage2.deps.included=false after a successful build. That way, I know
that all dependencies for Mirage 2 were downloaded although I'm not sure if
my assumptions were correct. Building and deploying Mirage 2 successfully
for me is just a matter of trial and error but doing mvn clean seemed to do
the trick.

Best regards,
euler



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Mirage-2-build-problem-repost-tp4675686p4675687.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Mirage 2 build problem - repost

2014-11-25 Thread Germán Biozzoli
Sorry, but I've encountered problems again building Mirage2, this time
using windows:


[INFO] Found NPM version 1.4.23
[INFO] -- (Mirage2) com.github.eirslett:frontend-maven-plugin:0.0.16:npm
[INFO] Running 'npm install --color=false' in
C:\Devel\DSpace-master\dspace\modules\xmlui-mirage2\target\themes\Mirage2
[INFO] npm WARN package.json Mirage2@0.1.1 No description
[INFO] npm WARN package.json Mirage2@0.1.1 No repository field.
[INFO] npm WARN package.json Mirage2@0.1.1 No README data
[INFO]
[INFO] > Mirage2@0.1.1 postinstall
C:\Devel\DSpace-master\dspace\modules\xmlui-mirage2\target\themes\Mirage2
[INFO] > bower install
[INFO]
[INFO] bower jquery#~1.10.2ENOGIT git is not installed or not
in the PATH
[INFO]
[INFO] npm ERR! Mirage2@0.1.1 postinstall: `bower install`
[INFO] npm ERR! Exit status 1
[INFO] npm ERR!
[INFO] npm ERR! Failed at the Mirage2@0.1.1 postinstall script.
[INFO] npm ERR! This is most likely a problem with the Mirage2 package,
[INFO] npm ERR! not with npm itself.
[INFO] npm ERR! Tell the author that this fails on your system:
[INFO] npm ERR! bower install
[INFO] npm ERR! You can get their info via:
[INFO] npm ERR! npm owner ls Mirage2
[INFO] npm ERR! There is likely additional logging output above.
[INFO] npm ERR! System Windows_NT 6.2.9200
[INFO] npm ERR! command
"C:\\Devel\\DSpace-master\\dspace\\modules\\xmlui-mirage2\\target\\themes\\Mirage2\\node\\node"
"C:\\Devel\\DSpace-master\\dspace\\modules\\xmlui-mirage2\\target\\themes\\Mirage2\\node\\npm\\bin\\npm-cli.js"
"install" "--color=false"
[INFO] npm ERR! cwd
C:\Devel\DSpace-master\dspace\modules\xmlui-mirage2\target\themes\Mirage2
[INFO] npm ERR! node -v v0.10.31
[INFO] npm ERR! npm -v 1.4.23
[INFO] npm ERR! code ELIFECYCLE
[INFO] npm
[ERROR] MojoFailureException:
org.apache.maven.plugin.MojoFailureException: Failed to run task
at
com.github.eirslett.maven.plugins.frontend.mojo.NpmMojo.execute(NpmMojo.java:45)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
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:106)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
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.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by:
com.github.eirslett.maven.plugins.frontend.lib.TaskRunnerException: 'npm
install --color=false' failed. (error code 1)
at
com.github.eirslett.maven.plugins.frontend.lib.NodeTaskExecutor.execute(NodeTaskExecutor.java:38)
at
com.github.eirslett.maven.plugins.frontend.mojo.NpmMojo.execute(NpmMojo.java:43)
... 24 more



And some lines after, the reported problem



[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]
C:/Devel/DSpace-master/dspace/modules/xmlui-mirage2/target/themes/Mirage2/styles
[INFO]
C:/Devel/DSpace-master/dspace/modules/xmlui-mirage2/target/rubygems/gems/compass-core-1.0.1/stylesheets)
[INFO] Compilation failed in 1 files.
[ERROR] PluginManagerException:
org.apache.maven.plugin.PluginExecutionException: Ex

Re: [Dspace-tech] Mirage 2 with Dspace 4 Installation - Javascript is not enabled

2014-06-02 Thread Ying Jin
Hi Peter,

Thanks so much. It works!

Ying
On Jun 2, 2014, at 11:42 AM, Ying Jin  wrote:

> Hi,
> 
> I have a testing site run Dspace 4 and Mirage 2 theme. The default Mirage 1 
> is working fine, but the Mirage 2 will complain the javascript is not enabled 
> in the browser when it is enabled already. Does there anyone know how to 
> solve the problem?
> 
> Thanks so much,
> Ying
> --
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their 
> applications. Written by three acclaimed leaders in the field, 
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette: 
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
> 


--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Mirage 2 with Dspace 4 Installation - Javascript is not enabled

2014-06-02 Thread Peter Dietz
Hi Ying,

We've been having some great luck with Mirage2, it really makes it easy to
make a great looking DSpace site.

You can take a look at some of the fixes/changes that we've had to make to
the Mirage2 theme at Longsight.
https://github.com/LongsightGroup/DSpace/commits/longsight-4_x/dspace-xmlui/src/main/webapp/themes/mirage2

However, specifically regarding Mirage2 and Javascript, take a look at this
commit:
https://github.com/LongsightGroup/DSpace/commit/8193bfc2e7316cd7ae3c3cd0fc11548f547d831f

This is especially needed if you are using something like Elastic Search
Usage Statistics, which loads some Javascript directly from the web:
https://www.google.com/jsapi";
/>


We've made public our recent theme customizations for clients, so feel free
to take a look at our src/main/themes:
https://github.com/LongsightGroup/DSpace/tree/longsight-4_x/dspace-xmlui/src/main/webapp/themes

Since Mirage2 isn't in DSpace/DSpace, then we can't easily Pull-Request up
our fixes yet.


Peter Dietz
Longsight
www.longsight.com
pe...@longsight.com
p: 740-599-5005 x809


On Mon, Jun 2, 2014 at 12:42 PM, Ying Jin  wrote:

> Hi,
>
> I have a testing site run Dspace 4 and Mirage 2 theme. The default Mirage
> 1 is working fine, but the Mirage 2 will complain the javascript is not
> enabled in the browser when it is enabled already. Does there anyone know
> how to solve the problem?
>
> Thanks so much,
> Ying
>
> --
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Mirage 2 with Dspace 4 Installation - Javascript is not enabled

2014-06-02 Thread Ying Jin
Hi,

I have a testing site run Dspace 4 and Mirage 2 theme. The default Mirage 1 is 
working fine, but the Mirage 2 will complain the javascript is not enabled in 
the browser when it is enabled already. Does there anyone know how to solve the 
problem?

Thanks so much,
Ying
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Mirage 2 is now available for DSpace 3 and 4

2014-04-24 Thread Bram Luyten
We have just released our first public beta for the Mirage 2 XMLUI theme.
You can read the full story here:

http://atmire.com/website/?q=content/mirage-2-now-available-dspace-3-and-4

Or go directly to the download page:

http://atmire.com/website/?q=download-mirage-2

-- 
[image: logo]
*Bram Luyten* +1 202 684 6365
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
www.atmire.com
--
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette