Title: Message Title
|
|
Issue Type:
|
Bug
|
Affects Versions:
|
4.0
|
Assignee:
|
Unassigned
|
Components:
|
JSPUI
|
Created:
|
04/Mar/14 4:19 PM
|
Environment:
|
Ubuntu server 12.04, java jdk 7, tomcat 7, maven 3 as required by dspace4
|
Priority:
|
Minor
|
Reporter:
|
Adam Fónagy
|
|
The Veterinary Science Library, Archives and Museum of Szent Istvan University at Budapest, Hungary operates a DSpace instance (www.huveta.hu) that is being upgraded to DSpace 4. Earlier it was v1.8.2 that could be updated to v3.2. In both versions I could solve to customize the tag that shows an item (itemtag.java). I compiled the DSpace JSP-UI module of main project in NetBeans and overwrited the dspace-jspui-x.x[.x].jar. Now in DSpace 4 it does not work. I cannot compile my customization into the jspui jars. I tried in NetBeans as well as on server site by downloading the source of DSpace, merging my changes into the code and compiling as it is written in DSpace documentation. Finally the new DSpace operates fine but my customizing has no effect on the rendered html page. Exactly my customized jps files were involved during the compilation, because the HuVetA layout can be seen. Here is a step-by-step scenario what I followed 1, I downloaded the dspace-4.0-src-release.zip 2, unpacked the zip 3, merged my custom code into dspace-4.0-src-release/dspace-jspui/src/main/java/org/dspace/app/webui/jsptag/ItemTag.java file 4, I set the enviornment parameters in dspace-4.0-src-release/build.properties 5, I merged all the config settings from the production DSpace into the config directory (dspace-4.0-src-release/dspace/config/*). 6, from the dspace-4.0-src-release directory I run "mvn -U clean package". There was no error message 7, from the dspace-4.0-src-release/dspace/target/dspace-4.0-build directory I run "ant update" I don't know Maven and Ant well but I guess the problem with these. I think this because of this highlighted part of DSpace 4 upgrade docs: "In the DSpace 4.0 release, the above "mvn -U clean package" command must be run from the root source directory (i.e. [dspace-source]), otherwise you will receive build errors."
|
|
|
|
|
|
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries. Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel