Re: [Dspace-tech] Submission class not being added to dspace-api-4.2.jar
I posted too soon — the problem is resolved. Thanks! From: Tim Au Yeung y...@ucalgary.camailto:y...@ucalgary.ca Date: Wed, 21 Jan 2015 10:23:41 -0700 To: Andrea Schweer schw...@waikato.ac.nzmailto:schw...@waikato.ac.nz, dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Submission class not being added to dspace-api-4.2.jar Thanks — the class is now showing up but I’m still getting a class not found error. I decided to back up, duplicate the sample step and rename it to my desired class/page. When I run it with the sample step, it works but with the new class name it doesn’t — the new class is being included in the jar and I’ve included in the import of the jspui handler class but the dspace-api class is still not found. Any further suggestions? Thanks again, Tim From: Andrea Schweer schw...@waikato.ac.nzmailto:schw...@waikato.ac.nz Date: Wed, 21 Jan 2015 14:31:15 +1300 To: dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net Cc: Tim Au Yeung y...@ucalgary.camailto:y...@ucalgary.ca Subject: Re: [Dspace-tech] Submission class not being added to dspace-api-4.2.jar Hi Tim, On 21/01/15 12:31, Tim Au Yeung wrote: I’m trying to add a step to the submission workflow. I’ve created the jsp page and the corresponding classes in the dspace-api and dspace-jspui according the sample step example. I’m doing a mvn clean package but it’s not adding the dspace-api class in into the dspace-api-4.2.jar. When I compile using my IDE, the class gets created with no problems though. Any suggestions for what I might be missing here? What directory are you running the mvn clean package in? If you place things in dspace-api and dspace-jspui, you will need to run mvn from the top-level source directory ([dspace-src] in the documentation). My guess is that you're using the quick build option in [dspace-src]/dspace; in order for that to work, you will need to place your custom code under [dspace-src]/dspace/modules instead, see also https://wiki.duraspace.org/display/DSDOC4x/Advanced+Customisation cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet___ 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] Submission class not being added to dspace-api-4.2.jar
Hi all, I’m trying to add a step to the submission workflow. I’ve created the jsp page and the corresponding classes in the dspace-api and dspace-jspui according the sample step example. I’m doing a mvn clean package but it’s not adding the dspace-api class in into the dspace-api-4.2.jar. When I compile using my IDE, the class gets created with no problems though. Any suggestions for what I might be missing here? Thanks, Tim -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet___ 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] Submission class not being added to dspace-api-4.2.jar
Hi Tim, On 21/01/15 12:31, Tim Au Yeung wrote: I’m trying to add a step to the submission workflow. I’ve created the jsp page and the corresponding classes in the dspace-api and dspace-jspui according the sample step example. I’m doing a mvn clean package but it’s not adding the dspace-api class in into the dspace-api-4.2.jar. When I compile using my IDE, the class gets created with no problems though. Any suggestions for what I might be missing here? What directory are you running the mvn clean package in? If you place things in dspace-api and dspace-jspui, you will need to run mvn from the top-level source directory ([dspace-src] in the documentation). My guess is that you're using the quick build option in [dspace-src]/dspace; in order for that to work, you will need to place your custom code under [dspace-src]/dspace/modules instead, see also https://wiki.duraspace.org/display/DSDOC4x/Advanced+Customisation cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet___ 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