Hi all,

I'm working on adding a new functionality into DSpace. To do so, I need to 
create a new page for xmlui. I was able to achieve that by making changes 
directly into dspace-xmlui-api; both the java source code part and the 
sitemap.xmap in resources/aspects/...

However, I would like to know if it's possible to separate my code into a new 
module. I think I should be able to do this using maven but I never had 
experiences with maven before. I tried a bit and I encountered a problem below:

  -  My new module (let's call it custom-module) depends on dspace-xmlui-api 
since I needed to extend some classes.
  -  dspace-xmlui-api doesn't need custom-module to compile at all. However, 
sitemap.xmap under aspects needs to call a transformer which is in 
custom-module.

So in the end dspace-xmlui-api also depends on custom-module which leads to 
circular dependency and so causes the build process to fail.

I'm sorry the description is very long. I would like to know if it's possible 
to separate my code into another module to avoid modifying the original code 
completely (or almost). If so, do you have any suggestions?

Thanks a lot! Any help is appreciated.

Regards,
Dittawit, K.



      
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to