Ok, lets walk through your process and verify we are not missing details.
place your Bitstream.java in
[dspace-1.5.2-src-release]/dspace/modules/jspui/src/main/java/org/dspace/content/Bitstream.java
cd [dspace-1.5.2-src-release]/dspace
mvn clean package
ls -a
-l
[dspace-1.5.2-src-release]/dspace/target/dspace-1.5.2-build.dir/webapps/jspui/WEB-INF/classes/org/dspace/content/
This should be where your replaced Bitstream.java shows up as a compiled
Bitstream.class. I just copied and ran a build test doing this with dspace
1.5.2 successfully.
Mark
On Tue, Jul 7, 2009 at 9:08 AM, George Kozak <g...@cornell.edu> wrote:
> Mark:
>
> No, they are not in the classes directories. What do I need to do to get
> them there? Thanks!
>
>
> Mark Diggory wrote:
>
> Hi George,
>
> On Tue, Jul 7, 2009 at 7:30 AM, George Kozak<g...@cornell.edu>
> <g...@cornell.edu> wrote:
>
>
> I went to
> [dspace-1.5.2-src-release]/dspace/modules/jspui/src/main/java/org/dspace/
>
> I put in my own versions of app/webui/serlvet/BitstreamServlet.java
> and content/Bitstream.java
>
> I ran "mvn package" and then "ant -Dconfig=[dspace
> main]/config/dspace.cfg update"
> and copied the new webapps over to Tomcat.
>
>
> Can you verify if your classes have shown up in the following locations?
>
> [dspace-1.5.2-src-release]/dspace/modules/jspui/target/jspui-1.5.2/WEB-INF/classes/
>
> [dspace-1.5.2-src-release]/dspace/target/dspace-release-1.5.2/webapps/jspui/WEB-INF/classes/
>
> They need to show up in the "classes" directory to override those in
> the dspace-jspui-api jar.
>
> Cheers,
> Mark
>
>
>
>
> --
> ***************************
> George Kozak
> Digital Library Specialist
> Division of Library Information Technologies (DLIT), Digital Media Group
> 501 Olin Library
> Cornell University
> 607-255-8924
> ***************************g...@cornell.edu
>
>
--
Mark R. Diggory
@mire - http://www.atmire.com
------------------------------------------------------------------------------
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/blackberry
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech