Re: [Dspace-tech] Not affect the Code that was changes from [dspace-source] jsptag
Hello Bhavesh, you got to do a full rebuild i.e. running mvn from [dspace-src] instead of [dspace-src]/dspace s. https://wiki.duraspace.org/display/DSDOC3x/Advanced+Customisation#AdvancedCustomisation-DSpaceSourceRelease Hope this helps Claudia Jürgen Am 25.10.2013 09:06, schrieb Bhavesh Patel: Dear All, I am using DSpace 3.2 into Window. I want to make some custom code on ItemTag.java on the below path. * C:\dspace-3.2-src-release\dspace-jspui\src\main\java\org\dspace\app\webui\jsptag * Code [ that I have customize for test purpose ] : - * /*** * * List bitstreams in the item* * */* *private void listBitstreams() throws IOException* *{* *JspWriter out = pageContext.getOut();* *HttpServletRequest request = (HttpServletRequest) pageContext* *.getRequest();* * * *out.print(table align=\center\ class=\miscTable\ trtdBhavesh/td/trtr);* *out.println(td class=\evenRowEvenCol\pstrong* *+ LocaleSupport.getLocalizedMessage(pageContext,* *org.dspace.app.webui.jsptag.ItemTag.files)* *+ /strong/p);* -- I have added one tr but it's Not affecting on that Item detail page. Then I have Rebuild the DSpace .. [ dspace-source]/dspace then mvn package then... [dspace-source]/dspace/target/dspace-[version]-build.dir/ then ant update then I restart the tomcat service.. It will restore to default DSpace installation..but I am not able to see the custom text message on item detail page. *What I want is I want to open Javascript Popup when I click on any bitstream file..* * * *Please help me on that...URGENT..* Thanks Regards, *Bhavesh R. Patel * bhavesh.bece...@gmail.com (Email) *Websites :* - www.bhaveshpatel.info - www.onlinequizportal.com - www.hindisuvichar.com Never leave till tomorrow which you can do today *Please consider the environment before printing this e-mail.* -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/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 -- Claudia Juergen Eldorado Technische Universität Dortmund Universitätsbibliothek Vogelpothsweg 76 44227 Dortmund Tel.: +49 231-755 40 43 Fax: +49 231-755 40 32 claudia.juer...@ub.tu-dortmund.de www.ub.tu-dortmund.de Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und vernichten Sie diese Mail. Vielen Dank. Unbeschadet der Korrespondenz per E-Mail sind unsere Erklärungen ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung eines solchen Schriftstücks per Telefax erfolgen. Important note: The information included in this e-mail is confidential. It is solely intended for the recipient. If you are not the intended recipient of this e-mail please contact the sender and delete this message. Thank you. Without prejudice of e-mail correspondence our statements are only legally binding when they are made in the conventional written form (with personal signature) or when such documents are sent by fax. -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/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] Not affect the Code that was changes from [dspace-source] jsptag
Dear Claudia, thanks for your reply.. I have try that full rebuild from [dspace-source] .. but it's not build successfully... It's giving error from JSPUI build.. I have attached one file of that command... please have a look and let me know what may be the issue.. Thanks, Bhavesh Thanks Regards, *Bhavesh R. Patel * bhavesh.bece...@gmail.com (Email) *Websites :* - www.bhaveshpatel.info - www.onlinequizportal.com - www.hindisuvichar.com Never leave till tomorrow which you can do today *Please consider the environment before printing this e-mail.* On Fri, Oct 25, 2013 at 12:44 PM, Claudia Jürgen claudia.juer...@ub.tu-dortmund.de wrote: Hello Bhavesh, you got to do a full rebuild i.e. running mvn from [dspace-src] instead of [dspace-src]/dspace s. https://wiki.duraspace.org/display/DSDOC3x/Advanced+Customisation#AdvancedCustomisation-DSpaceSourceRelease Hope this helps Claudia Jürgen Am 25.10.2013 09:06, schrieb Bhavesh Patel: Dear All, I am using DSpace 3.2 into Window. I want to make some custom code on ItemTag.java on the below path. * C:\dspace-3.2-src-release\dspace-jspui\src\main\java\org\dspace\app\webui\jsptag * Code [ that I have customize for test purpose ] : - * /*** * * List bitstreams in the item* * */* *private void listBitstreams() throws IOException* *{* *JspWriter out = pageContext.getOut();* *HttpServletRequest request = (HttpServletRequest) pageContext* *.getRequest();* * * *out.print(table align=\center\ class=\miscTable\ trtdBhavesh/td/trtr);* *out.println(td class=\evenRowEvenCol\pstrong* *+ LocaleSupport.getLocalizedMessage(pageContext,* *org.dspace.app.webui.jsptag.ItemTag.files)* *+ /strong/p);* -- I have added one tr but it's Not affecting on that Item detail page. Then I have Rebuild the DSpace .. [ dspace-source]/dspace then mvn package then... [dspace-source]/dspace/target/dspace-[version]-build.dir/ then ant update then I restart the tomcat service.. It will restore to default DSpace installation..but I am not able to see the custom text message on item detail page. *What I want is I want to open Javascript Popup when I click on any bitstream file..* * * *Please help me on that...URGENT..* Thanks Regards, *Bhavesh R. Patel * bhavesh.bece...@gmail.com (Email) *Websites :* - www.bhaveshpatel.info - www.onlinequizportal.com - www.hindisuvichar.com Never leave till tomorrow which you can do today *Please consider the environment before printing this e-mail.* -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/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 -- Claudia Juergen Eldorado Technische Universität Dortmund Universitätsbibliothek Vogelpothsweg 76 44227 Dortmund Tel.: +49 231-755 40 43 Fax: +49 231-755 40 32 claudia.juer...@ub.tu-dortmund.de www.ub.tu-dortmund.de Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und vernichten Sie diese Mail. Vielen Dank. Unbeschadet der Korrespondenz per E-Mail sind unsere Erklärungen ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung eines solchen Schriftstücks per Telefax erfolgen. Important note: The information included in this e-mail is confidential. It is solely intended for the recipient. If you are not the intended recipient of this e-mail please contact the sender and delete this message. Thank you. Without prejudice of e-mail correspondence our statements are only legally binding when they are made in the conventional written form (with personal signature) or when such documents are sent by fax. -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel
Re: [Dspace-tech] Maven Package in 3.x
Hey, think I may have spoken too soon... It worked once and now I'm having the same issue again, and running the clean package and deleting the .m2 folder are having no effect. Any other thoughts? It's a 3.2-src-release one that I am trying to build... Adam -Original Message- From: Rousell Adam Sent: 23 October 2013 14:41 To: 'heli...@centrum.sk' Cc: dspace-tech@lists.sourceforge.net Subject: RE: [Dspace-tech] Maven Package in 3.x Hey, the clean package thing seemed to do the trick. It's on a new Linux setup so maybe something to do with Maven being freshly downloaded from the repository or something... Anyway, thanks for your help :) Adam -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: 23 October 2013 13:34 To: Adam Rousell Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Maven Package in 3.x On Wed, Oct 23, 2013 at 12:36 PM, Adam Rousell adam.rous...@nottingham.ac.uk wrote: I seem to be having issues with running the maven package on a newly downloaded instance of DSpace 3.x. During the package process the system hangs when trying to download files. A number of the links provided result in a 404 error when trying to access through a browser (i.e. http://oss.sonatype.org/content/repositories/releases/commons-digester/commons-digester/1.6/commons-digester-1.6.jar). Is this a problem with the host that holds these files as at the minute I cannot build any instances that use these. Hi Adam, I'm not sure how Maven got that broken link, because commons-digester-1.6.jar *is* available on Maven Central [1]. We think this might be a Maven caching issue. Try building again with: mvn -U clean package If that doesn't help, try deleting the ~/.m2 directory. Maven will re-fetch every dependency and recreate it on its next run. Which exact 3.x version are you building? We were able to build 3.2 successfully. [1] http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22commons-digester%22%20AND%20a%3A%22commons-digester%22 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/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] Not affect the Code that was changes from [dspace-source] jsptag
Dear Claudia, Sorry I have made a syntax mistake on ItemTag.java page. But once I correct it and again Full Rebuild then It's Build success.. but the changes is still not affected.. I have to do execute ant update after Full Rebuild ...? because I have not execute that ant update command... Please help me.. Thank you for your help and time.. Bhavesh Thanks Regards, *Bhavesh R. Patel * bhavesh.bece...@gmail.com (Email) *Websites :* - www.bhaveshpatel.info - www.onlinequizportal.com - www.hindisuvichar.com Never leave till tomorrow which you can do today *Please consider the environment before printing this e-mail.* On Fri, Oct 25, 2013 at 12:44 PM, Claudia Jürgen claudia.juer...@ub.tu-dortmund.de wrote: Hello Bhavesh, you got to do a full rebuild i.e. running mvn from [dspace-src] instead of [dspace-src]/dspace s. https://wiki.duraspace.org/display/DSDOC3x/Advanced+Customisation#AdvancedCustomisation-DSpaceSourceRelease Hope this helps Claudia Jürgen Am 25.10.2013 09:06, schrieb Bhavesh Patel: Dear All, I am using DSpace 3.2 into Window. I want to make some custom code on ItemTag.java on the below path. * C:\dspace-3.2-src-release\dspace-jspui\src\main\java\org\dspace\app\webui\jsptag * Code [ that I have customize for test purpose ] : - * /*** * * List bitstreams in the item* * */* *private void listBitstreams() throws IOException* *{* *JspWriter out = pageContext.getOut();* *HttpServletRequest request = (HttpServletRequest) pageContext* *.getRequest();* * * *out.print(table align=\center\ class=\miscTable\ trtdBhavesh/td/trtr);* *out.println(td class=\evenRowEvenCol\pstrong* *+ LocaleSupport.getLocalizedMessage(pageContext,* *org.dspace.app.webui.jsptag.ItemTag.files)* *+ /strong/p);* -- I have added one tr but it's Not affecting on that Item detail page. Then I have Rebuild the DSpace .. [ dspace-source]/dspace then mvn package then... [dspace-source]/dspace/target/dspace-[version]-build.dir/ then ant update then I restart the tomcat service.. It will restore to default DSpace installation..but I am not able to see the custom text message on item detail page. *What I want is I want to open Javascript Popup when I click on any bitstream file..* * * *Please help me on that...URGENT..* Thanks Regards, *Bhavesh R. Patel * bhavesh.bece...@gmail.com (Email) *Websites :* - www.bhaveshpatel.info - www.onlinequizportal.com - www.hindisuvichar.com Never leave till tomorrow which you can do today *Please consider the environment before printing this e-mail.* -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/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 -- Claudia Juergen Eldorado Technische Universität Dortmund Universitätsbibliothek Vogelpothsweg 76 44227 Dortmund Tel.: +49 231-755 40 43 Fax: +49 231-755 40 32 claudia.juer...@ub.tu-dortmund.de www.ub.tu-dortmund.de Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und vernichten Sie diese Mail. Vielen Dank. Unbeschadet der Korrespondenz per E-Mail sind unsere Erklärungen ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung eines solchen Schriftstücks per Telefax erfolgen. Important note: The information included in this e-mail is confidential. It is solely intended for the recipient. If you are not the intended recipient of this e-mail please contact the sender and delete this message. Thank you. Without prejudice of e-mail correspondence our statements are only legally binding when they are made in the conventional written form (with personal signature) or when such documents are sent by fax. -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI,
Re: [Dspace-tech] Maven Package in 3.x
Hi, Adam, I bet Helix will beat me to this reply, but I thought I'd just point out that the most important part of the command that Helix suggested, and you didn't mention in your reply, so I'm pointing it out, is the -U option. clean package tells Maven to first clean out the build target folder, and then package tells Maven to re-package the ant installer for DSpace. The -U command line tells Maven to update all snapshots--think of those as dependencies. Taking the extra step of first deleting your .m2 folder just ensures that nothing strange happens with the dependency update. BTW, deleting your ~/.m2 folder deletes a lot more than your cache repository... in the future, you may want to remove just the ~.m2/repository folder, especially if you've been storing settings or profiles in .m2/settings.xml. Also, if you're an Oracle DB user like me, you'll need to re-install the Oracle driver, since it's stored in your ~/.m2/repository folder. Sorry to be pedantic, but these details are important. :-) Oh, also, you may want to try tinkering with Vagrant-DSpace if you want a quick way to get up and running with DSpace: https://github.com/DSpace/vagrant-DSpace -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ It is a well-known fact in any organization that, if you want a job done, you should give it to someone who is already very busy. --Terry Pratchett, Unseen Academicals On 10/25/13 4:55 AM, Adam Rousell adam.rous...@nottingham.ac.uk wrote: Hey, think I may have spoken too soon... It worked once and now I'm having the same issue again, and running the clean package and deleting the .m2 folder are having no effect. Any other thoughts? It's a 3.2-src-release one that I am trying to build... Adam -Original Message- From: Rousell Adam Sent: 23 October 2013 14:41 To: 'heli...@centrum.sk' Cc: dspace-tech@lists.sourceforge.net Subject: RE: [Dspace-tech] Maven Package in 3.x Hey, the clean package thing seemed to do the trick. It's on a new Linux setup so maybe something to do with Maven being freshly downloaded from the repository or something... Anyway, thanks for your help :) Adam -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: 23 October 2013 13:34 To: Adam Rousell Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Maven Package in 3.x On Wed, Oct 23, 2013 at 12:36 PM, Adam Rousell adam.rous...@nottingham.ac.uk wrote: I seem to be having issues with running the maven package on a newly downloaded instance of DSpace 3.x. During the package process the system hangs when trying to download files. A number of the links provided result in a 404 error when trying to access through a browser (i.e. http://oss.sonatype.org/content/repositories/releases/commons-digester/co mmons-digester/1.6/commons-digester-1.6.jar). Is this a problem with the host that holds these files as at the minute I cannot build any instances that use these. Hi Adam, I'm not sure how Maven got that broken link, because commons-digester-1.6.jar *is* available on Maven Central [1]. We think this might be a Maven caching issue. Try building again with: mvn -U clean package If that doesn't help, try deleting the ~/.m2 directory. Maven will re-fetch every dependency and recreate it on its next run. Which exact 3.x version are you building? We were able to build 3.2 successfully. [1] http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22commons-digester%22%20A ND%20a%3A%22commons-digester%22 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktr k ___ 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 -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net
[Dspace-tech] Adding links to input-forms.xml
We are trying to add a couple of help links for our graduate students into our input-forms.xml file. I have been unsuccessful so far in doing this. Does anyone know how to do this? I have seen one other institutions repository that can do this. Jake -- Jake Cameron, BCS(UNB) Systems Support Specialist III Information Systems and Technical Services University of Lethbridge Library Phone:(403)329-2756 This e-mail, including any and all attachments, is only for the use of the intended recipient(s) and may contain information that is confidential or privileged. If you are not the intended recipient, you are advised that any dissemination, copying or other use of this e-mail is prohibited. Please notify the sender of the error in communication by return e-mail and destroy all copies of this e-mail. Thank you. -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/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] Adding links to input-forms.xml
Hi Jake We use JSPUI, and what we did was to edit the appropriate jsp file in the submit directory in webapp. Sean -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/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