Re: [Dspace-tech] Using Maven Overlays to customize Submission Process
Dear all, Just to clarify things about the project structure, could you please tell me what's the best way to modifying core files: If I want to modify things in the [dspace-src]/dspace-api/src/main/java/org/dspace then I can put my new files in the [dspace-src]/dspace/modules/additions/src/main/java/org/dspace that will orverlay the old files. But if I want to modify the [dspace-src]/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/artifactbrowser/FeedbackForm.java (which is the file that I'm actually interested in modifying) then the best way to do it is just modify it directly in that directory. Is that correct? Thank you and regards André N. Assada 2012/6/12 Mark Diggory mdigg...@atmire.com On Tue, Jun 12, 2012 at 6:38 AM, helix84 heli...@centrum.sk wrote: On Tue, Jun 12, 2012 at 3:19 PM, César Sabater csaba...@unr.edu.ar wrote: I was trying to create a new item-submission step but a concern came to me about were should I place the API processing class of the step. Since there's no folder inside [ds-src]/dspace/modules that corresponds to dspace-api changes. Should I create a class in [ds-src]/dspace-api/src/main/java/org/dspace/submit/step and recompile dspace entirely? I think it should go to [dspace-src]/dspace/modules/additions/ but don't take my word for it, you'll have to try it. This will be the new place to put such classes for dspace 3.0 for code that should be associated with dspace-api (submission step) https://github.com/DSpace/DSpace/tree/master/dspace/modules/additions/src/main/java for code that should be associated with the dspace-xmlui (view) you'll need to add the /java directory on the end https://github.com/DSpace/DSpace/tree/master/dspace/modules/xmlui/src/main/java for code that should be associated with the dspace-jspui (view) you'll need to add the /java directory on the end https://github.com/DSpace/DSpace/tree/master/dspace/modules/jspui/src Cheers, Mark -- [image: @mire Inc.] *Mark Diggory *(Schedule a Meeting https://tungle.me/markdiggory) *2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010* *Esperantolaan 4, Heverlee 3001, Belgium* http://www.atmire.com -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d___ 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] Using Maven Overlays to customize Submission Process
Yes Robin, that make sense. Thanks you all! 2012/6/12 Mark Diggory mdigg...@atmire.com On Tue, Jun 12, 2012 at 6:38 AM, helix84 heli...@centrum.sk wrote: On Tue, Jun 12, 2012 at 3:19 PM, César Sabater csaba...@unr.edu.ar wrote: I was trying to create a new item-submission step but a concern came to me about were should I place the API processing class of the step. Since there's no folder inside [ds-src]/dspace/modules that corresponds to dspace-api changes. Should I create a class in [ds-src]/dspace-api/src/main/java/org/dspace/submit/step and recompile dspace entirely? I think it should go to [dspace-src]/dspace/modules/additions/ but don't take my word for it, you'll have to try it. This will be the new place to put such classes for dspace 3.0 for code that should be associated with dspace-api (submission step) https://github.com/DSpace/DSpace/tree/master/dspace/modules/additions/src/main/java for code that should be associated with the dspace-xmlui (view) you'll need to add the /java directory on the end https://github.com/DSpace/DSpace/tree/master/dspace/modules/xmlui/src/main/java for code that should be associated with the dspace-jspui (view) you'll need to add the /java directory on the end https://github.com/DSpace/DSpace/tree/master/dspace/modules/jspui/src Cheers, Mark -- [image: @mire Inc.] *Mark Diggory *(Schedule a Meeting https://tungle.me/markdiggory) *2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010* *Esperantolaan 4, Heverlee 3001, Belgium* http://www.atmire.com -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Using Maven Overlays to customize Submission Process
Hi All, I was trying to create a new item-submission step but a concern came to me about were should I place the API processing class of the step. Since there's no folder inside [ds-src]/dspace/modules that corresponds to dspace-api changes. Should I create a class in [ds-src]/dspace-api/src/main/java/org/dspace/submit/step and recompile dspace entirely? Thanks in advance! César -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Using Maven Overlays to customize Submission Process
On Tue, Jun 12, 2012 at 6:38 AM, helix84 heli...@centrum.sk wrote: On Tue, Jun 12, 2012 at 3:19 PM, César Sabater csaba...@unr.edu.ar wrote: I was trying to create a new item-submission step but a concern came to me about were should I place the API processing class of the step. Since there's no folder inside [ds-src]/dspace/modules that corresponds to dspace-api changes. Should I create a class in [ds-src]/dspace-api/src/main/java/org/dspace/submit/step and recompile dspace entirely? I think it should go to [dspace-src]/dspace/modules/additions/ but don't take my word for it, you'll have to try it. This will be the new place to put such classes for dspace 3.0 for code that should be associated with dspace-api (submission step) https://github.com/DSpace/DSpace/tree/master/dspace/modules/additions/src/main/java for code that should be associated with the dspace-xmlui (view) you'll need to add the /java directory on the end https://github.com/DSpace/DSpace/tree/master/dspace/modules/xmlui/src/main/java for code that should be associated with the dspace-jspui (view) you'll need to add the /java directory on the end https://github.com/DSpace/DSpace/tree/master/dspace/modules/jspui/src Cheers, Mark -- [image: @mire Inc.] *Mark Diggory *(Schedule a Meeting https://tungle.me/markdiggory) *2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010* *Esperantolaan 4, Heverlee 3001, Belgium* http://www.atmire.com -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech