Re: [Dspace-tech] Dspce-1.1.6: Messages.property does not work
Hello Marcelo, the offline option was only meant for low or no internet access. It got no influence on the overlay mechanism. Overlaying the default message catalogues (Messages.properties, messages.xml) for the jspui or xmlui works the way described for the UI's, the api part is not affected by the overlay. Other languages are pulled via dependencies dspace-api-lang and dspace-xmlui-lang from the maven repositories. Hope that helps Claudia Jürgen Am 08.09.2010 16:44, schrieb Marcelo Henrique Gomes: > Hello, > > Last month, I asked the same question here. I tried many solutions with > maven. > > In my case, the maven is using the properties from repository and replace my > property. I run maven with -offline but it is not work. > > Regards, > Marcelo > > 2010/9/8 Claudia Jürgen > >> Hello Harsha, >> >> in order to customize this message catalogue the best practice is to use >> an overlay, copy Messages.properties to >> [dspace-src]/dspace/modules/jspui/src/main/resources >> and edit the copied version. Then run mvn package and ant update and >> redeploy your application. >> >> There is an option for mvn "-o" in order to work offline. >> If you got all the dependencies in your local maven repository you can >> use this option. >> >> Hope that helps >> >> Claudia Jürgen >> >> Am 07.09.2010 08:31, schrieb Harsha Balasooriya: >>> I kind expect help me to correct these problems as I work more that 2 >> days >>> on same matter >>> >>> - Configuretion: Dspace: 1.6.1 >>> - Tomcat:apache-tomcat-6.0.29 >>> - OS: CentOS 4 >>> - Ant: ant-1.8.1 >>> >>> * **Message.properties location* >>> >>> >>> 1. >> /usr/dspace-1.6.1/dspace-api/src/main/resources/Messages.properties >>> 2. /usr/dspace-1.6.1/dspace-api/target/classes/Messages.properties >>> >>> >>> I have add follwing line to above file 1 and 2 >>> >>>itemlist.dc.subject.* =Subject >>> >>> and restart the tomcat, but still the browse list header appears as this >>> >>> >>> ??? itemlist.dc.subject.*??? >>> >>> Please help me! >>> >>> Harsha Balasooriya >>> Assistant Librarian, systems >>> The Open University of Sri Lanka >>> >>> >>> >>> >>> >> -- >>> This SF.net Dev2Dev email is sponsored by: >>> >>> Show off your parallel programming skills. >>> Enter the Intel(R) Threading Challenge 2010. >>> http://p.sf.net/sfu/intel-thread-sfd >>> >>> >>> >>> ___ >>> DSpace-tech mailing list >>> DSpace-tech@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/dspace-tech >> >> -- >> Claudia Juergen >> Universitaetsbibliothek Dortmund >> Eldorado >> 0231/755-4043 >> https://eldorado.tu-dortmund.de/ >> >> >> -- >> This SF.net Dev2Dev email is sponsored by: >> >> Show off your parallel programming skills. >> Enter the Intel(R) Threading Challenge 2010. >> http://p.sf.net/sfu/intel-thread-sfd >> ___ >> DSpace-tech mailing list >> DSpace-tech@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/dspace-tech >> > -- Claudia Juergen Universitaetsbibliothek Dortmund Eldorado 0231/755-4043 https://eldorado.tu-dortmund.de/ -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Dspce-1.1.6: Messages.property does not work
Hello, Last month, I asked the same question here. I tried many solutions with maven. In my case, the maven is using the properties from repository and replace my property. I run maven with -offline but it is not work. Regards, Marcelo 2010/9/8 Claudia Jürgen > Hello Harsha, > > in order to customize this message catalogue the best practice is to use > an overlay, copy Messages.properties to > [dspace-src]/dspace/modules/jspui/src/main/resources > and edit the copied version. Then run mvn package and ant update and > redeploy your application. > > There is an option for mvn "-o" in order to work offline. > If you got all the dependencies in your local maven repository you can > use this option. > > Hope that helps > > Claudia Jürgen > > Am 07.09.2010 08:31, schrieb Harsha Balasooriya: > > I kind expect help me to correct these problems as I work more that 2 > days > > on same matter > > > > - Configuretion: Dspace: 1.6.1 > > - Tomcat:apache-tomcat-6.0.29 > > - OS: CentOS 4 > > - Ant: ant-1.8.1 > > > > * **Message.properties location* > > > > > > 1. > /usr/dspace-1.6.1/dspace-api/src/main/resources/Messages.properties > > 2. /usr/dspace-1.6.1/dspace-api/target/classes/Messages.properties > > > > > > I have add follwing line to above file 1 and 2 > > > > itemlist.dc.subject.* =Subject > > > > and restart the tomcat, but still the browse list header appears as this > > > > > > ??? itemlist.dc.subject.*??? > > > > Please help me! > > > > Harsha Balasooriya > > Assistant Librarian, systems > > The Open University of Sri Lanka > > > > > > > > > > > -- > > This SF.net Dev2Dev email is sponsored by: > > > > Show off your parallel programming skills. > > Enter the Intel(R) Threading Challenge 2010. > > http://p.sf.net/sfu/intel-thread-sfd > > > > > > > > ___ > > DSpace-tech mailing list > > DSpace-tech@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/dspace-tech > > -- > Claudia Juergen > Universitaetsbibliothek Dortmund > Eldorado > 0231/755-4043 > https://eldorado.tu-dortmund.de/ > > > -- > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > ___ > DSpace-tech mailing list > DSpace-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-tech > -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Dspce-1.1.6: Messages.property does not work
Hello Harsha, in order to customize this message catalogue the best practice is to use an overlay, copy Messages.properties to [dspace-src]/dspace/modules/jspui/src/main/resources and edit the copied version. Then run mvn package and ant update and redeploy your application. There is an option for mvn "-o" in order to work offline. If you got all the dependencies in your local maven repository you can use this option. Hope that helps Claudia Jürgen Am 07.09.2010 08:31, schrieb Harsha Balasooriya: > I kind expect help me to correct these problems as I work more that 2 days > on same matter > > - Configuretion: Dspace: 1.6.1 > - Tomcat:apache-tomcat-6.0.29 > - OS: CentOS 4 > - Ant: ant-1.8.1 > > * **Message.properties location* > > > 1. /usr/dspace-1.6.1/dspace-api/src/main/resources/Messages.properties > 2. /usr/dspace-1.6.1/dspace-api/target/classes/Messages.properties > > > I have add follwing line to above file 1 and 2 > > itemlist.dc.subject.* =Subject > > and restart the tomcat, but still the browse list header appears as this > > > ??? itemlist.dc.subject.*??? > > Please help me! > > Harsha Balasooriya > Assistant Librarian, systems > The Open University of Sri Lanka > > > > > -- > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > > > > ___ > DSpace-tech mailing list > DSpace-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Claudia Juergen Universitaetsbibliothek Dortmund Eldorado 0231/755-4043 https://eldorado.tu-dortmund.de/ -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Dspce-1.1.6: Messages.property does not work
On Tue, Sep 7, 2010 at 10:24, Harsha Balasooriya wrote: > in Dspace 1.6.1 Messages.properties not in the [dspace] live instance, so > every doing the rebuilt is very difficult with slow intenet connection. I > undertand the only option is rebuid all. I think it should be stored here in the live instance (but I can't check, I'm not using jspui): /dspace/webapps/jspui/WEB-INF/classes Don't forget to restart your servlet container (e.g. Tomcat) after copying it in. Regards, ~~helix84 -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Dspce-1.1.6: Messages.property does not work
On Tue, Sep 7, 2010 at 08:31, Harsha Balasooriya wrote: > /usr/dspace-1.6.1/dspace-api/src/main/resources/Messages.properties > /usr/dspace-1.6.1/dspace-api/target/classes/Messages.properties Hello Harsha, you're not modifying the live version of dspace, just the dspace source files. You have 2 options: 1) modify the source files and re-deploy dspace using ant update (see manual) 2) modify Messages.properties in the live instance (probably at /dspace/...) Hope that helps. Regards, ~~helix84 -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Dspce-1.1.6: Messages.property does not work
I kind expect help me to correct these problems as I work more that 2 days on same matter - Configuretion: Dspace: 1.6.1 - Tomcat:apache-tomcat-6.0.29 - OS: CentOS 4 - Ant: ant-1.8.1 * **Message.properties location* 1. /usr/dspace-1.6.1/dspace-api/src/main/resources/Messages.properties 2. /usr/dspace-1.6.1/dspace-api/target/classes/Messages.properties I have add follwing line to above file 1 and 2 itemlist.dc.subject.* =Subject and restart the tomcat, but still the browse list header appears as this ??? itemlist.dc.subject.*??? Please help me! Harsha Balasooriya Assistant Librarian, systems The Open University of Sri Lanka -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech