On Thu, Aug 9, 2012 at 6:24 PM, Darren Arsenault <[email protected]> wrote: > I am having trouble determining the best way to alter the API code. When > making alterations to the JSPs I simply place the modified JSP files in > [dspace-source]/modules/jspui. Then I run "mvn clean package" to re-package > the target, and "ant update" from the target to update [dspace]/webapps. Is > there a similar process for making changes to the API code?
Hi Darren, I see nobody replied to your question yet. I don't have the answer, but I can tell you that you're using the right procedure and it should work (both for modules and for any other source changes including dspace-api). One thing I can think of is that there are several ways to set up how Tomcat finds the webapps and one of them (well, the default) is that Tomcat doesn't look in [dspace]/webapps, but in its own webapps directory, so you might have to copy the .war files over manually (ant update reminds you of this). But if you're using <Context> elements in server.xml or in context fragment files, it looks in the path specified by the docBase attribute, which you should have pointed to [dspace]/webapps/... I also faintly remember that symlinking the Tomcat's webapps directory to [dspace]/webapps didn't work for me. Regards, ~~helix84 ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

