[Dspace-tech] xmlui xmlns corruption
Hello DSpacers! I've noticed that the xmlns of many of the XHTML elements that our dspace-1.5 XMLUI theme generates have an incorrect namespace attached to them. Ex: http://dspace-test.lib.auburn.edu/manakin/ ... div xmlns=http://di.tamu.edu/DRI/1.0/; id=ds-body h1 class=ds-div-headAuburn Theses and Dissertations/h1 ... Web browsers are not bothered by the bad namespace, but I'd like to fix this if possible. I believe the problem derives from the way Cocoon handles the following XSL rules from themes/dri2xhtml/structural.xsl, but I haven't come up with a good replacement for these rules. !-- This does it for all the DRI elements. The only thing left to do is to handle Cocoon's i18n transformer tags that are used for text translation. The templates below simply push through the i18n elements so that they can translated after the XSL step. -- xsl:template match=i18n:text xsl:copy-of select=./ /xsl:template xsl:template match=i18n:translate xsl:copy-of select=./ /xsl:template xsl:template match=i18n:param xsl:copy-of select=./ /xsl:template Is anyone else having this problem ? I'd appreciate any suggestions that can be offered. Thanks for the help! Cheers, Reuben - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Need help
one of my client wants to install dspace in their domain. That means, they don`t have enough money to buy a stand alone server for dspace. Moreover, they already bought a domain in somewhere. Now, they are telling me to install dspace there in that domain. Is it possible? How can i do that? -- Best, Z - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Internal Server Error when creating top level community
Hello, After installing and setting up our installation of DSpace, I tried to create a top level community and when I do so I get a Internal Server Error. Bellow is the stack trace returned from the page. Please help if you can...much appreciated. David Marcinkowski Associate Director Academic Computing Pratt Institute stack trace bellow ___ !-- org.dspace.app.webui.components.RecentSubmissionsException: org.dspace.browse.BrowseException: problem with query: SELECT bi_item.* FROM bi_item, (SELECT communities2item.item_id FROM communities2item WHERE communities2item.community_id=? ) mappings WHERE bi_item.item_id=mappings.item_id ORDER BY sort_3 DESC LIMIT ? = org.dspace.plugin.PluginException: org.dspace.app.webui.components.RecentSubmissionsException: org.dspace.browse.BrowseException: problem with query: SELECT bi_item.* FROM bi_item, (SELECT communities2item.item_id FROM communities2item WHERE communities2item.community_id=? ) mappings WHERE bi_item.item_id=mappings.item_id ORDER BY sort_3 DESC LIMIT ? at org.dspace.app.webui.components.RecentCommunitySubmissions.process(Recen tCommunitySubmissions.java:85) at org.dspace.app.webui.servlet.HandleServlet.preProcessCommunityHome(Handl eServlet.java:455) at org.dspace.app.webui.servlet.HandleServlet.communityHome(HandleServlet.j ava:413) at org.dspace.app.webui.servlet.HandleServlet.doDSGet(HandleServlet.java:23 9) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet. java:151) at org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1 74) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:87 4) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc essConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint .java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow erWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool .java:689) at java.lang.Thread.run(Thread.java:595) Caused by: org.dspace.app.webui.components.RecentSubmissionsException: org.dspace.browse.BrowseException: problem with query: SELECT bi_item.* FROM bi_item, (SELECT communities2item.item_id FROM communities2item WHERE communities2item.community_id=? ) mappings WHERE bi_item.item_id=mappings.item_id ORDER BY sort_3 DESC LIMIT ? at org.dspace.app.webui.components.RecentSubmissionsManager.getRecentSubmis sions(RecentSubmissionsManager.java:132) at org.dspace.app.webui.components.RecentCommunitySubmissions.process(Recen tCommunitySubmissions.java:80) ... 21 more Caused by: org.dspace.browse.BrowseException: problem with query: SELECT bi_item.* FROM bi_item, (SELECT communities2item.item_id FROM communities2item WHERE communities2item.community_id=? ) mappings WHERE bi_item.item_id=mappings.item_id ORDER BY sort_3 DESC LIMIT ? at org.dspace.browse.BrowseDAOPostgres.doQuery(BrowseDAOPostgres.java:403) at org.dspace.browse.BrowseEngine.browseMini(BrowseEngine.java:198) at org.dspace.app.webui.components.RecentSubmissionsManager.getRecentSubmis sions(RecentSubmissionsManager.java:116) ... 22 more Caused by: org.postgresql.util.PSQLException: ERROR: column sort_3 does not exist at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecu torImpl.java:1531) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImp l.java:1313) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java: 188) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Stateme nt.java:452) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdb c2Statement.java:354) at
Re: [Dspace-tech] DSpace language localization questions
Hi Alex, the easieast way to change the default language to Greek, supposing this should be the only language of your DSpace instance, is to replace (or rather use the overlay techniques) all text related files with their Greek version. The main file is the message catalogue, Messages.properties or messages.xml (jspui, xmlui). Furthermore you got to replace some other sources like - the email templates - the input form - the help pages - the license - the side/top news hope that helps Claudia [EMAIL PROTECTED] schrieb: Hi all, I've been trying to change the default language of dspace to Greek, so that it won't depend on the browser, but can't seem to do it. After some searching I tried various flags in dspace.cfg and rebuilt it but none of them worked. Since most of the stuff I found were for older versions, I'm starting to thing that something might be very different in v1.5.1 :) Is there a way to do this or has it been completely deprecated? I'm also trying to change the browsing alphabet index to Greek. I've found some code to do this but it refers to the file aspect:artifactbrowser/ConfigurableBrowse.java which I can't locate and I assume is also from an older version. So, any updates on how I might achieve this functionality to the current version will be greatly appreciated. Thanks in advance, Alex - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Progress bar for large file upload
I need to integrate in the upload web page of DSpace some sort of upload progress bar, since i use Dspace as a video file repository, my files are very large (1.5 GB+), and the submission process takes long. Whitout a progress bar, when i click on Complete Submission the browser hangs and i don't know remaining time, transfer rate, percentage completed, nothing! The problem is that i'm not a developer :( Can you provide me some simple way to embed a progress bar? I really neeed it! Thank you in advance. Caco - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Upgrading to 151
Mark: It turns out that we always get the log4j error, even on 1.5 which works fine. So that is not an issue. I do follow the instructions you pointed out below. The reason I hard code the dspace.cfg file is that I have two repositories - a prod and a dev, and whe I was working with 1.5 it was looking at the wrong repostiory, and you told me to hard code the path in that file. I don't understand why after I do step 1 and 2 I don't have a WEB-INF dir in the dev-151/dspace/modules/jspui/src/main/webapp. I have placed all my customized jsp changes in this directory. If you find this too confusing to deal over email, I can give you my phone. Thanks! Jose -Original Message- From: Diggory Mark [mailto:[EMAIL PROTECTED] Sent: Friday, September 26, 2008 12:00 PM To: Tech DSpace Subject: Re: [Dspace-tech] Upgrading to 151 Jose, I'm concerned that your possibly trying to build DSpace differently than we outline currently in the documentation. 1.) go to [dspace-source]/dspace and run mvn clean package 2.) go to [dspace-source]/target/dspace-1.5.1-build.dir and run ant fresh_install for a fresh installation or ant update to update compiled code/webapps that you are deploying You should not need to hardcode the dspace.dir of dspace.cfg in the web.xml or anywhere else other than your [dspace-source/dspace/config/ dspace.cfg file. The Ant install process transforms this file whenever you run ant update or ant fresh_install. Please give better details about the system your deploying on, which distribution you are using (release or src-release), all the customizations your trying to make and the steps your taking to build DSpace. Without this level of detail we can not provide an adequate diagnosis of why you are getting results inconsistent with the documented build process. The two issues outline below are very different in nature. Sincerely, Mark On Sep 26, 2008, at 8:06 AM, Blanco, Jose wrote: I was able to /l/local/bin/mvn package to complete and then I did the update to creat the webapp. But now when I try to deploy it, I'm getting this error: log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax). log4j:WARN Please initialize the log4j system properly. No update on poolMap! Also, with dspace 1.5 I had hardcoded the dspace.cfg file path in the file: dspace/modules/jspui/src/main/webapp/WEB-INF/web.xml But I don't see this file when I build 1.5.1 -Jose -Original Message- From: Sands Fish [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2008 3:58 PM To: Blanco, Jose Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Upgrading to 151 Jose, Also, for future trouble-shooting reference, you can use a web- browser to verify that the artifact Maven is complaining about is there, e.g... From the error, you can get the repositories it is attempting to download the artifact from... http://maven.dspace.org/snapshot and then navigate through the tree structure to make sure the JAR of the artifact exists. Maven deploys artifacts based on 3 criteria, which are mapped to the directory structure you will see in any Maven repository: groupId (e.g. dspace) artifactId (e.g. dspace-api-lang) and version(e.g. 1.5.0.1-SNAPSHOT although in this case, it is looking for any version within the range 1.5.0.0 - 1.6.0.0 as noted in the error below) Hence, the URL to check: http://maven.dspace.org/snapshot/org/dspace/dspace-api-lang/ 1.5.0.1-SNAPSHOT/ Much easier to just start at the top though: http://maven.dspace.org/snapshot -- sands fish Software Engineer MIT Libraries Technology Research Development [EMAIL PROTECTED] E25-131 * Please consider the environment before printing this email On Sep 25, 2008, at 3:02 PM, Blanco, Jose wrote: I'm getting the following message when I do /l/local/bin/mvn package [INFO] Building jar: /l1/dspace/build/dev-151/dspace-api/target/dspace-api-1.5.1.jar [INFO] - - -- [INFO] Building DSpace XML-UI (Manakin) :: API and Core Aspects [INFO]task-segment: [package] [INFO] - - -- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] artifact org.dspace:dspace-api-lang: checking for updates from central [WARNING] repository metadata for: 'artifact org.dspace:dspace-api- lang' could not be retrieved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] - - -- [ERROR] BUILD ERROR [INFO] - - -- [INFO] Failed to resolve artifact. No versions are present in the repository for the artifact with a range
Re: [Dspace-tech] re garding ant fresh_install
Hi Im having trouble installing dspace 1.4 on windows xp,i installed postgresql and apache tomcat but ant fresh_install gives an error:Buildfile:build.xml does not exist' Build failed.I dont know what to do next,need some help. -- View this message in context: http://www.nabble.com/regarding-ant-fresh_install-tp17402845p19722281.html Sent from the DSpace - Tech mailing list archive at Nabble.com. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Problem dspace installed in root context and tomcat 5.5 with admin tool installed. Solution.
Hi list, We tried to install dspace.1.5.1-release, xmlui, in root context. Everthing worked except for http://somehost/admin/* . The problem appears when tomcat admin tools is installed. We solved it by renaming admin to tomcatadmin : mv /var/lib/tomcat5/server/webapps/admin /var/lib/tomcat5/server/webapps/tomcatadmin In this case we are running : Red Hat Enterprise Linux Server release 5.2 dspace.1.5.1-release (using xmlui) tomcat 5.5 /Klaus - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Range query
Yes, in theory (at least for 1.5+ - haven't checked earlier) For example, a query like author:[aa TO ab] Will find all items with authors that start with 'aa' (it will also find any authors that exactly match 'ab', but not 'aba', etc.) G Jochen Lienhard wrote: Hi, does DSpace support range queries? like author{Aa TO Am} Greetings Jochen This e-mail is confidential and should not be used by anyone who is not the original intended recipient. BioMed Central Limited does not accept liability for any statements made which are clearly the sender's own and not expressly made on behalf of BioMed Central Limited. No contracts may be concluded on behalf of BioMed Central Limited by means of e-mail communication. BioMed Central Limited Registered in England and Wales with registered number 3680030 Registered Office Middlesex House, 34-42 Cleveland Street, London W1T 4LB This email has been scanned by Postini. For more information please visit http://www.postini.com - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Change Advanced search of a specific collection?
Hello! Is it possible to change the advanced search options of a specific colletion? (for example to add a custom dropdown box). If yes, I would appreciate any tutorial or other resource on this issue. Thank you! Panagiotis - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] SQL Code
Hello, Anybody knows where is the SQL code for the advanced search? Tks. Víctor Izaguirre Castro Biblioteca Virtual de la Cooperación Internacional Virtual Library of International Cooperation - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Submission form's initial questions
Hi all: We have dspace1.5, and suddenly in the submission form doesn't appear the The item has been published or publicly distributed before checkbox. And because of that the field date.issued is not present in the form. Do you know why, and how to change it? Thanks in advance. Alvaro Sandoval [EMAIL PROTECTED] Biblioteca del Congreso Nacional Chile - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Repository Mgr Mtg Post SPARC Survey
Apologies for the cross-posting. As Michele Kimpton mentioned last week, the DSpace Global Outreach Cmte is looking into organizing a 1/2 day DSpace repository manager meeting on Wednesday, November 19th, from 8am until noon -- following the SPARC Digital Repositories Mtg in Baltimore, Maryland. We have put together a very brief survey to assess if there is enough interest to make the effort worthwhile as well as give us an indication of what specific topics/areas would be of most value to participants. Repository managers, administrators or anyone else who thinks they maybe interested in attending the DSpace meeting should feel free to complete the survey. Here is the link: http://www.surveymonkey.com/s.aspx?sm=PdquwukqQVm_2bK8Sk0uQeqw_3d_3d Thank you in advance for your participation. Valorie Hollister Community Outreach Manager DSpace Foundation - Original Message From: Michele Kimpton [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 24, 2008 9:45:28 AM Subject: [Dspace-general] DSpace Repository Mgr mtg post SPARC To Repository Managers and Administrators of DSpace, The DSpace Foundation, with the help and support of the DSpace global outreach committee are looking into organizing a 1/2 day DSpace Repository Mgr. meeting Wed Nov 19th following the SPARC repository meeting in Baltimore. The global outreach committee has come up with a list of interesting topics for the 1/2 day session. Valorie, our community outreach manager will be sending out a short 4 question survey next week to see if there is enough interest in the community to put together this 1/2 day session and get your input on what topics would be of most interest. If this sounds at all appealing please block space in your calendar. If we have a minimum of 25 people interested we will definitely run the session. If you have questions please do not hesitate to contact myself or Val in the meantime. best, Michele and Val [EMAIL PROTECTED], [EMAIL PROTECTED] ___ Dspace-general mailing list [EMAIL PROTECTED] http://mailman.mit.edu/mailman/listinfo/dspace-general - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Question regarding handle.jar
Jason, We definitely need such cases reported so we can assure the next round of documentation has a fix in it, thanks. Graham makes a good point about the handles jar and versioning. Could you point me to the latest version of the jar you are using and I'll publish it into the maven repository, then one only has to alter the dependencyManagement section of the dspace parent pom to retrieve the newer version. Once I have it uploaded, I'll show you how to change that in the pom.xml -Mark On Oct 1, 2008, at 11:07 AM, Jason Fowler wrote: Mark, Ok. I understand now. Thanks for clearing that up for me. I was going by what the pdf version of the DSpace 1.5.1 Manual says on page 28. It appears the Manual is incorrect. Jason Fowler, CA Archives and Special Collections Librarian The Southern Baptist Theological Seminary 502-897-4573 [EMAIL PROTECTED] From: Mark Diggory [EMAIL PROTECTED] Sent: Tuesday, September 30, 2008 10:55 PM To: DSpace Tech Subject: Re: [Dspace-tech] Question regarding handle.jar The current 1.5.1 deployment provides a reference to an existing handle.jar which is retrieved from the maven repository and placed into the installed dspace/lib and dspace/webapp/*/WEB-INF/lib when DSpace is built. The Maven build process works best when one does not try to alter the jars provided in the lib directory. I recommend reading up on the Maven build process via the documentation provided and that found on the maven.apache.org website. There is no lib directory in the 1.5.1 source tree because it retrieves the dependencies from maven directly rather than you downloading them. If you do truly need to change this jar for a newer version, we had a recent conversation on the list about installing jars if you need to use something different than what we provide. http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/ msg05386.html I will ask why are you trying to alter the existing handle.jar? The current one we publish into the maven repository (which your build has downloaded) should be adequate for DSpace 1.5.1 and the current Handle service. Are you encountering problems running the handle service? Cheers, Mark On Sep 30, 2008, at 1:31 PM, Jason Fowler wrote: Hello all, I am new to DSpace, and I am trying to get our installation up and running. I appreciate your patience in advance. I am trying to install the new handle.jar, and according to the documentation, I need to replace the existing handle.jar in the [dspace-source]/lib directory with the new handle.jar. I have downloaded the new one, but I have a problem. I have no lib directory in [dspace-source]. I have one in [dspace], but I do not have one in [dspace-source]. Is the documentation correct, or is there something wrong with my installation? I initially downloaded dspace-1.5.1-src-release.tar.gz because I thought that was what I needed. Did I download the wrong thing? Jason Fowler, CA Archives and Special Collections Librarian The Southern Baptist Theological Seminary 502-897-4573 [EMAIL PROTECTED] -- --- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech ~ Mark R. Diggory Home Page: http://purl.org/net/mdiggory/homepage Blog: http://purl.org/net/mdiggory/blog - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] plugins and custom classes in 1.5.x
Can anyone point to good documentation about where to place plugins and custom class files in 1.5.x? It's not clear from the 1.5.1 manual. Specifically, in what directory would I place a custom authentication method like the MIT-Special-Groups in 1.4.x? Thanks, Jason -- Jason Stirnaman Digital Projects Librarian/School of Medicine Support A.R. Dykes Library, University of Kansas Medical Center [EMAIL PROTECTED] 913-588-7319 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] plugins and custom classes in 1.5.x
I'll concur with Mark's comments about the use of Maven modules. A small note about Java package spaces though - org.dspace.authenticate is the correct place for it to be if you are intending to submit it as a patch. If it's just a local customisation, it's better to use a package appropriate to your institution - ie. edu.kumc.authenticate. G Diggory Mark wrote: Yes, this is a safe place to put such a customization if you want it to be part of more than one of your webapplications (if it is just one webapplication that will be using it, just place it in that webapplications src/main/java directory). You will do the following: 1.) Create an api directory 2.) create a api/pom.xml that has a artifactId, groupId and version that is the same as your current dspace version. 3.) make sure it is also dependent on org.dspace:dspace-api:version 4.) put you code in api/src/main/java 5.) add the api directory to the modules/pom.xml as both a module and a dependency when you now build, the api will be included into the modules list for modules being built and the dependency will make sure it shows up in you WEB-INF/lib of your compiled webapplications. Finally, if you want your project to show up in the [dspace.dir]/lib, you'll want to also add the dependency to the dspace/pom.xml Don't hesitate to ask any questions if you get hung up on any of this. Cheers, Mark On Oct 1, 2008, at 2:44 PM, Jason Stirnaman wrote: Follow up to my question: Is [dspace-source]/dspace/modules/api/src/main/java/org/dspace/ authenticate the correct place to put a custom authentication method? *** Can anyone point to good documentation about where to place plugins and custom class files in 1.5.x? It's not clear from the 1.5.1 manual. Specifically, in what directory would I place a custom authentication method like the MIT-Special-Groups in 1.4.x? Thanks, Jason -- Jason Stirnaman Digital Projects Librarian/School of Medicine Support A.R. Dykes Library, University of Kansas Medical Center [EMAIL PROTECTED] 913-588-7319 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech This e-mail is confidential and should not be used by anyone who is not the original intended recipient. BioMed Central Limited does not accept liability for any statements made which are clearly the sender's own and not expressly made on behalf of BioMed Central Limited. No contracts may be concluded on behalf of BioMed Central Limited by means of e-mail communication. BioMed Central Limited Registered in England and Wales with registered number 3680030 Registered Office Middlesex House, 34-42 Cleveland Street, London W1T 4LB This email has been scanned by Postini. For more information please visit http://www.postini.com - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] plugins and custom classes in 1.5.x
Yes, putting it in another project/modules is just for reuse across webapplications. On Oct 3, 2008, at 5:03 AM, Mathias Hjelt wrote: I have a question here -- suppose that only the jspui webapp needs the class, wouldn't it then be cleaner to put it in the overlay folder (i.e [dspace-src]/dspace/modules/jspui/ under which you create java/packagepath/yourclassfile.java), rather than putting it under the dspace-jspui directory which I suppose is what you suggested? thanks, Mathias Hjelt DHanken -Original Message- From: Diggory Mark [mailto:[EMAIL PROTECTED] Sent: den 2 oktober 2008 05:30 To: Jason Stirnaman Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] plugins and custom classes in 1.5.x Yes, this is a safe place to put such a customization if you want it to be part of more than one of your webapplications (if it is just one webapplication that will be using it, just place it in that webapplications src/main/java directory). You will do the following: 1.) Create an api directory 2.) create a api/pom.xml that has a artifactId, groupId and version that is the same as your current dspace version. 3.) make sure it is also dependent on org.dspace:dspace-api:version 4.) put you code in api/src/main/java 5.) add the api directory to the modules/pom.xml as both a module and a dependency when you now build, the api will be included into the modules list for modules being built and the dependency will make sure it shows up in you WEB-INF/lib of your compiled webapplications. Finally, if you want your project to show up in the [dspace.dir]/ lib, you'll want to also add the dependency to the dspace/pom.xml Don't hesitate to ask any questions if you get hung up on any of this. Cheers, Mark On Oct 1, 2008, at 2:44 PM, Jason Stirnaman wrote: Follow up to my question: Is [dspace-source]/dspace/modules/api/src/main/java/org/dspace/ authenticate the correct place to put a custom authentication method? *** Can anyone point to good documentation about where to place plugins and custom class files in 1.5.x? It's not clear from the 1.5.1 manual. Specifically, in what directory would I place a custom authentication method like the MIT-Special-Groups in 1.4.x? Thanks, Jason -- Jason Stirnaman Digital Projects Librarian/School of Medicine Support A.R. Dykes Library, University of Kansas Medical Center [EMAIL PROTECTED] 913-588-7319 - - --- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- --- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- --- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech ~ Mark R. Diggory Home Page: http://purl.org/net/mdiggory/homepage Blog: http://purl.org/net/mdiggory/blog - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Current DSpace METS profile doc?
So I'm looking at converting my batch loading scripts from the old item importer to the package importer. The latter wants a METS SIP as input. There's no description of these in the bundled documentation. I found a description on the wiki, but it's missing a few trifling things like the correct value for the PROFILE URI. One of the examples is a link to a page not yet created, and the other isn't linked at all. There's an offsite linkt to www.dspace.org that is broken. I get the feeling that this is not the most current specification. Is there somewhere else I should look? -- Mark H. Wood, Lead System Programmer [EMAIL PROTECTED] Typically when a software vendor says that a product is intuitive he means the exact opposite. pgpdfMtfVPUNr.pgp Description: PGP signature - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech