Hi Sue,
Java source code for JSPUI should be in
[dspace-source]/dspace-jspui/dspace-jspui-api -- however, PDFFilter.java lives
in the main API, at
[dspace-source]/dspace-api/src/main/java/org/dspace/app/mediafilter/ so it’s
not technically a JSPUI change you’re making. You can patch the PDFFilter.java
in that directory, or replace it with your own (after backing the original up,
of course!) to make changes to the way org.dspace.app.mediafilter.PDFFilter
works.
Once you’ve rebuilt, assuming that’s the only change you’ve made, the only
changed jar should be dspace-api-1.5.1.jar (or named something similar).
If you want to find this jar, it will be copied over to
[dspace-source]/dspace/target/[build.dir]/webapps/jspui/WEB-INF/lib during the
Maven build, and into your [dspace]/webapps/jspui/WEB-INF/lib and [dspace]/lib
folders if you install with ant update_code and ant update_webapps.
Hope this helps!
Cheers,
Kim
--
Kim Shepherd
IRR Technical Specialist
ITS Systems & Development
The University of Waikato
DDI +64 7 838 4025
From: Thornton, Susan M. (LARC-B702)[NCI INFORMATION SYSTEMS]
[mailto:[email protected]]
Sent: Wednesday, 4 February 2009 9:02 a.m.
To: [email protected]
Subject: [Dspace-tech] Local modifications to DSpace .java programs, in 1.5.1
Where do I put .java programs that I’m going to make local modifications to, in
DSpace 1.5.1? I am putting the .jsps in:
/export/home/dspace-1.5.1-src-release/dspace/modules/jspui/src/main/webapp……
/image or /layout….etc.
Where would I put our modified PDFFilter.java so that when I assemble/compile
our application, the modified .class or .jar file ends up in
/dspace/webapps……?? ??
Thanks,
Sue
Sue Walker-Thornton
ConITS Contract
NASA Langley Research Center
Integrated Library Systems Application & Database Administrator
130 Research Drive
Hampton, VA 23666
Office: (757) 224-4074
Fax: (757) 224-4001
Pager: (757) 988-2547
Email: [email protected] <mailto:[email protected]>
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech